GLX/DRI resource management

Michel Dänzer michel at
Tue Sep 25 11:12:20 PDT 2007

Hi José,

> I'm updating Glucose to catch up with your change to xserver to make
> sure DRI drawables are cleaned up when client dies
> (4abd00dab7e648dab8172f6009371e4e63d0c521), where you pass the GLX
> client  in the global __pGlxClient variable. The problem is that
> when glucose creates drawables there is no GLX client (or the client
> is the X server itself, if you prefer), so __pGlxClient is null or
> junk.
> I'm wondering what's the best way to do it:
> a) Create a ClientPtr for X server.

There already is one, called serverClient. If that works for glucose,
it's probably the best solution.

Earthling Michel Dänzer           |
Libre software enthusiast         |          Debian, X and DRI developer

More information about the xorg mailing list