Functions/Entrypoints to be supported by XServer 2D driver.

Alex Deucher alexdeucher at
Thu Jan 27 23:20:22 PST 2011

On Fri, Jan 28, 2011 at 12:45 AM, kumar vemuri <kumar210in at> 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 <>.
> 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?


> 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 <> needs to
> support?

As Alan suggested, take a look at the design doc:
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


> Thanks
> K
> _______________________________________________
> xorg-devel at X.Org development
> Archives:
> Info:

More information about the xorg-devel mailing list