Searched defs:fence (Results 1 - 25 of 97) sorted by relevance

1234

/external/mesa3d/src/gallium/drivers/llvmpipe/
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_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_context.c97 struct pipe_fence_handle **fence)
99 llvmpipe_flush(pipe, fence, __FUNCTION__);
96 do_flush( struct pipe_context *pipe, struct pipe_fence_handle **fence) argument
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
/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);
/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/kernel-headers/original/uapi/linux/
H A Dsw_sync.h23 __s32 fence; /* fd of new fence */ member in struct:sw_sync_create_fence_data
H A Dsync.h19 * @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...]
/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.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/drivers/nv30/
H A Dnv30_context.c55 nouveau_fence_ref(screen->fence.current, &res->fence);
61 nouveau_fence_ref(screen->fence.current, &res->fence_wr);
70 nv30_context_flush(struct pipe_context *pipe, struct pipe_fence_handle **fence) argument
75 if (fence)
76 nouveau_fence_ref(nv30->screen->base.fence.current,
77 (struct nouveau_fence **)fence);
H A Dnv30_screen.h27 struct nouveau_object *fence; member in struct:nv30_screen
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_flush.c68 struct pipe_fence_handle **fence)
71 struct pb_buffer **rfence = (struct pb_buffer**)fence;
81 /* Create a fence, which is a dummy BO. */
85 /* Add the fence as a dummy relocation. */
95 /* We have to create a fence object, but the command stream is empty
135 struct pipe_fence_handle **fence)
137 r300_flush(pipe, 0, fence);
66 r300_flush(struct pipe_context *pipe, unsigned flags, struct pipe_fence_handle **fence) argument
134 r300_flush_wrapped(struct pipe_context *pipe, struct pipe_fence_handle **fence) argument
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_context.c205 struct pipe_fence_handle *fence = NULL; local
224 svga->swc->flush(svga->swc, &fence);
226 svga_screen_cache_flush(svgascreen, fence);
235 if (fence)
236 svga->pipe.screen->fence_finish( svga->pipe.screen, fence,
241 svgascreen->sws->fence_reference(svgascreen->sws, pfence, fence);
243 svgascreen->sws->fence_reference(svgascreen->sws, &fence, NULL);
/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/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/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/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_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/skia/bench/
H A DnanobenchAndroid.cpp22 this->renderer.proxy->fence();
41 void HWUITarget::fence() { function in class:HWUITarget
42 this->renderer.proxy->fence();
/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_buffer.h40 struct nouveau_fence *fence; member in struct:nv04_resource
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/auxiliary/pipebuffer/
H A Dpb_buffer_malloc.c99 struct pipe_fence_handle *fence)
98 malloc_buffer_fence(struct pb_buffer *buf, struct pipe_fence_handle *fence) argument
H A Dpb_validate.c152 struct pipe_fence_handle *fence)
156 pb_fence(vl->entries[i].buf, fence);
151 pb_validate_fence(struct pb_validate *vl, struct pipe_fence_handle *fence) argument

Completed in 360 milliseconds

1234