On Fri, Apr 23, 2004 at 08:20:43PM +0200, Kristof Pelckmans wrote: > Hello, > > When I try and run the following program on my Matrox G450 using CVS version > (before major restructuring) and the 2.6 fbdev I get a non deterministic > behaviour : each time I get a different output (but never what I want :-( ). > > I have the impression that the fbdev could be causing this, or am I just > writing wrong code ? Could someone with a Matrox card try this out ?
<snip> > conf.flags = (DFBDisplayLayerConfigFlags)(DLCONF_BUFFERMODE | > DLCONF_PIXELFORMAT); > conf.buffermode = DLBM_BACKVIDEO; > conf.pixelformat = DSPF_I420; > DFBCHECK (secondaryLayer->SetConfiguration(secondaryLayer, &conf)); > DFBCHECK (secondaryLayer->GetSurface(secondaryLayer, > &secondarySurface)); > DFBCHECK (secondarySurface->GetSize (secondarySurface, &screen_width, > &screen_height)); > DFBCHECK (secondarySurface->SetDrawingFlags(secondarySurface, > DSDRAW_BLEND)); Blending doesn't work with YUV formats. -- Ville Syrj�l� [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
