According to the specification, glXQueryContext() for attribute GLX_RENDER_TYPE should return (through 'value') type of rendering, supporting by context. Notably, GLX_RGBA_TYPE of GLX_COLOR_INDEX_TYPE. But for simple context, created with GLX_RGBA_TYPE(from GLXFBConfig with the same parameter), glXQueryContext() returns 1, which is neither GLX_RGBA_TYPE constant, nor GLX_COLOR_INDEX_TYPE. Was tested on different Linux's and platforms.
Created attachment 29947 [details] [review] patch for glx Here's a patch that fixes the issue. Ian, can you take a quick look at this before I commit it?
(In reply to comment #1) > Created an attachment (id=29947) [details] > patch for glx > > Here's a patch that fixes the issue. > > Ian, can you take a quick look at this before I commit it? > That patch looks good. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
patch applied to 7.6 branch. commit 521e4b9b7e3c79e7362f7cbd594a2e8cf74cdfe4
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.