Searched refs:fence (Results 1 - 7 of 7) 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/include/gui/
H A DBufferQueue.h210 // BufferQueue pending a fence sync.
214 status_t releaseBuffer(int buf, EGLDisplay display, EGLSyncKHR fence);
/frameworks/native/opengl/include/GLES/
H A Dglext.h1085 GL_API GLboolean GL_APIENTRY glIsFenceNV (GLuint fence);
1086 GL_API GLboolean GL_APIENTRY glTestFenceNV (GLuint fence);
1087 GL_API void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
1088 GL_API void GL_APIENTRY glFinishFenceNV (GLuint fence);
1089 GL_API void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
1093 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
1094 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
1095 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
1096 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
1097 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenu
[all...]
/frameworks/native/opengl/include/GLES2/
H A Dgl2ext.h1268 GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence);
1269 GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence);
1270 GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
1271 GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence);
1272 GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
1276 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
1277 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
1278 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
1279 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
1280 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenu
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.h265 GLboolean GLTrace_glIsFenceNV(GLuint fence);
266 GLboolean GLTrace_glTestFenceNV(GLuint fence);
267 void GLTrace_glGetFenceivNV(GLuint fence, GLenum pname, GLint *params);
268 void GLTrace_glFinishFenceNV(GLuint fence);
269 void GLTrace_glSetFenceNV(GLuint fence, GLenum condition);
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 176 milliseconds