Searched defs:fence (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/libs/gui/
H A DBufferQueue.cpp304 EGLSyncKHR fence = EGL_NO_SYNC_KHR; local
488 fence = mSlots[buf].mFence;
492 if (fence != EGL_NO_SYNC_KHR) {
493 EGLint result = eglClientWaitSyncKHR(dpy, fence, 0, 1000000000);
498 ST_LOGE("dequeueBuffer: error waiting for fence: %#x", eglGetError());
500 ST_LOGE("dequeueBuffer: timeout waiting for fence");
502 eglDestroySyncKHR(dpy, fence);
839 // destroy fence as BufferQueue now takes ownership
894 EGLSyncKHR fence) {
905 mSlots[buf].mFence = fence;
893 releaseBuffer(int buf, EGLDisplay display, EGLSyncKHR fence) argument
[all...]
H A DSurfaceTexture.cpp465 EGLSyncKHR fence = mEGLSlots[mCurrentTexture].mFence; local
466 if (fence != EGL_NO_SYNC_KHR) {
467 // There is already a fence for the current slot. We need to wait
468 // on that before replacing it with another fence to ensure that all
471 EGLint result = eglClientWaitSyncKHR(dpy, fence, 0, 1000000000);
474 "fence: %#x", eglGetError());
478 "fence");
481 eglDestroySyncKHR(dpy, fence);
484 // Create a fence for the outstanding accesses in the current OpenGL ES
486 fence
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp10147 GLboolean GLTrace_glIsFenceNV(GLuint fence) { argument
10153 // copy argument fence
10157 arg_fence->add_intvalue(fence);
10162 GLboolean retValue = glContext->hooks->gl.glIsFenceNV(fence);
10183 GLboolean GLTrace_glTestFenceNV(GLuint fence) { argument
10189 // copy argument fence
10193 arg_fence->add_intvalue(fence);
10198 GLboolean retValue = glContext->hooks->gl.glTestFenceNV(fence);
10219 void GLTrace_glGetFenceivNV(GLuint fence, GLenum pname, GLint *params) { argument
10225 // copy argument fence
10260 GLTrace_glFinishFenceNV(GLuint fence) argument
10288 GLTrace_glSetFenceNV(GLuint fence, GLenum condition) argument
[all...]

Completed in 187 milliseconds