mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
glapi: Use GLES information from XML rather than gles_api.py.
Tested-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
cd4ce16c45
commit
e378cd77bc
2 changed files with 2 additions and 16 deletions
|
|
@ -254,13 +254,6 @@ if __name__ == '__main__':
|
|||
api = gl_XML.parse_GL_API( file_name )
|
||||
|
||||
if es is not None:
|
||||
import gles_api
|
||||
|
||||
api_map = {
|
||||
'es1': gles_api.es1_api,
|
||||
'es2': gles_api.es2_api,
|
||||
}
|
||||
|
||||
api.filter_functions(api_map[es])
|
||||
api.filter_functions_by_api(es)
|
||||
|
||||
printer.Print( api )
|
||||
|
|
|
|||
|
|
@ -186,14 +186,7 @@ if __name__ == '__main__':
|
|||
api = gl_XML.parse_GL_API( file_name )
|
||||
|
||||
if es is not None:
|
||||
import gles_api
|
||||
|
||||
api_map = {
|
||||
'es1': gles_api.es1_api,
|
||||
'es2': gles_api.es2_api,
|
||||
}
|
||||
|
||||
api.filter_functions(api_map[es])
|
||||
api.filter_functions_by_api(es)
|
||||
|
||||
printer = PrintGlRemap()
|
||||
printer.Print( api )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue