[PATCH v3 00/18] support for tracing Android Dalvik applications
Imre Deak
imre.deak at intel.com
Wed May 23 02:05:14 PDT 2012
In v3 I addressed Pauli's and Jose's comments. I couldn't test the WGL
and CGL parts (patch 3 and 7) but the patchset can be applied even
without those.
Also the followings are new:
- error checking in the wrappers for context handling calls
- fix handling of state dumped condition in the mt-retracer
- add missing wrapping for the eglMakeCurrent call
- avoid calling glGetError during retrace if there is no current
context
--Imre
Imre Deak (18):
mt trace: create gltrace_state.cpp, move getContext into it
mt trace: add helper to track GL contexts on a per-thread basis
mt trace: cgl: track GL context on a per-thread basis
check for error in eglMakeCurrent wrapper
mt trace: egl: track GL context on a per-thread basis
mt trace: glx: track GL context on a per-thread basis
mt trace: wgl: track GL context on a per-thread basis
Android: add support for dynamically enable/disable tracing
Android manual state tracking: add integer,pointer maps
Android manual state tracking: add function prologs
Android manual state tracking: add helpers
Android manual state tracking: wrap native GL calls
Android manual state tracking: enable for EGL
Android: add usage instructions for tracing zygote applications
mt retrace: add workqueue support
mt retrace: add support for multi-threaded playback
mt retrace: store current context,drawable in thread specific memory
don't call glGetError if there is no active context
CMakeLists.txt | 3 +
README.markdown | 61 ++++++++++
common/os.hpp | 9 ++
common/os_posix.cpp | 66 +++++++++++
common/os_workqueue.hpp | 49 ++++++++
common/workqueue_posix.cpp | 116 ++++++++++++++++++
common/workqueue_win32.cpp | 48 ++++++++
helpers/glsize.hpp | 14 ++-
retrace/CMakeLists.txt | 1 +
retrace/glretrace.hpp | 12 ++-
retrace/glretrace.py | 4 +-
retrace/glretrace_cgl.cpp | 3 +
retrace/glretrace_egl.cpp | 62 +++++++++--
retrace/glretrace_glx.cpp | 2 +-
retrace/glretrace_main.cpp | 8 +-
retrace/glretrace_state.cpp | 68 +++++++++++
retrace/glretrace_wgl.cpp | 6 +-
retrace/glretrace_ws.cpp | 17 ++--
retrace/retrace_main.cpp | 149 ++++++++++++++++++------
wrappers/CMakeLists.txt | 9 ++-
wrappers/cgltrace.py | 33 +++++
wrappers/egltrace.py | 47 ++++++--
wrappers/gltrace.hpp | 42 ++++++-
wrappers/gltrace.py | 271 ++++++++++++++++++++++++++++++++++++++++---
wrappers/gltrace_state.cpp | 131 +++++++++++++++++++++
wrappers/glxtrace.py | 18 +++
wrappers/trace.py | 8 ++
wrappers/wgltrace.py | 23 ++++
28 files changed, 1179 insertions(+), 101 deletions(-)
create mode 100644 common/os_workqueue.hpp
create mode 100644 common/workqueue_posix.cpp
create mode 100644 common/workqueue_win32.cpp
create mode 100644 retrace/glretrace_state.cpp
create mode 100644 wrappers/gltrace_state.cpp
--
1.7.5.4
More information about the apitrace
mailing list