[PATCH 4/6] gles: Add support for GLES retracing

Chia-I Wu olvaffe at gmail.com
Tue Nov 8 15:48:41 PST 2011


GLES entrypoings are added to glretrace.py, as if GLES is just an extension to
GL.
---
 glretrace.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/glretrace.py b/glretrace.py
index ea307a6..6de2882 100644
--- a/glretrace.py
+++ b/glretrace.py
@@ -29,6 +29,7 @@
 
 import specs.stdapi as stdapi
 import specs.glapi as glapi
+import specs.glesapi as glesapi
 from retrace import Retracer
 
 
@@ -395,5 +396,6 @@ if __name__ == '__main__':
 
 '''
     api = glapi.glapi
+    api.add_api(glesapi.glesapi)
     retracer = GlRetracer()
     retracer.retrace_api(api)
-- 
1.7.6.3



More information about the apitrace mailing list