mesa/src/glx
Kenneth Graunke 68bccc40f5 glx/dri: Initialize reset to __DRI_CTX_RESET_NO_NOTIFICATION.
If the application has requested reset notification, then
dri2_convert_glx_attribs will initialize this to the correct value.

Otherwise, it's supposed to initialize this to NO_NOTIFICATION, but
doesn't when num_attribs == 0.  (The consensus seems to be that we
should make it do so, but that's more invasive, so I'm pushing this for
now.)

Fixes a regression since a8724d85f8
where trying to run OilRush_x86 or apitrace heaven_x64 would result in:

dri_util.c:221: dri2CreateContextAttribs: Assertion `!"Should not get
here."' failed.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53076
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2012-08-08 17:15:21 -07:00
..
apple automake: Globally add stub automake targets to the old Makefiles. 2012-06-11 09:28:00 -07:00
tests glx: Don't rely on struct _glapi_table 2012-08-08 10:06:26 -07:00
.gitignore mesa: Remove the generated glapi from source control, and just build it. 2012-05-29 11:51:57 -07:00
applegl_glx.c apple: Implement applegl_unbind_context 2011-10-24 16:21:28 -07:00
clientattrib.c
clientinfo.c mesa: Require current libxcb. 2012-07-12 12:29:12 -07:00
compsize.c Have __glImageSize handle format GL_DEPTH_STENCIL_NV the same way as the server does 2012-02-06 23:00:44 +00:00
create_context.c mesa: Require current libxcb. 2012-07-12 12:29:12 -07:00
dri2.c glx/dri2: Paper over errors in DRI2Connect when indirect 2011-08-05 10:11:05 -07:00
dri2.h
dri2_glx.c glx/dri: Initialize reset to __DRI_CTX_RESET_NO_NOTIFICATION. 2012-08-08 17:15:21 -07:00
dri_common.c glx/dri2: Add support for GLX_ARB_create_context_robustness 2012-07-11 08:54:50 -07:00
dri_common.h glx/dri2: Add support for GLX_ARB_create_context_robustness 2012-07-11 08:54:50 -07:00
dri_glx.c dri: Emit a critical error if a named driver fails to load. 2012-02-08 17:07:53 -08:00
drisw_glx.c glx/dri: Initialize reset to __DRI_CTX_RESET_NO_NOTIFICATION. 2012-08-08 17:15:21 -07:00
eval.c
glx_error.c glx: Deliver an xlib style error to the application from an XCB error 2011-12-23 08:40:30 -08:00
glx_error.h glx: Deliver an xlib style error to the application from an XCB error 2011-12-23 08:40:30 -08:00
glx_pbuffer.c GLX/DRI2: handle swap event swap count wrapping 2011-07-08 12:38:20 -07:00
glx_query.c
glxclient.h glx: Don't use glapitable.h at all 2012-08-08 10:06:26 -07:00
glxcmds.c Revert "Always build shared glapi" 2012-01-24 11:34:42 -05:00
glxconfig.c glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB. 2011-03-06 20:06:42 +10:00
glxconfig.h glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB. 2011-03-06 20:06:42 +10:00
glxcurrent.c glx: Fix compile. 2011-06-20 17:19:00 -07:00
glxext.c glx: Handle a null reply in QueryVersion. 2012-06-12 14:42:22 -07:00
glxextensions.c mesa: Require current libxcb. 2012-07-12 12:29:12 -07:00
glxextensions.h glx/dri2: Add support for GLX_ARB_create_context_robustness 2012-07-11 08:54:50 -07:00
glxhash.c
glxhash.h
indirect_glx.c glx: Implement glx_screen_vtable::create_context_attribs for indirect contexts 2012-01-02 12:41:44 -08:00
indirect_init.h
indirect_texture_compression.c
indirect_transpose_matrix.c
indirect_vertex_array.c glx: add const qualifiers to __indirect_glMultiDrawArraysEXT() 2010-09-14 11:01:03 -06:00
indirect_vertex_array.h
indirect_vertex_array_priv.h
indirect_vertex_program.c
indirect_window_pos.c
Makefile.am automake: Honor GL_LIB for mangled/custom lib names 2012-07-23 22:34:13 -07:00
packrender.h
packsingle.h
pixel.c
pixelstore.c
render2.c
renderpix.c glx: Remove (unused, broken) fastImageUnpack fast path 2011-06-02 15:37:22 -04:00
SConscript scons: Also require recent XCB. 2012-07-12 21:13:10 +01:00
single2.c glx: Don't use glapitable.h at all 2012-08-08 10:06:26 -07:00
singlepix.c glx: Don't use glapitable.h at all 2012-08-08 10:06:26 -07:00
vertarr.c
XF86dri.c
xf86dri.h
xf86dristr.h
xfont.c