glx: Prepare driFetchDrawable for no-config contexts
authorAdam Jackson <ajax@redhat.com>
Tue, 14 Nov 2017 20:13:05 +0000 (15:13 -0500)
committerAdam Jackson <ajax@redhat.com>
Fri, 1 Dec 2017 20:53:52 +0000 (15:53 -0500)
commita48a6b8a400e6e92961cf7b7b4c287e8e9875f39
treec5693e5f74022bc174d2e62b14f189cfb9f8ebe9
parent75d5d22fb790d856809a9dd896ffc22a268d1d96
glx: Prepare driFetchDrawable for no-config contexts

When we look up the DRI drawable state we need to associate an fbconfig
with the drawable. With GLX_EXT_no_config_context we can no longer infer
that from the context and must instead query the server.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/dri_common.c
src/glx/glx_pbuffer.c
src/glx/glxclient.h