xserver/hw/xwin/glx
Adam Jackson 392da389d7 glx: Fix computation of GLX_X_RENDERABLE fbconfig attribute
>From the GLX spec:

    "GLX_X_RENDERABLE is a boolean indicating whether X can be used to
    render into a drawable created with the GLXFBConfig. This attribute
    is True if the GLXFBConfig supports GLX windows and/or pixmaps."

Every backend was setting this to true unconditionally, and then the
core ignored that value and sent true unconditionally on its own. This
is broken for ARB_fbconfig_float and EXT_fbconfig_packed_float, which
only apply to pbuffers, which are not renderable from non-GLX APIs.

Instead compute GLX_X_RENDERABLE from the supported drawable types. The
dri backends were getting _that_ wrong too, so fix that as well.

This is not a functional change, as there are no mesa drivers that claim
to support __DRI_ATTRIB_{UNSIGNED_,}FLOAT_BIT yet.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
2016-09-06 10:29:14 -04:00
..
.gitignore hw/xwin/glx: Update .gitignore 2014-08-29 13:49:08 +01:00
Makefile.am hw/xwin/glx: Rewrite WGL wrappers after Xserver conversion to direct GL dispatch 2013-12-10 17:00:06 +00:00
gen_gl_wrappers.py hw/xwin/glx: Improve code generator to deal with latest Khronos OpenGL registry XML 2015-03-16 16:35:19 +00:00
glshim.c hw/xwin: Fix warnings in glx/glshim.c 2014-10-09 16:31:25 +01:00
glthunk.c hw/xwin/glx: Rewrite WGL wrappers after Xserver conversion to direct GL dispatch 2013-12-10 17:00:06 +00:00
glwindows.h hw/xwin: Add an idempotency guard to glwindows.h 2014-08-29 13:40:26 +01:00
indirect.c glx: Fix computation of GLX_X_RENDERABLE fbconfig attribute 2016-09-06 10:29:14 -04:00
wgl_ext_api.c hw/xwin/glx: Don't spam log with wglwrap symbol resolution status at startup 2011-07-07 18:00:34 +01:00
wgl_ext_api.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
winpriv.c hw/xwin: printf format fixes for XID type 2015-07-07 16:52:26 +01:00
winpriv.h Cygwin/X: AIGLX using native WGL 2010-04-28 14:26:52 +01:00