X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=wrappers%2Fegltrace.py;h=11d3ad2fba32e6d74bbe94ac2906e279069a3bc6;hb=207ced34a8b998539414c5213acc6d7a393ca27a;hp=8c4a46a0b9b3c5abde49ff91a936d4138f995285;hpb=d6aa74c803556e4eb82919aef6f0edb06a5811aa;p=apitrace diff --git a/wrappers/egltrace.py b/wrappers/egltrace.py index 8c4a46a..11d3ad2 100644 --- a/wrappers/egltrace.py +++ b/wrappers/egltrace.py @@ -96,23 +96,10 @@ class EglTracer(GlTracer): print ' _EGLImageKHR_free_image_info(info);' print ' }' - def emitFakeTexture2D(self): - function = glapi.getFunctionByName('glTexImage2D') - instances = function.argNames() - print ' unsigned _fake_call = trace::localWriter.beginEnter(&_%s_sig);' % (function.name,) - for arg in function.args: - assert not arg.output - self.serializeArg(function, arg) - print ' trace::localWriter.endEnter();' - print ' trace::localWriter.beginLeave(_fake_call);' - print ' trace::localWriter.endLeave();' - - if __name__ == '__main__': print '#include ' print '#include ' - print '#include "dlopen.hpp"' print print '#include "trace_writer_local.hpp"' print @@ -120,6 +107,7 @@ if __name__ == '__main__': print '#define GL_GLEXT_PROTOTYPES' print '#define EGL_EGLEXT_PROTOTYPES' print + print '#include "dlopen.hpp"' print '#include "glproc.hpp"' print '#include "glsize.hpp"' print '#include "eglsize.hpp"'