We use directfb 1.1.2 on the davinci in 24 bit mode on vid1. Not all demos
worked, but the colors are correct.
I have attached the patch.
Craig
On Saturday 27 June 2009 4:39:58 am Deepak Mundra wrote:
> Dear all
>
> I have cross compiled directfb 1.4.0 for davinci.. But gfxdriver by
> default uses fb0 which is 16 bit RGB .. I changed gfxdriver files such that
> it uses fb1 (vid0 layer which can be set as 24 bit RGB) but still result is
> not good.. i am able tor run few examples but color issue.. please
> help/guide me in this issue
>
> Thanks
> Deepak
>
--
Craig Matsuura - Principal Engineer
Control4
11734 South Election Road - Suite 200
Salt Lake City, UT 84020-6432
PH: 801-523-3161
FX: 801-523-3199
--- DirectFB-1.1.1.orig/systems/fbdev/fbdev.c.orig 2008-02-18 01:10:19.000000000 -0700
+++ DirectFB-1.1.1/systems/fbdev/fbdev.c 2008-02-18 01:10:41.000000000 -0700
@@ -1507,6 +1507,8 @@
case 24:
if (dfb_fbdev_compatible_format( var, 0, 8, 8, 8, 0, 16, 8, 0 ))
return DSPF_RGB24;
+ if (dfb_fbdev_compatible_format( var, 0, 8, 8, 8, 0, 0, 8, 16 ))
+ return DSPF_RGB24;
break;
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users