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

1234567891011>>

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/
H A Dnouveau_fence.c33 nouveau_fence_new(struct nouveau_screen *screen, struct nouveau_fence **fence) argument
35 *fence = CALLOC_STRUCT(nouveau_fence);
36 if (!*fence)
39 (*fence)->screen = screen;
40 (*fence)->ref = 1;
41 list_inithead(&(*fence)->work);
47 nouveau_fence_trigger_work(struct nouveau_fence *fence) argument
51 LIST_FOR_EACH_ENTRY_SAFE(work, tmp, &fence->work, list) {
59 nouveau_fence_emit(struct nouveau_fence *fence) argument
61 struct nouveau_screen *screen = fence
84 nouveau_fence_del(struct nouveau_fence * fence) argument
130 struct nouveau_fence *fence; local in function:nouveau_fence_update
164 nouveau_fence_signalled(struct nouveau_fence * fence) argument
178 nouveau_fence_kick(struct nouveau_fence * fence) argument
207 nouveau_fence_wait(struct nouveau_fence * fence,struct pipe_debug_callback * debug) argument
269 nouveau_fence_work(struct nouveau_fence * fence,void (* func)(void *),void * data) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/
H A Dnouveau_fence.c33 nouveau_fence_new(struct nouveau_screen *screen, struct nouveau_fence **fence) argument
35 *fence = CALLOC_STRUCT(nouveau_fence);
36 if (!*fence)
39 (*fence)->screen = screen;
40 (*fence)->ref = 1;
41 LIST_INITHEAD(&(*fence)->work);
47 nouveau_fence_trigger_work(struct nouveau_fence *fence) argument
51 LIST_FOR_EACH_ENTRY_SAFE(work, tmp, &fence->work, list) {
59 nouveau_fence_emit(struct nouveau_fence *fence) argument
61 struct nouveau_screen *screen = fence
84 nouveau_fence_del(struct nouveau_fence * fence) argument
114 struct nouveau_fence *fence; local in function:nouveau_fence_update
148 nouveau_fence_signalled(struct nouveau_fence * fence) argument
162 nouveau_fence_kick(struct nouveau_fence * fence) argument
191 nouveau_fence_wait(struct nouveau_fence * fence,struct pipe_debug_callback * debug) argument
253 nouveau_fence_work(struct nouveau_fence * fence,void (* func)(void *),void * data) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_fence.c37 /* fence holds a weak reference to the batch until the batch is flushed,
48 static void fence_flush(struct pipe_fence_handle *fence) argument
50 if (fence->batch)
51 fd_batch_flush(fence->batch, true, true);
52 debug_assert(!fence->batch);
55 void fd_fence_populate(struct pipe_fence_handle *fence, argument
58 if (!fence->batch)
60 fence->timestamp = timestamp;
61 fence->fence_fd = fence_fd;
62 fence
65 fd_fence_destroy(struct pipe_fence_handle * fence) argument
83 fd_fence_finish(struct pipe_screen * pscreen,struct pipe_context * ctx,struct pipe_fence_handle * fence,uint64_t timeout) argument
104 struct pipe_fence_handle *fence; local in function:fence_create
129 fd_fence_server_sync(struct pipe_context * pctx,struct pipe_fence_handle * fence) argument
146 fd_fence_get_fd(struct pipe_screen * pscreen,struct pipe_fence_handle * fence) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_fence.c38 fence_flush(struct pipe_context *pctx, struct pipe_fence_handle *fence, argument
45 if (!util_queue_fence_is_signalled(&fence->ready)) {
46 if (fence->tc_token) {
47 threaded_context_flush(pctx, fence->tc_token, timeout == 0);
54 util_queue_fence_wait(&fence->ready);
57 if (!util_queue_fence_wait_timeout(&fence->ready, abs_timeout)) {
62 util_queue_fence_wait(&fence->submit_fence.ready);
64 /* We've already waited for batch to be flushed and fence->batch
67 assert(!fence->batch);
71 if (fence
82 fd_fence_repopulate(struct pipe_fence_handle * fence,struct pipe_fence_handle * last_fence) argument
102 fd_fence_destroy(struct pipe_fence_handle * fence) argument
133 fd_fence_finish(struct pipe_screen * pscreen,struct pipe_context * pctx,struct pipe_fence_handle * fence,uint64_t timeout) argument
164 struct pipe_fence_handle *fence; local in function:fence_create
214 fd_fence_server_sync(struct pipe_context * pctx,struct pipe_fence_handle * fence) argument
238 fd_fence_server_signal(struct pipe_context * pctx,struct pipe_fence_handle * fence) argument
249 fd_fence_get_fd(struct pipe_screen * pscreen,struct pipe_fence_handle * fence) argument
265 fd_fence_is_fd(struct pipe_fence_handle * fence) argument
277 fd_fence_set_batch(struct pipe_fence_handle * fence,struct fd_batch * batch) argument
300 struct pipe_fence_handle *fence = local in function:fd_fence_create_unflushed
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_sync.c52 /** The fence waits for completion of brw_fence::batch_bo. */
55 /** The fence waits for brw_fence::sync_fd to signal. */
72 struct brw_fence fence; member in struct:brw_gl_sync
76 brw_fence_init(struct brw_context *brw, struct brw_fence *fence, argument
79 fence->brw = brw;
80 fence->type = type;
81 mtx_init(&fence->mutex, mtx_plain);
85 fence->batch_bo = NULL;
88 fence->sync_fd = -1;
94 brw_fence_finish(struct brw_fence *fence) argument
111 brw_fence_insert_locked(struct brw_context * brw,struct brw_fence * fence) argument
187 brw_fence_insert(struct brw_context * brw,struct brw_fence * fence) argument
199 brw_fence_has_completed_locked(struct brw_fence * fence) argument
235 brw_fence_has_completed(struct brw_fence * fence) argument
247 brw_fence_client_wait_locked(struct brw_context * brw,struct brw_fence * fence,uint64_t timeout) argument
303 brw_fence_client_wait(struct brw_context * brw,struct brw_fence * fence,uint64_t timeout) argument
316 brw_fence_server_wait(struct brw_context * brw,struct brw_fence * fence) argument
424 struct brw_fence *fence; local in function:brw_dri_create_fence
444 struct brw_fence *fence = _fence; local in function:brw_dri_destroy_fence
454 struct brw_fence *fence = _fence; local in function:brw_dri_client_wait_sync
462 struct brw_fence *fence = _fence; local in function:brw_dri_server_wait_sync
489 struct brw_fence *fence; local in function:brw_dri_create_fence_fd
519 brw_dri_get_fence_fd_locked(struct brw_fence * fence) argument
528 struct brw_fence *fence = _fence; local in function:brw_dri_get_fence_fd
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Du_queue.h60 /* Job completion fence.
64 /* The fence can be in one of three states:
73 util_queue_fence_init(struct util_queue_fence *fence) argument
75 fence->val = 0;
79 util_queue_fence_destroy(struct util_queue_fence *fence) argument
81 assert(fence->val == 0);
86 util_queue_fence_signal(struct util_queue_fence *fence) argument
88 uint32_t val = p_atomic_xchg(&fence->val, 0);
93 futex_wake(&fence->val, INT_MAX);
97 * Move \p fence bac
103 util_queue_fence_reset(struct util_queue_fence * fence) argument
114 util_queue_fence_is_signalled(struct util_queue_fence * fence) argument
141 util_queue_fence_reset(struct util_queue_fence * fence) argument
148 util_queue_fence_is_signalled(struct util_queue_fence * fence) argument
158 util_queue_fence_wait(struct util_queue_fence * fence) argument
178 util_queue_fence_wait_timeout(struct util_queue_fence * fence,int64_t abs_timeout) argument
196 struct util_queue_fence *fence; member in struct:util_queue_job
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/
H A Du_queue.h62 /* Job completion fence.
66 /* The fence can be in one of three states:
75 util_queue_fence_init(struct util_queue_fence *fence) argument
77 fence->val = 0;
81 util_queue_fence_destroy(struct util_queue_fence *fence) argument
83 assert(p_atomic_read_relaxed(&fence->val) == 0);
88 util_queue_fence_signal(struct util_queue_fence *fence) argument
90 uint32_t val = p_atomic_xchg(&fence->val, 0);
95 futex_wake(&fence->val, INT_MAX);
99 * Move \p fence bac
105 util_queue_fence_reset(struct util_queue_fence * fence) argument
116 util_queue_fence_is_signalled(struct util_queue_fence * fence) argument
143 util_queue_fence_reset(struct util_queue_fence * fence) argument
150 util_queue_fence_is_signalled(struct util_queue_fence * fence) argument
160 util_queue_fence_wait(struct util_queue_fence * fence) argument
180 util_queue_fence_wait_timeout(struct util_queue_fence * fence,int64_t abs_timeout) argument
200 struct util_queue_fence *fence; member in struct:util_queue_job
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/
H A Dswr_fence.cpp47 struct swr_fence *fence = (struct swr_fence *)userData; local in function:swr_fence_cb
49 /* Complete all work attached to the fence */
50 swr_fence_do_work(fence);
52 /* Correct value is in SwrSync data, and not the fence write field. */
53 /* Contexts may not finish in order, but fence value always increases */
54 if (fence->read < userData2)
55 fence->read = userData2;
59 * Submit an existing fence.
64 struct swr_fence *fence = swr_fence(fh); local in function:swr_fence_submit
66 fence
78 struct swr_fence *fence = CALLOC_STRUCT(swr_fence); local in function:swr_fence_create
91 swr_fence_destroy(struct swr_fence * fence) argument
106 struct swr_fence *fence = swr_fence(f); local in function:swr_fence_reference
[all...]
H A Dswr_fence_work.h40 void swr_fence_do_work(struct swr_fence *fence);
42 bool swr_fence_work_free(struct pipe_fence_handle *fence, void *data,
44 bool swr_fence_work_delete_vs(struct pipe_fence_handle *fence,
46 bool swr_fence_work_delete_fs(struct pipe_fence_handle *fence,
48 bool swr_fence_work_delete_gs(struct pipe_fence_handle *fence,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/
H A Dlima_fence.c45 struct pipe_fence_handle **fence,
49 *fence = lima_fence_create(fcntl(fd, F_DUPFD_CLOEXEC, 3));
54 struct pipe_fence_handle *fence)
58 lima_submit_add_in_sync(ctx->gp_submit, fence->fd);
70 struct pipe_fence_handle *fence; local in function:lima_fence_create
72 fence = CALLOC_STRUCT(pipe_fence_handle);
73 if (!fence)
76 pipe_reference_init(&fence->reference, 1);
77 fence->fd = fd;
79 return fence;
44 lima_create_fence_fd(struct pipe_context * pctx,struct pipe_fence_handle ** fence,int fd,enum pipe_fd_type type) argument
53 lima_fence_server_sync(struct pipe_context * pctx,struct pipe_fence_handle * fence) argument
83 lima_fence_get_fd(struct pipe_screen * pscreen,struct pipe_fence_handle * fence) argument
90 lima_fence_destroy(struct pipe_fence_handle * fence) argument
98 lima_fence_reference(struct pipe_screen * pscreen,struct pipe_fence_handle ** ptr,struct pipe_fence_handle * fence) argument
108 lima_fence_finish(struct pipe_screen * pscreen,struct pipe_context * pctx,struct pipe_fence_handle * fence,uint64_t timeout) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/
H A Dlima_fence.c46 struct pipe_fence_handle **fence,
50 *fence = lima_fence_create(os_dupfd_cloexec(fd));
55 struct pipe_fence_handle *fence)
59 sync_accumulate("lima", &ctx->in_sync_fd, fence->fd);
71 struct pipe_fence_handle *fence; local in function:lima_fence_create
73 fence = CALLOC_STRUCT(pipe_fence_handle);
74 if (!fence)
77 pipe_reference_init(&fence->reference, 1);
78 fence->fd = fd;
80 return fence;
45 lima_create_fence_fd(struct pipe_context * pctx,struct pipe_fence_handle ** fence,int fd,enum pipe_fd_type type) argument
54 lima_fence_server_sync(struct pipe_context * pctx,struct pipe_fence_handle * fence) argument
84 lima_fence_get_fd(struct pipe_screen * pscreen,struct pipe_fence_handle * fence) argument
91 lima_fence_destroy(struct pipe_fence_handle * fence) argument
99 lima_fence_reference(struct pipe_screen * pscreen,struct pipe_fence_handle ** ptr,struct pipe_fence_handle * fence) argument
109 lima_fence_finish(struct pipe_screen * pscreen,struct pipe_context * pctx,struct pipe_fence_handle * fence,uint64_t timeout) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/
H A Dswr_fence.cpp47 struct swr_fence *fence = (struct swr_fence *)userData; local in function:swr_fence_cb
49 /* Complete all work attached to the fence */
50 swr_fence_do_work(fence);
52 /* Correct value is in SwrSync data, and not the fence write field. */
53 /* Contexts may not finish in order, but fence value always increases */
54 if (fence->read < userData2)
55 fence->read = userData2;
59 * Submit an existing fence.
64 struct swr_fence *fence = swr_fence(fh); local in function:swr_fence_submit
66 fence
78 struct swr_fence *fence = CALLOC_STRUCT(swr_fence); local in function:swr_fence_create
91 swr_fence_destroy(struct swr_fence * fence) argument
106 struct swr_fence *fence = swr_fence(f); local in function:swr_fence_reference
[all...]
H A Dswr_fence_work.h42 void swr_fence_do_work(struct swr_fence *fence);
44 bool swr_fence_work_free(struct pipe_fence_handle *fence, void *data,
46 bool swr_fence_work_delete_vs(struct pipe_fence_handle *fence,
48 bool swr_fence_work_delete_fs(struct pipe_fence_handle *fence,
50 bool swr_fence_work_delete_gs(struct pipe_fence_handle *fence,
52 bool swr_fence_work_delete_tcs(struct pipe_fence_handle *fence,
54 bool swr_fence_work_delete_tes(struct pipe_fence_handle *fence,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_fence.c37 struct pipe_fence_handle *fence)
39 *ptr = fence;
46 struct pipe_fence_handle *fence,
49 assert(fence);
35 softpipe_fence_reference(struct pipe_screen * screen,struct pipe_fence_handle ** ptr,struct pipe_fence_handle * fence) argument
44 softpipe_fence_finish(struct pipe_screen * screen,struct pipe_context * ctx,struct pipe_fence_handle * fence,uint64_t timeout) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_fence.c37 struct pipe_fence_handle *fence)
39 *ptr = fence;
46 struct pipe_fence_handle *fence,
49 assert(fence);
35 softpipe_fence_reference(struct pipe_screen * screen,struct pipe_fence_handle ** ptr,struct pipe_fence_handle * fence) argument
44 softpipe_fence_finish(struct pipe_screen * screen,struct pipe_context * ctx,struct pipe_fence_handle * fence,uint64_t timeout) argument
/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_wsi_display.c37 struct anv_fence *fence; local in function:anv_RegisterDeviceEventEXT
40 fence = vk_object_zalloc(&device->vk, allocator, sizeof (*fence),
42 if (!fence)
45 fence->permanent.type = ANV_FENCE_TYPE_WSI;
51 &fence->permanent.fence_wsi,
54 *_fence = anv_fence_to_handle(fence);
56 vk_free2(&device->vk.alloc, allocator, fence);
68 struct anv_fence *fence; local in function:anv_RegisterDisplayEventEXT
71 fence
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_sync.c55 /** The fence waits for completion of brw_fence::batch_bo. */
58 /** The fence waits for brw_fence::sync_fd to signal. */
75 struct brw_fence fence; member in struct:brw_gl_sync
135 struct drm_i915_gem_exec_fence *fence = local in function:intel_semaphoreobj_signal
137 fence->flags = I915_EXEC_FENCE_SIGNAL;
138 fence->handle = iSemObj->syncobj->handle;
163 brw_fence_init(struct brw_context *brw, struct brw_fence *fence, argument
166 fence->brw = brw;
167 fence->type = type;
168 mtx_init(&fence
181 brw_fence_finish(struct brw_fence * fence) argument
198 brw_fence_insert_locked(struct brw_context * brw,struct brw_fence * fence) argument
274 brw_fence_insert(struct brw_context * brw,struct brw_fence * fence) argument
286 brw_fence_has_completed_locked(struct brw_fence * fence) argument
322 brw_fence_has_completed(struct brw_fence * fence) argument
334 brw_fence_client_wait_locked(struct brw_context * brw,struct brw_fence * fence,uint64_t timeout) argument
390 brw_fence_client_wait(struct brw_context * brw,struct brw_fence * fence,uint64_t timeout) argument
403 brw_fence_server_wait(struct brw_context * brw,struct brw_fence * fence) argument
517 struct brw_fence *fence; local in function:brw_dri_create_fence
537 struct brw_fence *fence = _fence; local in function:brw_dri_destroy_fence
547 struct brw_fence *fence = _fence; local in function:brw_dri_client_wait_sync
555 struct brw_fence *fence = _fence; local in function:brw_dri_server_wait_sync
582 struct brw_fence *fence; local in function:brw_dri_create_fence_fd
612 brw_dri_get_fence_fd_locked(struct brw_fence * fence) argument
621 struct brw_fence *fence = _fence; local in function:brw_dri_get_fence_fd
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_fence.c45 etna_fence_destroy(struct pipe_fence_handle *fence) argument
47 if (fence->fence_fd != -1)
48 close(fence->fence_fd);
49 FREE(fence);
55 struct pipe_fence_handle *fence)
57 if (pipe_reference(&(*ptr)->reference, &fence->reference))
60 *ptr = fence;
65 struct pipe_fence_handle *fence, uint64_t timeout)
67 if (fence->fence_fd != -1)
68 return !sync_wait(fence
53 etna_screen_fence_reference(struct pipe_screen * pscreen,struct pipe_fence_handle ** ptr,struct pipe_fence_handle * fence) argument
64 etna_screen_fence_finish(struct pipe_screen * pscreen,struct pipe_context * ctx,struct pipe_fence_handle * fence,uint64_t timeout) argument
104 struct pipe_fence_handle *fence; local in function:etna_fence_create
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_fence.c46 etna_fence_destroy(struct pipe_fence_handle *fence) argument
48 if (fence->fence_fd != -1)
49 close(fence->fence_fd);
50 FREE(fence);
56 struct pipe_fence_handle *fence)
58 if (pipe_reference(&(*ptr)->reference, &fence->reference))
61 *ptr = fence;
66 struct pipe_fence_handle *fence, uint64_t timeout)
68 if (fence->fence_fd != -1)
69 return !sync_wait(fence
54 etna_screen_fence_reference(struct pipe_screen * pscreen,struct pipe_fence_handle ** ptr,struct pipe_fence_handle * fence) argument
65 etna_screen_fence_finish(struct pipe_screen * pscreen,struct pipe_context * ctx,struct pipe_fence_handle * fence,uint64_t timeout) argument
106 struct pipe_fence_handle *fence; local in function:etna_fence_create
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/
H A Dtu_fence.c33 * Internally, a fence can be in one of these states.
43 tu_fence_get_state(const struct tu_fence *fence) argument
45 if (fence->signaled)
46 assert(fence->fd < 0);
48 if (fence->signaled)
50 else if (fence->fd >= 0)
57 tu_fence_set_state(struct tu_fence *fence, enum tu_fence_state state, int fd) argument
59 if (fence->fd >= 0)
60 close(fence->fd);
65 fence
85 tu_fence_init(struct tu_fence * fence,bool signaled) argument
92 tu_fence_finish(struct tu_fence * fence) argument
108 tu_fence_update_fd(struct tu_fence * fence,int fd) argument
119 tu_fence_copy(struct tu_fence * fence,const struct tu_fence * src) argument
140 tu_fence_signal(struct tu_fence * fence) argument
150 tu_fence_wait_idle(struct tu_fence * fence) argument
168 struct tu_fence *fence = local in function:tu_CreateFence
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/
H A Dintel_syncobj.c49 /** The fence waits for completion of this batch. */
58 struct intel_fence fence; member in struct:intel_gl_sync_object
62 intel_fence_finish(struct intel_fence *fence) argument
64 if (fence->batch_bo)
65 drm_intel_bo_unreference(fence->batch_bo);
69 intel_fence_insert(struct intel_context *intel, struct intel_fence *fence) argument
71 assert(!fence->batch_bo);
72 assert(!fence->signalled);
75 fence->batch_bo = intel->batch.bo;
76 drm_intel_bo_reference(fence
81 intel_fence_has_completed_locked(struct intel_fence * fence) argument
97 intel_fence_has_completed(struct intel_fence * fence) argument
109 intel_fence_client_wait_locked(struct intel_context * intel,struct intel_fence * fence,uint64_t timeout) argument
140 intel_fence_client_wait(struct intel_context * intel,struct intel_fence * fence,uint64_t timeout) argument
153 intel_fence_server_wait(struct intel_context * intel,struct intel_fence * fence) argument
238 struct intel_fence *fence; local in function:intel_dri_create_fence
254 struct intel_fence *fence = driver_fence; local in function:intel_dri_destroy_fence
264 struct intel_fence *fence = driver_fence; local in function:intel_dri_client_wait_sync
272 struct intel_fence *fence = driver_fence; local in function:intel_dri_server_wait_sync
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/
H A Dintel_syncobj.c47 /** The fence waits for completion of this batch. */
56 struct intel_fence fence; member in struct:intel_gl_sync_object
60 intel_fence_finish(struct intel_fence *fence) argument
62 if (fence->batch_bo)
63 drm_intel_bo_unreference(fence->batch_bo);
67 intel_fence_insert(struct intel_context *intel, struct intel_fence *fence) argument
69 assert(!fence->batch_bo);
70 assert(!fence->signalled);
73 fence->batch_bo = intel->batch.bo;
74 drm_intel_bo_reference(fence
79 intel_fence_has_completed_locked(struct intel_fence * fence) argument
95 intel_fence_has_completed(struct intel_fence * fence) argument
107 intel_fence_client_wait_locked(struct intel_context * intel,struct intel_fence * fence,uint64_t timeout) argument
138 intel_fence_client_wait(struct intel_context * intel,struct intel_fence * fence,uint64_t timeout) argument
151 intel_fence_server_wait(struct intel_context * intel,struct intel_fence * fence) argument
236 struct intel_fence *fence; local in function:intel_dri_create_fence
252 struct intel_fence *fence = driver_fence; local in function:intel_dri_destroy_fence
262 struct intel_fence *fence = driver_fence; local in function:intel_dri_client_wait_sync
270 struct intel_fence *fence = driver_fence; local in function:intel_dri_server_wait_sync
[all...]
/xsrc/external/mit/MesaLib.old/dist/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 in function:lp_fence_create
50 if (!fence)
53 pipe_reference_init(&fence->reference, 1);
55 (void) mtx_init(&fence->mutex, mtx_plain);
56 cnd_init(&fence
70 lp_fence_destroy(struct lp_fence * fence) argument
86 lp_fence_signal(struct lp_fence * fence) argument
[all...]
/xsrc/external/mit/MesaLib/dist/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 in function:lp_fence_create
50 if (!fence)
53 pipe_reference_init(&fence->reference, 1);
55 (void) mtx_init(&fence->mutex, mtx_plain);
56 cnd_init(&fence
70 lp_fence_destroy(struct lp_fence * fence) argument
86 lp_fence_signal(struct lp_fence * fence) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/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...]

Completed in 11 milliseconds

1234567891011>>