/packages/apps/Gallery2/jni/ |
jni_egl_fence.cpp | 28 // Create a egl fence and wait for egl to return it. 29 // Additional reference on egl fence sync can be found in: 31 EGLSyncKHR fence = eglCreateSyncKHR(display, EGL_SYNC_FENCE_KHR, NULL); local 32 if (fence == EGL_NO_SYNC_KHR) { 37 fence, 41 ALOGE("EGL FENCE: error waiting for fence: %#x", eglGetError()); 43 eglDestroySyncKHR(display, fence);
|
/bionic/libc/kernel/common/linux/ |
sw_sync.h | 26 __s32 fence; member in struct:sw_sync_create_fence_data
|
sync.h | 26 __s32 fence; member in struct:sync_merge_data
|
/external/kernel-headers/original/linux/ |
sw_sync.h | 48 __s32 fence; /* fd of new fence */ member in struct:sw_sync_create_fence_data
|
sync.h | 112 * @fence: sync_fence to which the sync_pt belongs 124 struct sync_fence *fence; member in struct:sync_pt 134 * struct sync_fence - sync fence 135 * @file: file representing this fence 137 * @pt_list_head: list of sync_pts in ths fence. immutable once fence 139 * @waiter_list_head: list of asynchronous waiters on this fence 143 * @wq: wait queue for fence signaling 144 * @sync_fence_list: membership in global fence list 150 /* this list is immutable once the fence is created * 319 __s32 fence; \/* fd on newly created fence *\/ member in struct:sync_merge_data [all...] |
/frameworks/native/libs/gui/ |
BufferQueue.cpp | 304 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; [all...] |
SurfaceTexture.cpp | 465 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 = eglCreateSyncKHR(dpy, EGL_SYNC_FENCE_KHR, NULL) [all...] |
/libcore/luni/src/main/java/java/util/ |
ArrayDeque.java | 585 private int fence = tail; field in class:ArrayDeque.DeqIterator 594 return cursor != fence; 598 if (cursor == fence) 603 if (tail != fence || result == null) 615 fence = tail; 625 * tail for fence. 628 private int fence = head; field in class:ArrayDeque.DescendingIterator 632 return cursor != fence; 636 if (cursor == fence) 640 if (head != fence || result == null [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
Context.cpp | 22 #include "libGLESv2/Fence.h" 838 mFenceMap[handle] = new Fence; 896 void Context::deleteFence(GLuint fence) 898 FenceMap::iterator fenceObject = mFenceMap.find(fence); 1045 Fence *Context::getFence(unsigned int handle) 1047 FenceMap::iterator fence = mFenceMap.find(handle); local 1049 if (fence == mFenceMap.end()) 1055 return fence->second; [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
DAGCombiner.cpp | 7907 SDValue fence = atomic.getOperand(0); local [all...] |