login
Header Space

 
 

How to Hook a Xserver Functions and Structures..?

August 22, 2005 - 6:09am
Submitted by prakash07 on August 22, 2005 - 6:09am.

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

September 13, 2005 - 9:49am
KM (not verified)

Buddy, it seems I'm on the right track, coz I independently arrived at your query :)

Look into XAA

October 3, 2005 - 4:36pm

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.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
speck-geostationary