MVallevand wrote: > On Feb 12, 2008 8:27 PM, Denis Oliver Kropp <[EMAIL PROTECTED]> wrote: >> You might wanna set the configuration, at least to set ARGB for transparency >> over video (assuming an STB kind of device). Please run dfbinfo. > > Thanks for the quick reply I will try the changes in just a bit Here > is the output from dfbinfo on what I want to use. I added info to find > the default pixelformat for myself.
Yes, there should be a way to query all supported formats. Using the pixel format index and a bit mask would be the simplest and enough for now. With 28(29) formats already I'd say this should be 64 bit at least. > Layer (00) OSD (primary layer) > Type: GRAPHICS > Caps: SURFACE ALPHACHANNEL FLICKER_FILTERING SRC_COLORKEY > GetPixel 418c04 > > Layer (01) BGND > Type: GRAPHICS Hmm, no VIDEO or STILL_PICTURE flag? No harm, but not good for automatic selection by middleware that tries to be generic and support a wide range of platforms. > Caps: SURFACE > GetPixel 200808 > >> Common mistake to use both primary surface and primary layer. > > I must say I am still not used to this concept. http://mail.directfb.org/pipermail/directfb-dev/2007-February/002734.html -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users