[PATCH] Android: Port eglretracer for Android

Juha-Pekka Heikkila juha-pekka.heikkila at linux.intel.com
Tue Jul 23 00:22:45 PDT 2013


Here is a new version of the Android retracer patch, this time 
eglretracer and not glretracer. :) I refined the classes in glws_waffle a 
bit and fixed issues Alexander pointed out (hope I did not miss any..).

Now Android tree is no more mandatory. If Waffle is not found (which 
would be located inside Android source tree) compiling elgretracer is 
skipped. I still will look into Nigel's suggestion to have dummy Waffle 
around to be able to compile eglretracer without Android tree, if 
someone has good suggestions for the implementation I'd be happy to know 
about.

The way I compile this is to go to my Android source tree root, run 
"build/envsetup.sh" and "lunch <target>". My Android tree has Waffle 
sources in external (and compiled of course). After 'lunch' I go to 
apitrace folder which is outside my Android tree and follow apitrace 
instructions for compiling for Android. If everything goes right there 
will be eglretrace executable in apitrace/build folder which need to be 
pushed to the device.

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

 dispatch/glproc_egl.cpp |   9 ++
 retrace/CMakeLists.txt  |  74 ++++++++++---
 retrace/glws_waffle.cpp | 274 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 344 insertions(+), 13 deletions(-)
 create mode 100644 retrace/glws_waffle.cpp

-- 
1.8.1.2



More information about the apitrace mailing list