[PATCH 0/7] Add tracing and retracing for EGL (with desktop GL)

Chia-I Wu olvaffe at gmail.com
Thu Nov 3 03:56:52 PDT 2011


Hi list,

We, at LunarG, use apitrace to trace GLES apps on Android.  This is an attemp
to contribute back our changes to apitrace, mainly to add support for EGL and
GLES.  In this first series, EGL (with desktop GL) support is added.

Following this, I'd like to send an RFC series to add GLES support.  If you'd
like to see the complete changes to determine whether this series is to be
accepted, the changes for GLES are available on github

  https://github.com/olvaffe/apitrace/tree/gles

I could also send that RFC series to the list if that is preferred.

This series adds a new target, egltrace.so, when EGL is found on the system.
It is supposed to be used like glxtrace.so, but is for EGL/OpenGL apps.  They
are tested with demos from Mesa demos repository.

For now, only EGL 1.4 functions are traced.  No extensions are supported.
This could limit its usefulness a lot, but I'd like to get the infrastructure
ready first before expanding it to be more complete and useable.

If you try to use it with an EGL/GLES app, first of all, the trace file will
be incomplete as GLES specific functions are not intercepted.  And when you
run glretrace on it, glretrace will abort with a warning when the first call
to eglCreateContext is retraced.


More information about the apitrace mailing list