[gtkada] bitmap-handling with GtkAda

Preben Randhol randhol at pvv.org
Thu Nov 21 17:38:12 CET 2002


Karl Ran <karlran at hotmail.com> wrote on 21/11/2002 (17:30) :
> >>But it seems to me that your clock updates the whole bitmap every
> >>second.
> >>
> >>That's what I'm trying to avoid......somehow :-/
> 
> >Why?
> 
> Well, think of a BIG bitmap and a slooow connection from the program
> to the Xserver...

Well I think there is your bottleneck. Of course you can only draw parts
of the pixmap, but if you want the load to move from right to left you
have to redraw the whole map one way or the other. But why do you need a
big bitmap when you have slow connection? And perhaps it would be better
too look at either a non graphical implementation or slower updates. I
mean that the bitmap redraws only every 20 seconds or so?

-- 
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
                 «For me, Ada95 puts back the joy in programming.»




More information about the gtkada mailing list