On Wed, Oct 05, 2005 at 10:45:20AM -0700, Nathanael D. Noblet wrote:
> Hello,
>     So I'm working on a simple kiosk style app. There is a background
> and in the foreground are images and text. Pretty simple. The text needs
> to scroll, which it does. Everything is working, however I'm wondering
> about layers. I don't fully understand them, but I'm wondering if the
> following explanation is correct.
> 
> 
> If I were to setup the application and it had two layers, could I get an
> interface to the lower & higher layers and draw to them independently
> and DirectFB would deal with flipping if/when either changed (not saying
> I don't call flip), but for example, if the background never changes,
> and I draw clear the top layer and redraw it, then call flip, it'll show
> properly without me having to redraw the bottom layer as well? Is that
> how they work?

Basically yes. But remember that layers are hardware specific so if you 
want your app to run on all hardware you can't just assume the layers 
support all the features you need or that you even have additional layers 
in the first place.

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to