[PATCH v5 00/10] support for tracing Android Dalvik applications

Imre Deak imre.deak at intel.com
Tue Jul 17 05:39:10 PDT 2012


In v5:
- part of the patchset has been merged, this is a rebased version of
  the rest of the changes
- fix bug introduced by _apitrace_glGetPointerv in the manual state
  tracking code. Reported by the apitrace-test suite. Thanks to Jose's
  for noticing this.
- implement the customization for serializing the EGL image blob in
  EglTracer.serializeArgValue() instead of the more generic stdapi.py
  based on Jose's comments
- fix typos / bugs in the EGL image info object lookup/removal based on
  my earlier comments on the thread.
- add copyright header to new files

Imre Deak (10):
  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
  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
  egl: EGL image trace support

 CMakeLists.txt              |    3 +
 common/os_workqueue.hpp     |   49 ++++++++
 common/workqueue_posix.cpp  |  117 +++++++++++++++++++
 common/workqueue_win32.cpp  |   48 ++++++++
 helpers/eglsize.cpp         |  260 ++++++++++++++++++++++++++++++++++++++++++
 helpers/eglsize.hpp         |   64 ++++++++++
 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   |   82 ++++++++++++--
 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    |  164 ++++++++++++++++++++-------
 wrappers/CMakeLists.txt     |    6 +-
 wrappers/egltrace.py        |   33 +++++-
 wrappers/gltrace.hpp        |   12 ++
 wrappers/gltrace.py         |  266 +++++++++++++++++++++++++++++++++++++++++--
 22 files changed, 1159 insertions(+), 80 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 helpers/eglsize.cpp
 create mode 100644 helpers/eglsize.hpp
 create mode 100644 retrace/glretrace_state.cpp

-- 
1.7.5.4



More information about the apitrace mailing list