mesa/src
Nicolas Boichat 4f3f8bb59d egl/dri2: dri2_initialize: Do not reference-count TestOnly display
In the case where dri2_initialize is called with a TestOnly display,
the display is not actually initialized, so dri2_egl_display always
fails, and we cannot do any reference counting.

Fixes piglit spec@egl_khr_create_context@verify gl flavor (reproducible
with LIBGL_ALWAYS_SOFTWARE=1).

Fixes: 9ee683f877 (egl/dri2: Add reference count for dri2_egl_display)
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Reported-by: Michel Dänzer <michel@daenzer.net>
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2016-08-23 18:08:17 +01:00
..
compiler nir: avoid segfault when ssa src not found 2016-08-23 09:06:29 +10:00
egl egl/dri2: dri2_initialize: Do not reference-count TestOnly display 2016-08-23 18:08:17 +01:00
gallium vc4: Tell state_tracker that we would prefer NIR. 2016-08-22 12:11:08 -07:00
gbm gbm: Correct bo_import documentation (trivial) 2016-08-03 10:56:41 -07:00
getopt
glx glx: Don't use current context in __glXSendError 2016-08-17 17:16:34 +09:00
gtest Remove wrongly repeated words in comments 2016-06-23 13:55:03 -07:00
hgl
intel anv: Throw INCOMPATIBLE_DRIVER for non-fatal initialization errors 2016-08-22 18:49:49 -07:00
loader loader/dri3: Destroy Present event context when destroying drawable v2 2016-08-04 15:45:43 +09:00
mapi mesa: Document that _mesa_enum_to_string() returns non-null (v2) 2016-08-12 09:09:55 -07:00
mesa vbo: fix format string compiler warning for 32-bit machines 2016-08-23 07:31:28 -06:00
util util: add assert that key cannot be NULL on insertion 2016-08-22 07:37:55 +03:00
Makefile.am glsl: reuse main extension table to appropriately restrict extensions 2016-07-23 13:48:04 -04:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00