Lines Matching defs:batch
64 /* We've already waited for batch to be flushed and fence->batch
67 assert(!fence->batch);
71 if (fence->batch)
72 fd_batch_flush(fence->batch);
76 assert(!fence->batch);
91 assert(!last_fence->batch);
95 /* We have nothing to flush, so nothing will clear the batch reference
96 * (which is normally done when the batch is flushed), so do it now:
161 fence_create(struct fd_context *ctx, struct fd_batch *batch, int fence_fd,
175 fd_fence_set_batch(fence, batch);
271 fd_fence_create(struct fd_batch *batch)
273 return fence_create(batch->ctx, batch, -1, 0);
277 fd_fence_set_batch(struct pipe_fence_handle *fence, struct fd_batch *batch)
279 if (batch) {
280 assert(!fence->batch);
281 fence->batch = batch;
282 fd_batch_needs_flush(batch);
284 fence->batch = NULL;
286 /* When the batch is dis-associated with the fence, we can signal TC