[PATCH] Port eglretracer for Android (v3)

Juha-Pekka Heikkila juha-pekka.heikkila at linux.intel.com
Mon Jul 29 04:26:57 PDT 2013


Here is a v3 version of the Android retracer patch.

I did go backwards a bit with the glws_waffle. glws_waffle is closer to 
the original implementation as José suggested work is done in functions
and methods instead of constructors. glws_waffle look again more similar to
how glws_egl_xlib is.

There is separate FindWaffle.cmake for locating Waffle. I was looking
at where Waffle now is needed and did start to wonder if I should just remove
Waffle dependency. If Waffle is used only for negotiation with SurfaceFlinger
and to get surface&context Waffle adds quite useless overhead as to get 
connected with SF is not that special chunk of code. There in any case is
already separate Android path for locating GLES/EGL symbols in glproc_egl.cpp
without Waffle in there.

/Juha-Pekka


Juha-Pekka Heikkila (1):
  Android: Port eglretracer for Android

 cmake/FindWaffle.cmake  |  38 ++++++++
 retrace/CMakeLists.txt  |  26 ++++++
 retrace/glws_waffle.cpp | 229 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 293 insertions(+)
 create mode 100644 cmake/FindWaffle.cmake
 create mode 100644 retrace/glws_waffle.cpp

-- 
1.8.1.2



More information about the apitrace mailing list