Searched refs:fence (Results 1 - 25 of 206) sorted by relevance

123456789

/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_fence.c36 * 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 Dlp_fence.h60 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 Dlp_flush.c43 * \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 Dlp_query.h46 struct lp_fence *fence; /* fence from last scene this was binned in */ member in struct:llvmpipe_query
H A Dlp_query.c70 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 Dnouveau_fence.c34 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 Dnouveau_fence.h41 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 Dsp_fence.c37 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 Dsp_flush.h41 struct pipe_fence_handle **fence);
45 struct pipe_fence_handle **fence );
H A Dsp_flush.c47 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 Di915_sw_fence.c15 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 Dpb_buffer_fenced.h38 * - 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 Di915_drm_fence.c8 * 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 Dvmw_fence.c29 * 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 Dvmw_fence.h44 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 Di915_flush.c42 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 Di915_batch.h50 #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 Dapi_context.c67 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 Dst_cb_flush.c80 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 Dst_cb_flush.h44 struct pipe_fence_handle **fence);
H A Dst_cb_syncobj.c43 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 Dsw_sync.h23 __s32 fence; /* fd of new fence */ member in struct:sw_sync_create_fence_data
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_flush.c35 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 Dqueue.cpp47 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 DnanobenchAndroid.cpp15 this->renderer.fence();
34 void HWUITarget::fence() { function in class:HWUITarget
35 this->renderer.fence();

Completed in 7897 milliseconds

123456789