mesa: generate glGetInteger/Boolean/Float/Doublev() code for all APIs

No longer pass -a flag to the get_hash_generate.py script to specify
OpenGL, ES1, ES2, etc.  This updates the autoconf, scons and android
build files too (so we can bisect).

This is the last of the API-dependent conditional compilation in
core Mesa.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
Brian Paul
2013-04-17 09:49:39 -06:00
parent 9835d90596
commit 815ca0bf38
4 changed files with 7 additions and 35 deletions

View File

@@ -341,16 +341,11 @@ if env['gles']:
enabled_apis += ['ES1', 'ES2']
env.Append(CPPDEFINES = ["FEATURE_%s=1" % api for api in enabled_apis])
get_hash_gen_opts = ' '.join(["-a %s" % api for api in enabled_apis])
get_hash_header = env.CodeGenerate(
target = 'main/get_hash.h',
script = 'main/get_hash_generator.py',
source = GLAPI + 'gen/gl_and_es_API.xml',
command = python_cmd + ' $SCRIPT ' + get_hash_gen_opts +
' -f $SOURCE > $TARGET'
command = python_cmd + ' $SCRIPT ' + ' -f $SOURCE > $TARGET'
)
#