[Mesa-dev] [PATCH 0/3] add KHR_debug for gles contexts

2014-10-29 Thread Matthew Waters
- rebase and resend. v3: - fix up the EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR check v2: - replace &= with |= - remove offset="assign" from the api xml Matthew Waters (3): egl: rework handling EGL_CONTEXT_FLAGS for ES debug contexts glapi: add function pointers for KHR_

[Mesa-dev] [PATCH 3/3] main/get: make KHR_debug enums available everywhere

2014-10-29 Thread Matthew Waters
From: Matthew Waters Although GL_CONTEXT_FLAGS is not explicitly added by KHR_debug, it contains, "It is implementation defined how much debug output is generated if the context was created without the CONTEXT_DEBUG_BIT set. This is a new query bit added to the exi

[Mesa-dev] [PATCH 1/3] egl: rework handling EGL_CONTEXT_FLAGS for ES debug contexts

2014-10-29 Thread Matthew Waters
From: Matthew Waters As of version 15 of the EGL_KHR_create_context spec, debug contexts are allowed for ES contexts. We should allow creation instead of erroring. Signed-off-by: Matthew Waters --- src/egl/main/eglcontext.c | 51 ++ src/mesa

[Mesa-dev] [PATCH 2/3] glapi: add function pointers for KHR_debug for gles

2014-10-29 Thread Matthew Waters
From: Matthew Waters Signed-off-by: Matthew Waters --- src/mapi/glapi/gen/KHR_debug.xml| 73 + src/mesa/main/extensions.c | 2 +- src/mesa/main/tests/dispatch_sanity.cpp | 25 +++ 3 files changed, 99 insertions(+), 1 deletion

Re: [Mesa-dev] [PATCH RESEND2 v3 0/3] add KHR_debug for gles contexts

2014-09-22 Thread Matthew Waters
Resend no2... On 31/08/14 20:21, Matthew Waters wrote: > v3: > - fix up the EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR check > > v2: > - replace &= with |= > - remove offset="assign" from the api xml > > Matthew Waters (3): > egl: rework handlin

[Mesa-dev] [PATCH v3 RESEND 0/3] add KHR_debug for gles contexts

2014-09-17 Thread Matthew Waters
Ping due to little review. v3: - fix up the EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR check v2: - replace &= with |= - remove offset="assign" from the api xml Matthew Waters (3): egl: rework handling EGL_CONTEXT_FLAGS for ES debug contexts glapi: add function pointers for

Re: [Mesa-dev] [PATCH v3 3/3] main/get: make KHR_debug enums available everywhere

2014-09-05 Thread Matthew Waters
tput stuff this should only need to be a one line patch. The movement is so that it is possible to glGet the parameters from gles contexts. Otherwise it fails with a GL error. > On Sun, 2014-08-31 at 20:21 +1000, Matthew Waters wrote: >> Although GL_CONTEXT_FLAGS is not explicitl

[Mesa-dev] [PATCH v3 3/3] main/get: make KHR_debug enums available everywhere

2014-08-31 Thread Matthew Waters
ecify whether the context was created with debug enabled." implying the GL_CONTEXT_FLAGS parameter is supported whenever KHR_debug is also supported. Signed-off-by: Matthew Waters --- src/mesa/main/get_hash_params.py | 24 1 file changed, 12 insertions(+), 12

[Mesa-dev] [PATCH v3 1/3] egl: rework handling EGL_CONTEXT_FLAGS for ES debug contexts

2014-08-31 Thread Matthew Waters
As of version 15 of the EGL_KHR_create_context spec, debug contexts are allowed for ES contexts. We should allow creation instead of erroring. Signed-off-by: Matthew Waters --- src/egl/main/eglcontext.c | 51 ++ src/mesa/drivers/dri/common

[Mesa-dev] [PATCH v3 2/3] glapi: add function pointers for KHR_debug for gles

2014-08-31 Thread Matthew Waters
Signed-off-by: Matthew Waters --- src/mapi/glapi/gen/KHR_debug.xml| 73 + src/mesa/main/extensions.c | 2 +- src/mesa/main/tests/dispatch_sanity.cpp | 25 +++ 3 files changed, 99 insertions(+), 1 deletion(-) diff --git a/src/mapi

[Mesa-dev] [PATCH v3 0/3] add KHR_debug for gles contexts

2014-08-31 Thread Matthew Waters
v3: - fix up the EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR check v2: - replace &= with |= - remove offset="assign" from the api xml Matthew Waters (3): egl: rework handling EGL_CONTEXT_FLAGS for ES debug contexts glapi: add function pointers for KHR_debug for gles

Re: [Mesa-dev] [PATCH 1/2] egl: rework handling EGL_CONTEXT_FLAGS for ES debug contexts

2014-08-29 Thread Matthew Waters
On 24/08/14 03:36, Ian Romanick wrote: > On 08/21/2014 03:02 AM, Matthew Waters wrote: >> As of version 15 of the EGL_KHR_create_context spec, debug contexts >> are allowed for ES contexts. We should allow creation instead of >> erroring. >> >> Signed-off-by: M

[Mesa-dev] [PATCH] main/get: make KHR_debug enums available everywhere

2014-08-29 Thread Matthew Waters
Although GL_CONTEXT_FLAGS is not explicitly added by KHR_debug, it contains, "It is implementation defined how much debug output is generated if the context was created without the CONTEXT_DEBUG_BIT set. This is a new query bit added to the existing GL_CONTEXT_FLAGS state to specify wh

[Mesa-dev] [PATCH v2 0/2] add KHR_debug for gles contexts

2014-08-29 Thread Matthew Waters
v2: - replace &= with |= - remove offset="assign" from the api xml Matthew Waters (2): egl: rework handling EGL_CONTEXT_FLAGS for ES debug contexts glapi: add function pointers for KHR_debug for gles src/egl/main/eglcontext.c | 50 +++--- src/

[Mesa-dev] [PATCH v2 1/2] egl: rework handling EGL_CONTEXT_FLAGS for ES debug contexts

2014-08-29 Thread Matthew Waters
As of version 15 of the EGL_KHR_create_context spec, debug contexts are allowed for ES contexts. We should allow creation instead of erroring. Signed-off-by: Matthew Waters --- src/egl/main/eglcontext.c | 50 ++ src/mesa/drivers/dri/common

[Mesa-dev] [PATCH v2 2/2] glapi: add function pointers for KHR_debug for gles

2014-08-29 Thread Matthew Waters
Signed-off-by: Matthew Waters --- src/mapi/glapi/gen/KHR_debug.xml| 73 + src/mesa/main/extensions.c | 2 +- src/mesa/main/tests/dispatch_sanity.cpp | 25 +++ 3 files changed, 99 insertions(+), 1 deletion(-) diff --git a/src/mapi

[Mesa-dev] [PATCH 0/2] add KHR_debug for gles contexts

2014-08-21 Thread Matthew Waters
Matthew Waters (2): egl: rework handling EGL_CONTEXT_FLAGS for ES debug contexts glapi: add function pointers for KHR_debug for gles src/egl/main/eglcontext.c | 50 +++--- src/mapi/glapi/gen/KHR_debug.xml| 73 + src/mesa

[Mesa-dev] [PATCH 1/2] egl: rework handling EGL_CONTEXT_FLAGS for ES debug contexts

2014-08-21 Thread Matthew Waters
As of version 15 of the EGL_KHR_create_context spec, debug contexts are allowed for ES contexts. We should allow creation instead of erroring. Signed-off-by: Matthew Waters --- src/egl/main/eglcontext.c | 50 ++ src/mesa/drivers/dri/common

[Mesa-dev] [PATCH 2/2] glapi: add function pointers for KHR_debug for gles

2014-08-21 Thread Matthew Waters
Signed-off-by: Matthew Waters --- src/mapi/glapi/gen/KHR_debug.xml| 73 + src/mesa/main/extensions.c | 2 +- src/mesa/main/tests/dispatch_sanity.cpp | 25 +++ 3 files changed, 99 insertions(+), 1 deletion(-) diff --git a/src/mapi