Ville Syrjälä wrote:
On Tue, Nov 01, 2005 at 01:48:43PM +0100, Julien Moutte wrote:

I am inspecting every available layer and check their buffer mode. The
radeon overlay layer has no backbuffer so i m not using flip when
blitting to this primary surface.

It shows a light blue colored screen and reports no error.


I needed the following patch to actually see anything on my laptop with Radeon Mobility M6.

Index: radeon_overlay.c
===================================================================
RCS file: /cvs/directfb/DirectFB/gfxdrivers/radeon/radeon_overlay.c,v
retrieving revision 1.4
diff -u -r1.4 radeon_overlay.c
--- radeon_overlay.c    19 Jul 2005 08:53:22 -0000      1.4
+++ radeon_overlay.c    1 Nov 2005 12:49:07 -0000
@@ -359,7 +359,7 @@
     rov0->regs.GRPH_KEY_CLR_HIGH = rov0->regs.GRPH_KEY_CLR_LOW;


-    rov0->regs.DISP_MERGE_CONTROL = 0xffff0001;
+    rov0->regs.DISP_MERGE_CONTROL = 0xffff0000;
     rov0->regs.KEY_CNTL = 0;

     if (config->options & DLOP_SRC_COLORKEY) {

The radeon overlay code is a bit of mess. I started hacking on it at one point but then I couldn't get RGB output working and left it be. The r200 code looks somewhat better. I wonder if I should try to get the r200 driver running on my M6 instead. The r200 driver isn't perfect either bacause it's still ignoring some of the nice hardware features like the 4-tap filter, pixel accurate panning etc.


Unfortunately I've never got the 4-tap filter to work on my 9200SE.
Apparatenlty 4-tap registers belong only to R100 series.

--
Regards,
     Claudio Ciccani

[EMAIL PROTECTED]
http://directfb.org
http://sf.net/projects/php-directfb

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

Reply via email to