X11, libglx.so, and GL screen capture programs

Adam Jackson ajax at nwnk.net
Thu Jun 1 07:14:59 PDT 2006


On Thursday 01 June 2006 07:58, Christian Parpart wrote:
> Hi all,
>
> I wanted to write an X11 screen catpure program, while XSHM served well for
> capturing plain X11 screens, it doesn't so well for GLX apps inside X11.
> So, I asked around, and got the hint to hook into glXSwapBuffers() - which
> is located in libglx.so - which means, I've to write my own libglx.so to
> forward all called into the real libglx.so I dlopen myself.
>
> That sounds cool, however, I now can't find a real GLX app being linked
> against libglx.so to test my lib on it. Neither cedega, nor glxgears or
> even glxinfo is linked against it.

That's because libglx.so is loaded by the server at runtime.  libGL.so is the 
client-side library.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20060601/6dd2d6be/attachment.pgp>


More information about the xorg mailing list