diff options
author | Siva Velusamy <vsiva@google.com> | 2011-11-30 15:05:37 -0800 |
---|---|---|
committer | Siva Velusamy <vsiva@google.com> | 2011-12-02 15:30:17 -0800 |
commit | db97468fd241cecce62366b4f0962a9572161e95 (patch) | |
tree | ffd9624f89ac1e3baf80e496256b0a80fbe3457d /opengl/libs/GLES2_dbg | |
parent | a5d24d42ff8b99383a8c3051b9459e5248cf8536 (diff) | |
download | frameworks_base-db97468fd241cecce62366b4f0962a9572161e95.zip frameworks_base-db97468fd241cecce62366b4f0962a9572161e95.tar.gz frameworks_base-db97468fd241cecce62366b4f0962a9572161e95.tar.bz2 |
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
Diffstat (limited to 'opengl/libs/GLES2_dbg')
-rw-r--r-- | opengl/libs/GLES2_dbg/Android.mk | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/opengl/libs/GLES2_dbg/Android.mk b/opengl/libs/GLES2_dbg/Android.mk deleted file mode 100644 index 70853d8..0000000 --- a/opengl/libs/GLES2_dbg/Android.mk +++ /dev/null @@ -1,50 +0,0 @@ -LOCAL_PATH:= $(call my-dir) - -include $(CLEAR_VARS) - -LOCAL_SRC_FILES := \ - src/api.cpp \ - src/caller.cpp \ - src/dbgcontext.cpp \ - src/debugger_message.pb.cpp \ - src/egl.cpp \ - src/server.cpp \ - src/vertex.cpp - -LOCAL_C_INCLUDES := \ - $(LOCAL_PATH) \ - $(LOCAL_PATH)/../ \ - external/stlport/stlport \ - external/protobuf/src \ - external \ - bionic - -#LOCAL_CFLAGS += -O0 -g -DDEBUG -UNDEBUG -LOCAL_CFLAGS := -DGOOGLE_PROTOBUF_NO_RTTI -LOCAL_STATIC_LIBRARIES := libprotobuf-cpp-2.3.0-lite liblzf -LOCAL_SHARED_LIBRARIES := libcutils libutils libstlport -ifeq ($(TARGET_ARCH),arm) - LOCAL_CFLAGS += -fstrict-aliasing -endif - -ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true) - LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER -endif - -LOCAL_CFLAGS += -DLOG_TAG=\"libGLES2_dbg\" - - -# we need to access the private Bionic header <bionic_tls.h> -# on ARM platforms, we need to mirror the ARCH_ARM_HAVE_TLS_REGISTER -# behavior from the bionic Android.mk file -ifeq ($(TARGET_ARCH)-$(ARCH_ARM_HAVE_TLS_REGISTER),arm-true) - LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER -endif -LOCAL_C_INCLUDES += bionic/libc/private - -LOCAL_MODULE:= libGLESv2_dbg -LOCAL_MODULE_TAGS := optional - -include $(BUILD_SHARED_LIBRARY) - -include $(LOCAL_PATH)/test/Android.mk |