Hi All
I am in need of hooking some function calls and Structures in Xserver ,inorder to take control of drawing functions such as miCopyArea,miRegionCopy... and some main Xserver Structures like ScreenInfo and GC. Is it possible to hook these functions at xserver level or do anybody have an idea about taking control of these functions.
if yes then please guide me how to hook a function calls ?
Thanks in Advance
prakashv
X-server hooking
Buddy, it seems I'm on the right track, coz I independently arrived at your query :)
Look into XAA
There's a standard way to do this for X11. You can find this if you look for, for example, Sun's X11 ddk.
But X.org also has another layer of abstraction in there to make things even easier. I believe it's still called XAA.