OSDN Git Service

glestrace: Framework for GLES tracing library
authorSiva Velusamy <vsiva@google.com>
Wed, 30 Nov 2011 23:05:37 +0000 (15:05 -0800)
committerSiva Velusamy <vsiva@google.com>
Fri, 2 Dec 2011 23:30:17 +0000 (15:30 -0800)
commit0469dd6d55fa331bfd7de9431da98b6340d82271
tree02185748d9cfeafb5fed64e715b11abff37eaeb9
parent484bc2727c7ce5098ad229ce4feb3c230dfd109d
glestrace: Framework for GLES tracing library

This patch provides a framework for tracing GLES 1.0 and 2.0
functions. It is missing a lot of features, but here are the
things it accomplishes:

- Stop building the glesv2dbg library, and build the
    glestrace library instead.
- Replace the hooks for glesv2dbg with the ones for glestrace.
- Add the basics for the trace library. Currently, this
    traces all GL functions, but not all required data is
    sent for all the functions.  As a result, it will not
    be possible to reconstruct the entire GL state on the
    host side.

The files gltrace.pb.* and gltrace_api.* are both generated
using the tools/genapi.py script.

Change-Id: Id60a468f7278657f008bc6ea1df01f9bdfecfdd3
33 files changed:
opengl/libs/Android.mk
opengl/libs/EGL/Loader.cpp
opengl/libs/EGL/egl.cpp
opengl/libs/EGL/eglApi.cpp
opengl/libs/EGL/egl_tls.cpp
opengl/libs/EGL/egl_tls.h
opengl/libs/EGL/trace.cpp
opengl/libs/GLES_trace/.gitignore [new file with mode: 0644]
opengl/libs/GLES_trace/Android.mk [moved from opengl/libs/GLES2_dbg/Android.mk with 69% similarity]
opengl/libs/GLES_trace/DESIGN.txt [new file with mode: 0644]
opengl/libs/GLES_trace/TODO.txt [new file with mode: 0644]
opengl/libs/GLES_trace/dev.make [new file with mode: 0644]
opengl/libs/GLES_trace/gltrace.proto [new file with mode: 0644]
opengl/libs/GLES_trace/src/gltrace.pb.cpp [new file with mode: 0644]
opengl/libs/GLES_trace/src/gltrace.pb.h [new file with mode: 0644]
opengl/libs/GLES_trace/src/gltrace_api.cpp [new file with mode: 0644]
opengl/libs/GLES_trace/src/gltrace_api.h [new file with mode: 0644]
opengl/libs/GLES_trace/src/gltrace_context.cpp [new file with mode: 0644]
opengl/libs/GLES_trace/src/gltrace_context.h [new file with mode: 0644]
opengl/libs/GLES_trace/src/gltrace_egl.cpp [new file with mode: 0644]
opengl/libs/GLES_trace/src/gltrace_egl.h [new file with mode: 0644]
opengl/libs/GLES_trace/src/gltrace_eglapi.cpp [new file with mode: 0644]
opengl/libs/GLES_trace/src/gltrace_fixup.cpp [new file with mode: 0644]
opengl/libs/GLES_trace/src/gltrace_fixup.h [new file with mode: 0644]
opengl/libs/GLES_trace/src/gltrace_hooks.cpp [new file with mode: 0644]
opengl/libs/GLES_trace/src/gltrace_hooks.h [new file with mode: 0644]
opengl/libs/GLES_trace/src/gltrace_transport.cpp [new file with mode: 0644]
opengl/libs/GLES_trace/src/gltrace_transport.h [new file with mode: 0644]
opengl/libs/GLES_trace/tools/genapi.py [new file with mode: 0755]
opengl/libs/GLES_trace/tools/testgenapi.py [new file with mode: 0644]
opengl/libs/glestrace.h [new file with mode: 0644]
opengl/libs/glesv2dbg.h [deleted file]
opengl/libs/glesv2dbg_functions.h [deleted file]