st/dri: Support EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR/GLX_CONTEXT_DEBUG_BIT_ARB on ES...
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 12 Nov 2014 12:13:42 +0000 (12:13 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 14 Nov 2014 16:10:22 +0000 (16:10 +0000)
commit7037793f6b565cbb03a46a63058b1d9a7a4b4bdf
tree394bdb27c183fd4275a5dbc5c778f1770096c036
parent363b53f00069af718f64cf047f19ad5681a8bf6d
st/dri: Support EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR/GLX_CONTEXT_DEBUG_BIT_ARB on ES contexts.

The latest version of the specs explicitly allow it, and given that Mesa
universally supports KHR_debug we should definitely support it.

Totally untested.  (Just happened to noticed this while implementing
GLX_EXT_create_context_es2_profile for st/xlib.)

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/state_trackers/dri/dri_context.c
src/mesa/drivers/dri/common/dri_util.c