]> git.cworth.org Git - apitrace/commit
gltrace: Expose marker functions when tracing is disabled.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 10 Jun 2013 07:05:29 +0000 (08:05 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 10 Jun 2013 07:21:47 +0000 (08:21 +0100)
commit2cfa02c89ce8779e328aecdcc4eeecce6c9a2dbf
tree4d060a973966067be65e885c05432e56b717f725
parent529eaa6d004ba0bb502dcd739f8c97bda77525a3
gltrace: Expose marker functions when tracing is disabled.

Matches the output of change proposed by Peter Lohrmann in issue #138,
but with slightly less new code.

This is achieved by adding a new hook point, doInvokeFunction (could not
think of a better name), used to generate the call to the real function,
both when trace is enabled or disabled.
wrappers/gltrace.py
wrappers/trace.py