mesa/src
Kristian Høgsberg 38366c0c6e dri_util: Don't assume __DRIcontext->driverPrivate is a gl_context
The driverPrivate pointer is opaque to the driver and we can't assume
it's a struct gl_context in dri_util.c.  Instead provide a helper function
to set the struct gl_context flags from the incoming DRI context flags.

v2 (idr): Modify the other classic drivers to also use
driContextSetFlags.  I ran all the piglit GLX_ARB_create_context tests
with i965 and classic swrast without regressions.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> [v1]
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Ilia Mirkin <imirkin@alum.mit.edu> [v1 on Gallium nouveau]
Cc: "10.0" <mesa-stable@lists.freedesktop.org>
2013-12-13 08:19:50 -08:00
..
egl egl/wayland: Return -1 from get_back_bo to indicate error 2013-12-09 16:14:33 -08:00
gallium swrast* (gallium, classic): add MESA_copy_sub_buffer support (v3) 2013-12-13 14:37:01 +10:00
gbm gbm/dri: hide extension loader symbols 2013-11-25 13:13:47 +01:00
getopt
glsl glsl: modify ir_clone to use memcpy 2013-12-12 17:28:13 +02:00
glx swrast* (gallium, classic): add MESA_copy_sub_buffer support (v3) 2013-12-13 14:37:01 +10:00
gtest gtest: enable subdir-objects to prevent automake warnings 2013-11-16 14:01:27 +00:00
mapi glapi: Do not include dlfcn.h on Windows. 2013-12-07 14:31:01 -08:00
mesa dri_util: Don't assume __DRIcontext->driverPrivate is a gl_context 2013-12-13 08:19:50 -08:00
Makefile.am
SConscript