diff options
author | David Li <davidxli@google.com> | 2011-03-04 17:50:48 -0800 |
---|---|---|
committer | David Li <davidxli@google.com> | 2011-03-04 17:50:48 -0800 |
commit | 55c94ccd495aa19784cb4ca9a1fe51fad9631542 (patch) | |
tree | cd35774bfb10a4dabb192065513961fd6ae086c0 /opengl/libs/EGL | |
parent | 28ca2abb1ab92b2cc3a5c9119ec2f697ec3401b2 (diff) | |
download | frameworks_base-55c94ccd495aa19784cb4ca9a1fe51fad9631542.zip frameworks_base-55c94ccd495aa19784cb4ca9a1fe51fad9631542.tar.gz frameworks_base-55c94ccd495aa19784cb4ca9a1fe51fad9631542.tar.bz2 |
Added screenshot after glDraw* option to GLES2 Debugger
Also added timing mode option using utils/Timers.h.
Factored out common code to reduce size.
Improved Protobuf message.
Uploads data from glBufferData and glBufferSubData.
Change-Id: Iaae5e706235d942df81c7eada7223fb0b0583911
Signed-off-by: David Li <davidxli@google.com>
Diffstat (limited to 'opengl/libs/EGL')
-rw-r--r-- | opengl/libs/EGL/egl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/opengl/libs/EGL/egl.cpp b/opengl/libs/EGL/egl.cpp index e427504..8e4b0ee 100644 --- a/opengl/libs/EGL/egl.cpp +++ b/opengl/libs/EGL/egl.cpp @@ -1650,6 +1650,10 @@ __eglMustCastToProperFunctionPointerType eglGetProcAddress(const char *procname) EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface draw) { + EGLBoolean Debug_eglSwapBuffers(EGLDisplay dpy, EGLSurface draw); + if (gEGLDebugLevel > 0) + Debug_eglSwapBuffers(dpy, draw); + clearError(); SurfaceRef _s(draw); |