On Wed, May 10, 2006 at 05:04:59PM +0100, Jason BARSTOW wrote: > > > > > SetLevel( ) is a level with respect to the primary - so -1 is immediately > below the primary and +1 is immediately above. Is that correct?
Yes. > I'm trying to understand how the blending characteristic of the primary is > set - how to retrieve a layer interface for the primary? Same as any other layer, GetDisplayLayer(). > Mmm, the sample I'm working from happens to create a surface directly with > DSCAPS_PRIMARY. That's a bad sample for layers. You should only use DSCAPS_PRIMARY with very simple apps. > Is it true that I can pass this same CAP via DFBDisplayLayerConfig and > SetConfiguration, and that it's valid to retrieve a Layer interface for the > primary in this way? No. You use GetDisplayLayer() with DLID_PRIMARY. > What does it mean to SetLevel on the primary? (is it valid?) I suppose it depends on the hardware and driver. I don't have hardware that supports layer levels so I haven't really thought about it. Now that I do, I think the current code isn't quite sufficient for hardware with more that one overlay or underlay. We can control how they relate to the primary layer but their relation to each other is not handled... -- 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
