> Currently, I am thinking that for my double/triple
> buffered layers I will not enable them until
> FlipRegion() is called on the associated surface, and
> for those configured as single buffered layers not
> until UpdateRegion() is called (since Flip() is not
> used).

Hi Timothy,

This is exactly how I implemented layers in our driver.
The layer visibility is set as pending when the layer is created - then on
a 'flip', 'set region' or 'update region' if it is still pending then it is
committed (made visible).
I can't comment on the correctness of this solution - other than to say it
seems to work ok here for directfb tests and gtk over dfb.
(this is dfb 0.9.24 btw).

HTH,
Jason Barstow,


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

Reply via email to