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:
@@ -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'
|
||||
)
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user