diff options
author | Chia-I Wu <[email protected]> | 2009-11-23 14:40:32 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-04 14:15:15 -0700 |
commit | a2d21f67f901ec34799819ba47b9579ac78bf112 (patch) | |
tree | 3b3f02e50d95215208c71caba31291e67f9ac740 /src/mesa/es/main/APIspec.xml | |
parent | f7d23dfef54f837e21ff590ab0929802c3540831 (diff) |
mesa/es: Generate code for special functions.
es_generator.py did not generate code for special functions. They were
supposed to be defined elsewhere. But as a result, parameter checking
was also skipped. This commit changes the way special functions are
called so that parameter checking is always performed.
When there is nothing to check, the check functions becomes macros
expanding to the real functions, as an optimization.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/mesa/es/main/APIspec.xml')
-rw-r--r-- | src/mesa/es/main/APIspec.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/es/main/APIspec.xml b/src/mesa/es/main/APIspec.xml index 5311f2a83df..d8d85e66456 100644 --- a/src/mesa/es/main/APIspec.xml +++ b/src/mesa/es/main/APIspec.xml @@ -15,6 +15,10 @@ parameters. A <desc> can enumerate the valid values of a parameter. It can also specify the error code when an invalid value is given, and etc. By nesting <desc>s, they can create dependency between parameters. + + A function can be marked as external. It means that the function cannot + be dispatched to the corresponding mesa function, if one exists, directly, + and requires an external implementation. --> <apispec> @@ -1284,6 +1288,7 @@ <value name="GL_RENDERER"/> <value name="GL_VERSION"/> <value name="GL_EXTENSIONS"/> + <value name="GL_SHADING_LANGUAGE_VERSION" category="GLES2.0"/> </desc> </template> @@ -3674,8 +3679,6 @@ <function name="GetUniformfvARB" template="GetUniform" gltype="GLfloat"/> <function name="GetUniformivARB" template="GetUniform" gltype="GLint"/> - <function name="QueryMatrixx" template="QueryMatrix" gltype="GLfixed"/> - <function name="DrawTexf" template="DrawTex" gltype="GLfloat" expand_vector="true"/> <function name="DrawTexfv" template="DrawTex" gltype="GLfloat"/> <function name="DrawTexi" template="DrawTex" gltype="GLint" expand_vector="true"/> |