From: Adam Jackson Date: Fri, 9 Nov 2018 16:27:27 +0000 (-0500) Subject: specs: Remove GLES profile interaction text from GLX_MESA_query_renderer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c63c391756eca8f84bf15758f89b88c84d831498;p=mesa.git specs: Remove GLES profile interaction text from GLX_MESA_query_renderer In one place we say, if GLES isn't supported then the profile version will be 0.0. Then later we say, if the GLES profile extension isn't supported then GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA is not mentioned in the spec. A strict reading of the latter would mean that GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA is not a recognized token, and the query should instead return False. The implementation does not check for the GLES profile extensions, and the additional complexity doesn't seem worth it. Removing the interaction text makes the spec match the implementation. Reviewed-by: Emil Velikov Signed-off-by: Adam Jackson --- diff --git a/docs/specs/MESA_query_renderer.spec b/docs/specs/MESA_query_renderer.spec index dd45e02ba50..3b4a445cf88 100644 --- a/docs/specs/MESA_query_renderer.spec +++ b/docs/specs/MESA_query_renderer.spec @@ -32,9 +32,6 @@ Dependencies GLX_ARB_create_context and GLX_ARB_create_context_profile are required. - This extension interacts with GLX_EXT_create_context_es2_profile and - GLX_EXT_create_context_es_profile. - Overview In many situations, applications want to detect characteristics of a @@ -220,15 +217,6 @@ Additions to the GLX 1.4 Specification * If the value of GLX_RENDERER_ID_MESA specifies a non-existent renderer, BadMatch is generated. -Dependencies on GLX_EXT_create_context_es_profile and -GLX_EXT_create_context_es2_profile - - If neither extension is supported, remove all mention of - GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA from the spec. - - If GLX_EXT_create_context_es_profile is not supported, remove all mention of - GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA from the spec. - Issues 1) How should the difference between on-card and GART memory be exposed?