Writing Kdrive DDX driver
manisha salve
msalve at gmail.com
Thu Dec 13 23:27:24 PST 2007
Thanks Franco ,
One more query i have regarding Pixmap , Is pixmap nothing but Framebuffer
itself ???
I will give the program flow below with function name and file name:
main () dix/main.c
|
|
InitOutput () dix/main.c
|
|
KdInitOutput() hw/kdrive/src/kdrive.c
|
|
KdAddScreen() hw/kdrive/src/kdrive.c
|
|
AddScreen() hw/kdrive/src/kdrive.c
|
|
KdScreenInit() hw/kdrive/src/kdrive.c
|
|
fbFinishScreenInit() fb/fbscreen.c
|
|
miScreenInit() mi/miscrinit.c
|
|
miScreenDevPrivateInit() mi/miscrinit.c
{
In this function , Framebuffer addr is assigned to
screen->devPrivate
pScrInitParms->pbits = pbits;
pScrInitParms->width = width;
pScreen->devPrivate = (pointer)pScrInitParms;
}
pScreen->CreateScreenResources() dix/main.c
|
|
miCreateScreenResources mi/miscrinit.c
|
|
CreatePixmap()
|
|
ModifyPixmapHeader()
{
In this function , Pixmap->devPrivate.ptr = Framebuffer Addr;
then , pScreen->devPrivate = Pixmap;
}
More information about the xorg-arch
mailing list