On Friday 25 April 2008 06:23, Alex Vazquez wrote: > The problem i have is that i don't know how to clear the surface of the > primary layer keeping the transparent effect over the video. The only way i > can clear the primary surface is doing a primary_srfc->Clear (primary_srfc, > 0, 0, 0, 255) but that way i can't see the video through the primary layer. > I guess it has something to do with the layer/surface configuration.
The way the display works the Davinci (pardon me if this is old news) your eyeball | v osd <-- affected by other osd layer | v video (I've left out the other video layer as it doesn't really work). This works, however, I had to change the second osd layer outside DFB. Long story short: I had an osd layer running with "holes" punched through it so that you could see the video. I believe the way your are going at it is incorrect. Think of the second osd layer as a WHOLE different FB (this is how T.I. implements it). The way we punched holes through the OSD layer was by NOT using DFB. (And, honestly, it isn't that hard to get a pointer to the second OSD framebuffer and make the changes yourself - just remember that they are 4 bit values). Hope some of this helps! Cheers, Lloyd _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users