/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | 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 70 lp_fence_destroy(struct lp_fence *fence) argument 86 lp_fence_signal(struct lp_fence *fence) argument [all...] |
H A D | 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) argument 91 return fence->issued;
|
H A D | lp_flush.c | 43 * \param fence if non-null, returns pointer to a fence which can be waited on 47 struct pipe_fence_handle **fence, 55 lp_setup_flush(llvmpipe->setup, fence, reason); 81 struct pipe_fence_handle *fence = NULL; local 82 llvmpipe_flush(pipe, &fence, reason); 83 if (fence) { 84 pipe->screen->fence_finish(pipe->screen, fence, PIPE_TIMEOUT_INFINITE); 85 pipe->screen->fence_reference(pipe->screen, &fence, NULL); 46 llvmpipe_flush( struct pipe_context *pipe, struct pipe_fence_handle **fence, const char *reason) argument
|
H A D | lp_query.h | 46 struct lp_fence *fence; /* fence from last scene this was binned in */ member in struct:llvmpipe_query
|
H A D | lp_query.c | 70 if (pq->fence) { 71 if (!lp_fence_issued(pq->fence)) 74 if (!lp_fence_signalled(pq->fence)) 75 lp_fence_wait(pq->fence); 77 lp_fence_reference(&pq->fence, NULL); 94 if (!pq->fence) { 95 /* no fence because there was no scene, so results is zero */ 100 if (!lp_fence_signalled(pq->fence)) { 101 if (!lp_fence_issued(pq->fence)) 107 lp_fence_wait(pq->fence); [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_fence.c | 34 nouveau_fence_new(struct nouveau_screen *screen, struct nouveau_fence **fence, argument 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) argument 56 LIST_FOR_EACH_ENTRY_SAFE(work, tmp, &fence->work, list) { 64 nouveau_fence_work(struct nouveau_fence *fence, argument 84 nouveau_fence_emit(struct nouveau_fence *fence) argument 109 nouveau_fence_del(struct nouveau_fence *fence) argument 139 struct nouveau_fence *fence; local 173 nouveau_fence_signalled(struct nouveau_fence *fence) argument 184 nouveau_fence_wait(struct nouveau_fence *fence) argument [all...] |
H A D | nouveau_fence.h | 41 nouveau_fence_ref(struct nouveau_fence *fence, struct nouveau_fence **ref) argument 43 if (fence) 44 ++fence->ref; 51 *ref = fence; 55 nouveau_fence(struct pipe_fence_handle *fence) argument 57 return (struct nouveau_fence *)fence;
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | 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); 35 softpipe_fence_reference(struct pipe_screen *screen, struct pipe_fence_handle **ptr, struct pipe_fence_handle *fence) argument 44 softpipe_fence_signalled(struct pipe_screen *screen, struct pipe_fence_handle *fence) argument 53 softpipe_fence_finish(struct pipe_screen *screen, struct pipe_fence_handle *fence, uint64_t timeout) argument
|
H A D | sp_flush.h | 41 struct pipe_fence_handle **fence); 45 struct pipe_fence_handle **fence );
|
H A D | sp_flush.c | 47 struct pipe_fence_handle **fence ) 99 if (fence) 100 *fence = (void*)(intptr_t)1; 105 struct pipe_fence_handle **fence ) 107 softpipe_flush(pipe, SP_FLUSH_TEXTURE_CACHE, fence); 149 struct pipe_fence_handle *fence = NULL; local 154 softpipe_flush(pipe, flush_flags, &fence); 156 if (fence) { 161 pipe->screen->fence_finish(pipe->screen, fence, 163 pipe->screen->fence_reference(pipe->screen, &fence, NUL [all...] |
/external/mesa3d/src/gallium/winsys/i915/sw/ |
H A D | 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) 23 i915_sw_fence_reference(struct i915_winsys *iws, struct pipe_fence_handle **ptr, struct pipe_fence_handle *fence) argument 37 i915_sw_fence_signalled(struct i915_winsys *iws, struct pipe_fence_handle *fence) argument 46 i915_sw_fence_finish(struct i915_winsys *iws, struct pipe_fence_handle *fence) argument
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A D | 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/winsys/i915/drm/ |
H A D | 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; 36 i915_drm_fence_reference(struct i915_winsys *iws, struct pipe_fence_handle **ptr, struct pipe_fence_handle *fence) argument 52 i915_drm_fence_signalled(struct i915_winsys *iws, struct pipe_fence_handle *fence) argument 65 i915_drm_fence_finish(struct i915_winsys *iws, struct pipe_fence_handle *fence) argument [all...] |
/external/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | 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) argument 69 return (struct vmw_fence *) fence; 83 struct vmw_fence *fence = CALLOC_STRUCT(vmw_fence); local 120 vmw_fence_reference(struct vmw_winsys_screen *vws, struct pipe_fence_handle **ptr, struct pipe_fence_handle *fence) argument 154 vmw_fence_signalled(struct vmw_winsys_screen *vws, struct pipe_fence_handle *fence, unsigned flag) argument 199 vmw_fence_finish(struct vmw_winsys_screen *vws, struct pipe_fence_handle *fence, unsigned flag) argument 239 vmw_fence_ops_fence_reference(struct pb_fence_ops *ops, struct pipe_fence_handle **ptr, struct pipe_fence_handle *fence) argument 254 vmw_fence_ops_fence_signalled(struct pb_fence_ops *ops, struct pipe_fence_handle *fence, unsigned flag) argument 270 vmw_fence_ops_fence_finish(struct pb_fence_ops *ops, struct pipe_fence_handle *fence, unsigned flag) argument [all...] |
H A D | 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/drivers/i915/ |
H A D | 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) argument 73 batch->iws->batchbuffer_flush(batch, fence);
|
H A D | i915_batch.h | 50 #define FLUSH_BATCH(fence) \ 51 i915_flush(i915, fence) 56 void i915_flush(struct i915_context *i915, struct pipe_fence_handle **fence);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | api_context.c | 67 struct pipe_fence_handle *fence = NULL; local 75 pipe->flush(pipe, &fence); 76 if (fence) { 77 pipe->screen->fence_finish(pipe->screen, fence, 79 pipe->screen->fence_reference(pipe->screen, &fence, NULL);
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_flush.c | 80 struct pipe_fence_handle **fence ) 86 st->pipe->flush( st->pipe, fence ); 95 struct pipe_fence_handle *fence = NULL; local 97 st_flush(st, &fence); 99 if(fence) { 100 st->pipe->screen->fence_finish(st->pipe->screen, fence, 102 st->pipe->screen->fence_reference(st->pipe->screen, &fence, NULL);
|
H A D | st_cb_flush.h | 44 struct pipe_fence_handle **fence);
|
H A D | st_cb_syncobj.c | 43 struct pipe_fence_handle *fence; member in struct:st_sync_object 62 screen->fence_reference(screen, &so->fence, NULL); 73 assert(so->fence == NULL); 75 pipe->flush(pipe, &so->fence); 83 if (so->fence && screen->fence_signalled(screen, so->fence)) { 84 screen->fence_reference(screen, &so->fence, NULL); 97 * already called when creating a fence. */ 99 if (so->fence && 100 screen->fence_finish(screen, so->fence, timeou [all...] |
/external/kernel-headers/original/uapi/linux/ |
H A D | sw_sync.h | 23 __s32 fence; /* fd of new fence */ member in struct:sw_sync_create_fence_data
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_flush.c | 35 struct pipe_fence_handle **fence ) 45 svga_context_flush(svga, fence); 48 __FUNCTION__, fence ? *fence : 0x0);
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
H A D | queue.cpp | 47 pipe_fence_handle *fence = NULL; local 55 // Flush and fence them. 56 pipe->flush(pipe, &fence); 57 std::for_each(first, last, [&](event_ptr &ev) { ev->fence(fence); }); 58 screen->fence_reference(screen, &fence, NULL);
|
/external/skia/bench/ |
H A D | nanobenchAndroid.cpp | 15 this->renderer.fence(); 34 void HWUITarget::fence() { function in class:HWUITarget 35 this->renderer.fence();
|