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