Hi Paul.

For moving:
you can use lite_set_window_bounds(), which will do MoveTo if width/height are unchanged.
In principle, need to call DirectFB-functions is a hole in the LiTE API.

For performance:
every LiTE window has a back buffer, so if you move the window, it will not generate a 'client redraw'. However, DirectFB does not do a bitblt internally on the display layer, but requests a new copy of this back buffer to the display layer. This avoids complex updates when you e.g. move a covered window. The update speed depends a bit on how this copying is done, depending on your system this might be hardware or software, and again depending, you might avoid this by changing the memory allocation scheme (e.g. increase the video buffer size, if available).

Greets
Niels

Paul Eipper wrote:
Hi,

I'm trying to move lite windows programatically, and it seems there is
no LiTE function for this (?), is it correct to assume I must call the
underlying DFBWindow Move/MoveTo functions to achieve that?

I had some performance problems with raw MoveTo, how is the moving
done on DFB? Should I set some draw/blit flags before moving?

regards,


--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
LiTE mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/lite

Reply via email to