summaryrefslogtreecommitdiffstats
path: root/opengl/libs/EGL/Loader.cpp
diff options
context:
space:
mode:
authorSiva Velusamy <vsiva@google.com>2011-11-30 15:05:37 -0800
committerSiva Velusamy <vsiva@google.com>2011-12-02 15:30:17 -0800
commitdb97468fd241cecce62366b4f0962a9572161e95 (patch)
treeffd9624f89ac1e3baf80e496256b0a80fbe3457d /opengl/libs/EGL/Loader.cpp
parenta5d24d42ff8b99383a8c3051b9459e5248cf8536 (diff)
downloadframeworks_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/EGL/Loader.cpp')
-rw-r--r--opengl/libs/EGL/Loader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp
index 325193c..8a8898b 100644
--- a/opengl/libs/EGL/Loader.cpp
+++ b/opengl/libs/EGL/Loader.cpp
@@ -28,7 +28,7 @@
#include <EGL/egl.h>
#include "egldefs.h"
-#include "glesv2dbg.h"
+#include "glestrace.h"
#include "hooks.h"
#include "Loader.h"
@@ -157,7 +157,7 @@ Loader::Loader()
Loader::~Loader()
{
- StopDebugServer();
+ GLTrace_stop();
}
const char* Loader::getTag(int dpy, int impl)