I've been looking into the sources and modifed a little, and found out that I can have a different pixelformat in a window than the display layer. Unless I've overlooked something in the API there currently isn't a way to sepecify this. I really need this feature with my videoprovider (getting YV12, I420, UYVY or YUY2). If none else will try to get this in I'll do my best and send a patch :)
Hallvar Helleseth * Hallvar Helleseth ([EMAIL PROTECTED]) wrote: > I was wondering how it's possible to set a window's surface pixelformat, > or does it have to be same pixelformat as the display layer? I think I'm > a bit confused about all of this... > A DFBWindowDescription doesn't have the pixelformat you'd like when you > CreateWindow. > > Also is it possible for a sub surface to have a different pixelformat than > its mother surface ? > > Thanks for all your help once again :) > > Regards Hallvar Helleseth > > > -- > Info: To unsubscribe send a mail to [EMAIL PROTECTED] with > "unsubscribe directfb-dev" as subject. > > -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
