summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-04-16 16:39:46 -0700
committerMathias Agopian <mathias@google.com>2013-04-16 16:41:47 -0700
commited6d08b70d775852f4827471814c83eba3606aaa (patch)
treef75d05c0378890193f16a9201130a4e4d1f54b0e /opengl/tests/gl_basic/gl_basic.cpp
parent2f67faeb801dd6eb8fff8f8aab3843f2532c941d (diff)
fix "traceGpuCompletion" debug feature
eglCreateSyncKHR requires a call to glFlush which we were not doing. fixed by moving the code above eglSwapBuffers(), which both fixes the problem and gives us a slightly better idea of when the GPU is done drawing. Change-Id: Ic826ef1fe25a6247742c3d49d0cb69f4031e3593
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions