On Fri, Jan 28, 2011 at 12:45 AM, kumar vemuri <[email protected]> wrote: > Hi, > > Am new to linux graphics driver dev and is my spare time project. > Can someone answer some fundamental questions. > > Its regarding the 2D device dependent driver <device_drv.so>. > > a. My understanding is that this driver is needed for GPU accelerated 2D > rendering also. Hence its needed even if DRI is not enabled for 3D. Its > basically the 2D driver for the GPU. Is my understanding correct? >
yes. > b. What are the functions that need to be implemented by this driver? Is > there a header file that is exported by the device independent part of > Xserver which lists all the functions that <device_drv.so> needs to > support? As Alan suggested, take a look at the design doc: http://www.x.org/releases/X11R7.6/doc/xorg-server/DESIGN.html It's a bit outdated, but should give you a general idea. > > c. Any suggestions on how to start writing this 2D driver will certainly > be helpful. > look at an existing driver for reference. See xorg/driver/xf86-video-* on http://cgit.freedesktop.org/ Alex > Thanks > K > _______________________________________________ > [email protected]: X.Org development > Archives: http://lists.x.org/archives/xorg-devel > Info: http://lists.x.org/mailman/listinfo/xorg-devel > _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
