summaryrefslogtreecommitdiff
path: root/wrappers/glxtrace.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2013-11-13 13:59:51 +0000
committerJosé Fonseca <jfonseca@vmware.com>2013-11-13 13:59:51 +0000
commit0bacf23eacd15c8f15413b85bdcb6ccc4d288f37 (patch)
tree7f6d61f401a36bca2aa32d44cc2427a8d5df4c2a /wrappers/glxtrace.py
parent0436cc01329b6be60801dd7bfe641be7d8be5bc7 (diff)
glxtrace: Add GLES prototypes too.
Some applications seem to fail to distinguish GLES and GL entrypoints apart. To have complete traces in that situation, generate wrappers for both GLES and GL prototypes. Issue #184.
Diffstat (limited to 'wrappers/glxtrace.py')
-rw-r--r--wrappers/glxtrace.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wrappers/glxtrace.py b/wrappers/glxtrace.py
index e9c43a9c..c61b937d 100644
--- a/wrappers/glxtrace.py
+++ b/wrappers/glxtrace.py
@@ -32,6 +32,7 @@ from gltrace import GlTracer
from specs.stdapi import Module, API
from specs.glapi import glapi
from specs.glxapi import glxapi
+from specs.glesapi import glesapi
class GlxTracer(GlTracer):
@@ -174,6 +175,7 @@ if __name__ == '__main__':
module = Module()
module.mergeModule(glxapi)
module.mergeModule(glapi)
+ module.mergeModule(glesapi)
api = API()
api.addModule(module)
tracer = GlxTracer()