From 4b37fa8581203dd69009b6e4d0704c33779e73e5 Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Thu, 18 Oct 2012 21:00:25 -0700 Subject: [PATCH] glapi: Annotate XML with desktop="false" for GLES-only functions. Future patches will use this annotation when code generating _mesa_create_exec_table(), to determine which functions should be skipped when the API is desktop GL. Reviewed-by: Jordan Justen Reviewed-by: Matt Turner --- src/mapi/glapi/gen/OES_fixed_point.xml | 8 +- src/mapi/glapi/gen/OES_single_precision.xml | 2 +- src/mapi/glapi/gen/es_EXT.xml | 20 ++--- src/mapi/glapi/gen/gl_API.dtd | 3 +- src/mapi/glapi/gen/gl_and_es_API.xml | 84 +++++++++++---------- 5 files changed, 60 insertions(+), 57 deletions(-) diff --git a/src/mapi/glapi/gen/OES_fixed_point.xml b/src/mapi/glapi/gen/OES_fixed_point.xml index 4996d353230..92e29b19acb 100644 --- a/src/mapi/glapi/gen/OES_fixed_point.xml +++ b/src/mapi/glapi/gen/OES_fixed_point.xml @@ -217,7 +217,7 @@ + es1="1.0" exec="es" desktop="false"> @@ -277,21 +277,21 @@ + es1="1.0" exec="check" desktop="false"> + es1="1.0" exec="check" desktop="false"> + es1="1.0" exec="check" desktop="false"> diff --git a/src/mapi/glapi/gen/OES_single_precision.xml b/src/mapi/glapi/gen/OES_single_precision.xml index 112e08f82c1..935aea81bf8 100644 --- a/src/mapi/glapi/gen/OES_single_precision.xml +++ b/src/mapi/glapi/gen/OES_single_precision.xml @@ -24,7 +24,7 @@ + es1="1.0" exec="es" desktop="false"> diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml index e86f2eda209..a78cec36790 100644 --- a/src/mapi/glapi/gen/es_EXT.xml +++ b/src/mapi/glapi/gen/es_EXT.xml @@ -73,7 +73,7 @@ + es1="1.0" desktop="false"> @@ -82,12 +82,12 @@ + es1="1.0" desktop="false"> + es1="1.0" desktop="false"> @@ -96,12 +96,12 @@ + es1="1.0" desktop="false"> + es1="1.0" desktop="false"> @@ -110,12 +110,12 @@ + es1="1.0" desktop="false"> + es1="1.0" exec="es" desktop="false"> @@ -124,7 +124,7 @@ + es1="1.0" exec="es" desktop="false"> @@ -343,7 +343,7 @@ + static_dispatch="false" es1="1.0" desktop="false"> @@ -359,7 +359,7 @@ + es1="1.0" exec="es" desktop="false"> diff --git a/src/mapi/glapi/gen/gl_API.dtd b/src/mapi/glapi/gen/gl_API.dtd index b07b6965c64..ab321fad0f8 100644 --- a/src/mapi/glapi/gen/gl_API.dtd +++ b/src/mapi/glapi/gen/gl_API.dtd @@ -39,7 +39,8 @@ es1 CDATA "none" es2 CDATA "none" deprecated CDATA "none" - exec NMTOKEN #IMPLIED> + exec NMTOKEN #IMPLIED + desktop (true | false) "true"> diff --git a/src/mapi/glapi/gen/gl_and_es_API.xml b/src/mapi/glapi/gen/gl_and_es_API.xml index 7495a2e56c7..205f74fa97e 100644 --- a/src/mapi/glapi/gen/gl_and_es_API.xml +++ b/src/mapi/glapi/gen/gl_and_es_API.xml @@ -19,13 +19,13 @@ + es1="1.0" desktop="false"> + es1="1.0" desktop="false"> @@ -33,12 +33,12 @@ + es1="1.0" desktop="false"> + es1="1.0" desktop="false"> @@ -46,23 +46,25 @@ + es1="1.0" desktop="false"> - + - + + es1="1.0" desktop="false"> @@ -72,62 +74,62 @@ + es1="1.0" desktop="false"> + static_dispatch="false" es1="1.0" desktop="false"> + es1="1.0" desktop="false"> + es1="1.0" desktop="false"> + es1="1.0" desktop="false"> + es1="1.0" desktop="false"> + es1="1.0" desktop="false"> + es1="1.0" desktop="false"> + es1="1.0" desktop="false"> + static_dispatch="false" es1="1.0" desktop="false"> @@ -136,14 +138,14 @@ + es1="1.0" desktop="false"> + es1="1.0" desktop="false"> @@ -153,18 +155,18 @@ + es1="1.0" desktop="false"> + static_dispatch="false" es1="1.0" desktop="false"> + es1="1.0" desktop="false"> @@ -172,41 +174,41 @@ + static_dispatch="false" es1="1.0" desktop="false"> + es1="1.0" desktop="false"> + es1="1.0" desktop="false"> + es1="1.0" desktop="false"> + static_dispatch="false" es1="1.0" desktop="false"> + es1="1.0" desktop="false"> @@ -214,7 +216,7 @@ + es1="1.0" desktop="false"> @@ -224,7 +226,7 @@ + es1="1.0" desktop="false"> @@ -237,7 +239,7 @@ + es1="1.1" desktop="false"> @@ -249,53 +251,53 @@ + es1="1.1" desktop="false"> + es1="1.1" desktop="false"> + static_dispatch="false" es1="1.1" desktop="false"> + es1="1.1" desktop="false"> + static_dispatch="false" es1="1.1" desktop="false"> + static_dispatch="false" es1="1.1" desktop="false"> + static_dispatch="false" es1="1.1" desktop="false"> + static_dispatch="false" es1="1.1" desktop="false"> @@ -303,7 +305,7 @@ + es1="1.1" desktop="false"> -- 2.30.2