On Wed, Mar 02, 2005 at 07:34:07PM +0000, Tony Houghton wrote:
> In <[EMAIL PROTECTED]>, Ville Syrj�l� wrote:
> 
> > On Mon, Feb 28, 2005 at 10:41:39PM +0000, Tony Houghton wrote:
> > > 
> > > The attached demonstrates both problems for me. I also noticed that the
> > > Clear operation doesn't quite work properly either (with or without the
> > > subsequent operations commented out): it leaves a grey rectangle across
> > > the width of the screne at the bottom, with small darker dashes in it, a
> > > bit like the way the other rectangles are drawn. I didn't describe that
> > > problem very well BTW. What happens is, instead of neat rectangles with
> > > a gap either side, they take up the whole width of the screen, but at
> > > (approximately) the correct height, and they have small dashes of the
> > > background colour in them, arranged in a diagonal pattern.
> > 
> > The program works perfectly for me. What pixelformat are you using? With 
> > YUV formats the font won't be displayed but the rectangles do get filled.
> 
> I just used the default pixel format, so it could have been YUV on the
> Matrox's TV layer.

YUY2 is the default.

> I think someone told me that's the only format that
> works with it in VDR's softdevice plugin. There's all sorts of
> complicated stuff about different layers :-(.
> 
> > One thing that might break the rectangle filling is if you force 
> > matrox-sgram on a card with SDRAM. But that should not affect the font.
> 
> I don't think I've done that. Is there anything that's changed between
> .21 and .22 that could possibly cause it?

Well I did add YUY2 FillRectangle() support the matrox driver. However it 
works perfectly here. Just to eliminate that you could try the app with 
the no-hardware option. You can also try other pixelformats and see if 
that changes something (at least the text should appear with RGB formats).

> Probably Matrox TV-specific if
> you're not affected.

I tested your code on a Matrox G400. Works with every pixelformat on every 
layer with or without hw accel. I did discover a bug in the software 
accel code though, YV12 has inverted colors. Time to fix that...

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

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

Reply via email to