[PATCH 2/2] glproto: Add define for GLX_EXT_create_context_es2_profile

Matt Turner mattst88 at gmail.com
Wed May 23 17:06:16 PDT 2012


On Wed, May 23, 2012 at 4:51 PM, Ian Romanick <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> ---
>  glxtokens.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/glxtokens.h b/glxtokens.h
> index cc4bca3..5e6bbea 100644
> --- a/glxtokens.h
> +++ b/glxtokens.h
> @@ -286,6 +286,7 @@ extern "C" {
>  /*
>  * GLX_ARB_create_context
>  * GLX_ARB_create_context_profile
> + * GLX_EXT_create_context_es2_profile
>  */
>  #define GLX_CONTEXT_MAJOR_VERSION_ARB      0x2091
>  #define GLX_CONTEXT_MINOR_VERSION_ARB      0x2092
> @@ -297,6 +298,7 @@ extern "C" {
>
>  #define GLX_CONTEXT_CORE_PROFILE_BIT_ARB   0x0001
>  #define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB   0x0002
> +#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT    0x0004
>
>  /*
>  * GLX_ARB_create_context_robustness
> --
> 1.7.6.5

Reviewed-by: Matt Turner <mattst88 at gmail.com>

Is there any significance to the number of leading zeros in definition
in http://www.opengl.org/registry/specs/EXT/glx_create_context_es2_profile.txt
?


More information about the xorg-devel mailing list