]> git.cworth.org Git - apitrace/blobdiff - wrappers/gltrace.py
Emit a fake glTexImage for glEGLImageTargetTexture2DOES.
[apitrace] / wrappers / gltrace.py
index 901e9d749c1d096ca749526b467b6afae17bd6f8..411a19b16a630c71deec2cc6581e94f9c6eebe4d 100644 (file)
@@ -1016,16 +1016,6 @@ class GlTracer(Tracer):
         function = api.getFunctionByName('glClientActiveTexture')
         self.fake_call(function, [texture])
 
-    def fake_call(self, function, args):
-        print '            unsigned _fake_call = trace::localWriter.beginEnter(&_%s_sig);' % (function.name,)
-        for arg, instance in zip(function.args, args):
-            assert not arg.output
-            print '            trace::localWriter.beginArg(%u);' % (arg.index,)
-            self.serializeValue(arg.type, instance)
-            print '            trace::localWriter.endArg();'
-        print '            trace::localWriter.endEnter();'
-        print '            trace::localWriter.beginLeave(_fake_call);'
-        print '            trace::localWriter.endLeave();'