/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/ |
nouveau_fence.c | 34 nouveau_fence_new(struct nouveau_screen *screen, struct nouveau_fence **fence, 37 *fence = CALLOC_STRUCT(nouveau_fence); 38 if (!*fence) 41 (*fence)->screen = screen; 42 (*fence)->ref = 1; 43 LIST_INITHEAD(&(*fence)->work); 46 nouveau_fence_emit(*fence); 52 nouveau_fence_trigger_work(struct nouveau_fence *fence) 56 LIST_FOR_EACH_ENTRY_SAFE(work, tmp, &fence->work, list) { 64 nouveau_fence_work(struct nouveau_fence *fence, 139 struct nouveau_fence *fence; local [all...] |
nouveau_fence.h | 41 nouveau_fence_ref(struct nouveau_fence *fence, struct nouveau_fence **ref) 43 if (fence) 44 ++fence->ref; 51 *ref = fence; 55 nouveau_fence(struct pipe_fence_handle *fence) 57 return (struct nouveau_fence *)fence;
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_fence.c | 34 nouveau_fence_new(struct nouveau_screen *screen, struct nouveau_fence **fence, 37 *fence = CALLOC_STRUCT(nouveau_fence); 38 if (!*fence) 41 (*fence)->screen = screen; 42 (*fence)->ref = 1; 43 LIST_INITHEAD(&(*fence)->work); 46 nouveau_fence_emit(*fence); 52 nouveau_fence_trigger_work(struct nouveau_fence *fence) 56 LIST_FOR_EACH_ENTRY_SAFE(work, tmp, &fence->work, list) { 64 nouveau_fence_work(struct nouveau_fence *fence, 139 struct nouveau_fence *fence; local [all...] |
nouveau_fence.h | 41 nouveau_fence_ref(struct nouveau_fence *fence, struct nouveau_fence **ref) 43 if (fence) 44 ++fence->ref; 51 *ref = fence; 55 nouveau_fence(struct pipe_fence_handle *fence) 57 return (struct nouveau_fence *)fence;
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/i915/drm/ |
i915_drm_fence.c | 8 * Because gem does not have fence's we have to create our own fences. 11 * been idled. If bo is NULL fence has expired. 23 struct i915_drm_fence *fence = CALLOC_STRUCT(i915_drm_fence); local 25 pipe_reference_init(&fence->reference, 1); 26 /* bo is null if fence already expired */ 29 fence->bo = bo; 32 return (struct pipe_fence_handle *)fence; 38 struct pipe_fence_handle *fence) 41 struct i915_drm_fence *f = (struct i915_drm_fence *)fence; 48 *ptr = fence; [all...] |
/external/mesa3d/src/gallium/winsys/i915/drm/ |
i915_drm_fence.c | 8 * Because gem does not have fence's we have to create our own fences. 11 * been idled. If bo is NULL fence has expired. 23 struct i915_drm_fence *fence = CALLOC_STRUCT(i915_drm_fence); local 25 pipe_reference_init(&fence->reference, 1); 26 /* bo is null if fence already expired */ 29 fence->bo = bo; 32 return (struct pipe_fence_handle *)fence; 38 struct pipe_fence_handle *fence) 41 struct i915_drm_fence *f = (struct i915_drm_fence *)fence; 48 *ptr = fence; [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_fence.c | 36 * Create a new fence object. 39 * thread hits a fence command, it'll increment the fence counter. When 40 * the counter == the rank, the fence is finished. 42 * \param rank the expected finished value of the fence counter. 48 struct lp_fence *fence = CALLOC_STRUCT(lp_fence); local 50 if (!fence) 53 pipe_reference_init(&fence->reference, 1); 55 pipe_mutex_init(fence->mutex); 56 pipe_condvar_init(fence->signalled) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/i915/sw/ |
i915_sw_fence.c | 15 struct i915_sw_fence *fence = CALLOC_STRUCT(i915_sw_fence); local 17 pipe_reference_init(&fence->reference, 1); 19 return (struct pipe_fence_handle *)fence; 25 struct pipe_fence_handle *fence) 28 struct i915_sw_fence *f = (struct i915_sw_fence *)fence; 33 *ptr = fence; 38 struct pipe_fence_handle *fence) 47 struct pipe_fence_handle *fence)
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_fence.c | 36 * Create a new fence object. 39 * thread hits a fence command, it'll increment the fence counter. When 40 * the counter == the rank, the fence is finished. 42 * \param rank the expected finished value of the fence counter. 48 struct lp_fence *fence = CALLOC_STRUCT(lp_fence); local 50 if (!fence) 53 pipe_reference_init(&fence->reference, 1); 55 pipe_mutex_init(fence->mutex); 56 pipe_condvar_init(fence->signalled) [all...] |
/external/mesa3d/src/gallium/winsys/i915/sw/ |
i915_sw_fence.c | 15 struct i915_sw_fence *fence = CALLOC_STRUCT(i915_sw_fence); local 17 pipe_reference_init(&fence->reference, 1); 19 return (struct pipe_fence_handle *)fence; 25 struct pipe_fence_handle *fence) 28 struct i915_sw_fence *f = (struct i915_sw_fence *)fence; 33 *ptr = fence; 38 struct pipe_fence_handle *fence) 47 struct pipe_fence_handle *fence)
|
/external/llvm/test/CodeGen/X86/ |
barrier-sse.ll | 4 fence acquire 7 fence release 10 fence acq_rel
|
barrier.ll | 4 fence seq_cst
|
membarrier.ll | 8 fence seq_cst 10 fence seq_cst
|
/frameworks/native/include/ui/ |
Fence.h | 35 // Fence 38 class Fence 39 : public LightRefBase<Fence>, public Flattenable<Fence> 42 static const sp<Fence> NO_FENCE; 45 // should wait indefinitely for the fence to signal. 48 // Construct a new Fence object with an invalid file descriptor. This 49 // should be done when the Fence object will be set up by unflattening 51 Fence(); 53 // Construct a new Fence object to manage a given fence file descriptor [all...] |
/external/kernel-headers/original/uapi/linux/ |
sync.h | 19 * @fd2: file descriptor of second fence 20 * @name: name of new fence 21 * @fence: returns the fd of the new fence to userspace 24 __s32 fd2; /* fd of second fence */ 25 char name[32]; /* name of new fence */ 26 __s32 fence; /* fd on newly created fence */ member in struct:sync_merge_data 49 * struct sync_fence_info_data - data returned from fence info ioctl 53 * @name: name of fence [all...] |
/frameworks/base/libs/hwui/ |
Fence.h | 27 * Creating a Fence instance inserts a new sync fence in the OpenGL 28 * commands stream. The caller can then wait for the fence to be signaled 31 class Fence { 41 * Inserts a new sync fence in the OpenGL commands stream. 43 Fence() { 53 * Destroys the fence. Any caller waiting on the fence will be 56 ~Fence() { 63 * Blocks the calling thread until this fence is signaled, or unti [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/ |
vmw_fence.c | 29 * kernel do determine a fence object signaled status if the fence is not 31 * execbuf ioctl returns the last signaled fence seqno, as does the 32 * fence signaled ioctl. We should set up a ring of fence objects and 34 * new passed fence seqno. 64 * @fence: The opaque pipe fence handle. 67 vmw_fence(struct pipe_fence_handle *fence) 69 return (struct vmw_fence *) fence; 83 struct vmw_fence *fence = CALLOC_STRUCT(vmw_fence); local [all...] |
/external/mesa3d/src/gallium/winsys/svga/drm/ |
vmw_fence.c | 29 * kernel do determine a fence object signaled status if the fence is not 31 * execbuf ioctl returns the last signaled fence seqno, as does the 32 * fence signaled ioctl. We should set up a ring of fence objects and 34 * new passed fence seqno. 64 * @fence: The opaque pipe fence handle. 67 vmw_fence(struct pipe_fence_handle *fence) 69 return (struct vmw_fence *) fence; 83 struct vmw_fence *fence = CALLOC_STRUCT(vmw_fence); local [all...] |
/frameworks/native/libs/ui/ |
Fence.cpp | 17 #define LOG_TAG "Fence" 25 #include <ui/Fence.h> 32 const sp<Fence> Fence::NO_FENCE = sp<Fence>(new Fence); 34 Fence::Fence() : 38 Fence::Fence(int fenceFd) [all...] |
/hardware/intel/common/libwsbm/src/ |
wsbm_fencemgr.c | 55 * fence data. 110 wsbmFenceType(struct _WsbmFenceObject *fence) 112 return fence->fence_type; 163 struct _WsbmFenceObject *fence = *pFence; local 167 if (fence == NULL) 170 mgr = fence->mgr; 171 if (wsbmAtomicDecZero(&fence->refCount)) { 172 struct _WsbmFenceClass *fc = &mgr->classes[fence->fence_class]; 175 WSBMLISTDELINIT(&fence->head); 177 if (fence->private 302 struct _WsbmFenceObject *fence; local [all...] |
/external/chromium_org/ui/gl/ |
gl_fence.cc | 23 << "Trying to create fence with no context"; 25 scoped_ptr<GLFence> fence; local 29 fence.reset(new GLFenceARB(flush)); 32 fence.reset(new GLFenceEGL(flush)); 35 fence.reset(new GLFenceNV(flush)); 38 DCHECK_EQ(!!fence.get(), GLFence::IsSupported()); 39 return fence.release();
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
math_semantic_tree_test.unitjs | 517 // No fence. 534 '<fence>(</fence>' + 535 '<fence>)</fence>' + 546 '<fence>(</fence>' + 547 '<fence>)</fence>' + 574 '<fence>(</fence>' [all...] |
/frameworks/native/opengl/specs/ |
EGL_ANDROID_native_fence_sync.txt | 39 This extension enables the creation of EGL fence sync objects that are 40 associated with a native synchronization fence object that is referenced 41 using a file descriptor. These EGL fence sync objects have nearly 44 referring to the native fence object. 46 This extension assumes the existence of a native fence synchronization 47 object that behaves similarly to an EGL fence sync object. These native 49 indicates whether the fence has ever been signaled. Once signaled the 89 "If <type> is EGL_SYNC_NATIVE_FENCE_ANDROID, an EGL native fence sync 92 must be set to either a file descriptor that refers to a native fence 95 The default values for the EGL native fence sync object attributes are a [all...] |
/external/llvm/test/Transforms/LowerAtomic/ |
barrier.ll | 5 fence seq_cst
|
/system/core/libsync/tests/ |
sync_test.cpp | 77 // Wrapper class for sync fence. 112 SyncFence(SyncFence &&fence) noexcept { 113 if (fence.isValid()) { 114 setFd(fence.getFd()); 115 fence.clearFd(); 118 SyncFence(const SyncFence &fence) noexcept { 121 if (fence.isValid()) { 122 int fd = dup(fence.getFd()); 222 TEST(AllocTest, Fence) { 226 SyncFence fence(timeline, 1) [all...] |