[PATCH 0/6] Add support for (partial) GLES retracing

José Fonseca jose.r.fonseca at gmail.com
Fri Nov 18 03:57:46 PST 2011


On Tue, Nov 8, 2011 at 11:48 PM, Chia-I Wu <olvaffe at gmail.com> wrote:
> Hi,
>
> This series adds support for (partial) GLES retracing.  It needs to be applied
> after the previous GLES tracing series.
>
> This series mainly consists of three changes
>
>  - make glws context profile aware
>  - add EGL/Xlib-based glws implementation
>  - add eglretrace
>
> eglretrace works just like glretrace, except that it always uses an EGL-based
> glws implementation instead of the native one.  With that, eglretrace can
> create GLES contexts to retrace GLES trace files.
>
> The support is partial in that it does not support state dumping (for the GUI)
> very well.  The state dumping code queries many states that are not available
> in GLES.  Worse, GLES does not support glGetTexLevelParameteriv, which is
> mandatory for texture dumping.  There might also be glitches here and there.
> But I think it might be better to have this partial support in place first,
> and then fix the remaining issues later.

I've merged the rest of your branch in master.

The API flexibility given by EGL makes everything a bit complex and
entangled. It might be possible to do a cleaner separation, but for
now I've commited everything pretty much as is. I want to have a
minimal EGL/GLES test suite in the apitrace-tests repos before doing
any disruptive change.

Once we have miniminal GUI support for using the new EGL/GLES
functionality, we should do a release.

Jose


More information about the apitrace mailing list