Denis I have implemented the gfxdriver and a special system module to do reads/writes from the surface created by our usb hardware.
But we still have a question on primary screens and to register a layer on it from our system module. I see that some system modules create the screen and register a primary layer. registering forĀ screen functions is understandable (Especially returning the screen size and supporting power modes), But what would be the main purpose of creating a primary layer on top of the screen? Thanks -james --- On Thu, 9/25/08, Denis Oliver Kropp <[EMAIL PROTECTED]> wrote: From: Denis Oliver Kropp <[EMAIL PROTECTED]> Subject: Re: [directfb-dev] New gfxdriver for USB 2D Acceleration engine To: [EMAIL PROTECTED] Cc: directfb-dev@directfb.org Date: Thursday, September 25, 2008, 9:20 PM Denis Oliver Kropp wrote: > James Dickson II wrote: >> Thanks and yes the usb memory cannot be directly accessed by the cpu. We have to implement bulk transfer. >> I will investigate the system module. I spent quite a bit on the gfxdrivers and have a clear idea on this. >> Can you let me know which system module should i use as a reference code for this implementation. > > Have a look at the GLX Surface Pool implementation with the Read/Write() hooks in the X11 system module > which is in system/x11/glx_surface_pool.c in git master branch. > > This is basically what you need which differs from any other system module or driver. For the rest you > can look at the Davinci driver's OSD Layer and maybe OSD Pool implementation to extract the common parts > from the GLX specifics. I forgot to mention the gfxdrivers/gl/ code which uses the GLX Surface Pool allocations for acceleration. -- Best regards, Denis Oliver Kropp ..------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev