> >  So, would it not be possible to use the display structure to store a
> >  "changed" flag which is set whenever the corresponding image data is
> >  changed? This way, when looping through the displays one could just flush 
> >  the screens that are changed.
>  
> The X server (XGGI) uses direct access to the buffers, so you never
> know when it has changed something or not.  The only solution is to
> make a smarter X server.

Yes basically, though a possible workaround would be to use some kind of 
checksumming procedure that would try to autodetect the changed regions.

Not exactly an elegant solution, but a possible workaround. (Remote control 
software for Windoze uses this technique).

The idea would be to make checksums over the rows and columns when blitting 
and comparing current results with the last results. This will result in
a rectangle that needs to be updated by leaving all lines alone that have not 
changed and only changing thouse columns that have changes.
Stuff like cursor movement should then only cause very little refresh.

CU, Andy

-- 
Andreas Beck              |  Email :  <[EMAIL PROTECTED]>

Reply via email to