diff options
author | Jamie Gennis <jgennis@google.com> | 2012-04-05 20:34:54 -0700 |
---|---|---|
committer | Jamie Gennis <jgennis@google.com> | 2012-04-06 09:23:13 -0700 |
commit | 28ef8d7911dbfd1bf8256fb43acba894d87fc07a (patch) | |
tree | 121cc2605b5c244eb42f6a9c176fab1876715257 /opengl/libs/EGL/egl_display.h | |
parent | 8cce8a9a75d172e0077960223ac5f2d06df33892 (diff) | |
download | frameworks_native-28ef8d7911dbfd1bf8256fb43acba894d87fc07a.zip frameworks_native-28ef8d7911dbfd1bf8256fb43acba894d87fc07a.tar.gz frameworks_native-28ef8d7911dbfd1bf8256fb43acba894d87fc07a.tar.bz2 |
EGL: add GPU frame completion tracing
This change adds a debug option to EGL to use an EGLSyncKHR each frame to
determine when the GPU finishes rendering the frame.
Change-Id: I09ce071db904b44f07ca814c586c291c8b59385a
Diffstat (limited to 'opengl/libs/EGL/egl_display.h')
-rw-r--r-- | opengl/libs/EGL/egl_display.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opengl/libs/EGL/egl_display.h b/opengl/libs/EGL/egl_display.h index 43738ea..3e22efa 100644 --- a/opengl/libs/EGL/egl_display.h +++ b/opengl/libs/EGL/egl_display.h @@ -107,7 +107,8 @@ private: public: DisplayImpl disp; - bool finishOnSwap; + bool finishOnSwap; // property: debug.egl.finish + bool traceGpuCompletion; // property: debug.egl.traceGpuCompletion private: uint32_t refs; |