OSDN Git Service

glx: Store the value of renderType while creating context
authorTomasz Lis <tomasz.lis@intel.com>
Wed, 17 Jul 2013 11:49:14 +0000 (13:49 +0200)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 18 Jul 2013 23:03:42 +0000 (16:03 -0700)
commit36259a16fe9b1ab60c7cb4fbf41077fb480a2bec
tree1d75497e5e714945f30ec500cf5b2ce5a5e643d7
parent7791c9869b233e45a9089eae124dc9aa4f4e519a
glx: Store the value of renderType while creating context

Make sure that renderType property value is stored in GLX context while
it's being created.  Further patches will be provided to make the value
correspond to fbconfig's renderType.

v2 (idr): Move a hunk from the next patch to this patch to prevent a
build break.

Signed-off-by: Tomasz Lis <tomasz.lis@intel.com>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/dri2_glx.c
src/glx/dri_glx.c
src/glx/drisw_glx.c
src/glx/glxcmds.c