commit | ed6d08b70d775852f4827471814c83eba3606aaa | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Tue Apr 16 16:39:46 2013 -0700 |
committer | Mathias Agopian <mathias@google.com> | Tue Apr 16 16:41:47 2013 -0700 |
tree | f75d05c0378890193f16a9201130a4e4d1f54b0e | |
parent | 2f67faeb801dd6eb8fff8f8aab3843f2532c941d [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