GLX_EXT_include_inferiors (was Re: compiz on aiglx)

Kristian Høgsberg krh at
Fri Mar 10 07:47:46 PST 2006

Kristian Høgsberg wrote:
> James Jones wrote:
>> On Thursday 09 March 2006 12:23, Kristian Høgsberg wrote:
>>>   You could do something like:
>>>    static const int attribs[] = {
>>>      GLX_RENDER_TYPE,           GLX_RGBA_BIT,
>>>      ...
>>>      GLX_DOUBLEBUFFER,          GL_TRUE,
>>>      None
>>>    };
>>>    fbconfig = glXChooseFBConfig(dpy, scrnum, attribs, &num_configs);
>>>    ctx = glXCreateNewContext(dpy, fbconfig[0], renderType, NULL, False);
>>> to get a double buffered, include inferior gl context for the root
>>> window, without worrying about which visual the root window has been
>>> assigned.
>> This sounds reasonable.  Could you write up a quick extension spec for 
>> this?  I would rather not have all 3 methods.  If people really are 
>> interested in using the include inferiors method after an overlay 
>> window approach is available, it seems best to have it defined as an 
>> FBConfig as you suggest.  We chose an X option only because it was 
>> thought this would be a temporary solution during the transition period.
> I'll give that a shot.

Here's a first draft.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: GLX_EXT_include_inferiors.txt
Type: text/x-diff
Size: 3687 bytes
Desc: not available
URL: <>

More information about the xorg mailing list