/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...] |
lp_fence.h | 60 lp_fence_signal(struct lp_fence *fence); 63 lp_fence_signalled(struct lp_fence *fence); 66 lp_fence_wait(struct lp_fence *fence); 73 lp_fence_destroy(struct lp_fence *fence); 89 lp_fence_issued(const struct lp_fence *fence) 91 return fence->issued;
|
/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...] |
lp_fence.h | 60 lp_fence_signal(struct lp_fence *fence); 63 lp_fence_signalled(struct lp_fence *fence); 66 lp_fence_wait(struct lp_fence *fence); 73 lp_fence_destroy(struct lp_fence *fence); 89 lp_fence_issued(const struct lp_fence *fence) 91 return fence->issued;
|
/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/drivers/softpipe/ |
sp_fence.c | 37 struct pipe_fence_handle *fence) 39 *ptr = fence; 45 struct pipe_fence_handle *fence) 47 assert(fence); 54 struct pipe_fence_handle *fence, 57 assert(fence);
|
sp_flush.h | 41 struct pipe_fence_handle **fence); 45 struct pipe_fence_handle **fence );
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_fence.c | 37 struct pipe_fence_handle *fence) 39 *ptr = fence; 45 struct pipe_fence_handle *fence) 47 assert(fence); 54 struct pipe_fence_handle *fence, 57 assert(fence);
|
sp_flush.h | 41 struct pipe_fence_handle **fence); 45 struct pipe_fence_handle **fence );
|
/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/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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/pipebuffer/ |
pb_buffer_fenced.h | 38 * - the ability for the destruction to be delayed by a fence; 42 * handle. The end-of-life is dictated by the fence signalling. 44 * Between the handle's destruction, and the fence signalling, the buffer is 66 * List of buffers which are awaiting fence signalling. 75 /** Set ptr = fence, with reference counting */ 78 struct pipe_fence_handle *fence ); 81 * Checks whether the fence has been signalled. 86 struct pipe_fence_handle *fence, 90 * Wait for the fence to finish. 95 struct pipe_fence_handle *fence, [all...] |
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
pb_buffer_fenced.h | 38 * - the ability for the destruction to be delayed by a fence; 42 * handle. The end-of-life is dictated by the fence signalling. 44 * Between the handle's destruction, and the fence signalling, the buffer is 66 * List of buffers which are awaiting fence signalling. 75 /** Set ptr = fence, with reference counting */ 78 struct pipe_fence_handle *fence ); 81 * Checks whether the fence has been signalled. 86 struct pipe_fence_handle *fence, 90 * Wait for the fence to finish. 95 struct pipe_fence_handle *fence, [all...] |
/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/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...] |
vmw_fence.h | 44 struct pipe_fence_handle *fence, 48 struct pipe_fence_handle *fence, 53 struct pipe_fence_handle *fence);
|
/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...] |
vmw_fence.h | 44 struct pipe_fence_handle *fence, 48 struct pipe_fence_handle *fence, 53 struct pipe_fence_handle *fence);
|
/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/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_flush.c | 42 struct pipe_fence_handle **fence ) 46 /* Only shortcut this if we have no fence, otherwise we must flush the 47 * empty batchbuffer to get our fence back. 49 if (!fence && i915->batch && (i915->batch->map == i915->batch->ptr)) { 55 FLUSH_BATCH(fence); 69 void i915_flush(struct i915_context *i915, struct pipe_fence_handle **fence) 73 batch->iws->batchbuffer_flush(batch, fence);
|