Home | History | Annotate | Download | only in freedreno

Lines Matching refs:batch

62 /* A batch tracks everything about a cmdstream batch/submit, including the
119 unsigned num_draws; /* number of draws in current batch */
122 * batch. Used at the tile rendering step (fd_gmem_render_tiles(),
161 /* next sample offset.. incremented for each sample in the batch/
171 /* which sample providers were active in the current batch: */
179 /* list of samples in current batch: */
188 /* Set of resources used by currently-unsubmitted batch (read or
193 /** key in batch-cache (if not null): */
203 void fd_batch_reset(struct fd_batch *batch);
204 void fd_batch_sync(struct fd_batch *batch);
205 void fd_batch_flush(struct fd_batch *batch, bool sync);
206 void fd_batch_resource_used(struct fd_batch *batch, struct fd_resource *rsc, bool write);
207 void fd_batch_check_size(struct fd_batch *batch);
210 void __fd_batch_describe(char* buf, const struct fd_batch *batch);
211 void __fd_batch_destroy(struct fd_batch *batch);
215 * a batch.. so either use fd_batch_reference() (which grabs the lock
225 fd_batch_reference(struct fd_batch **ptr, struct fd_batch *batch)
228 if (pipe_reference_described(&(*ptr)->reference, &batch->reference,
231 *ptr = batch;
240 fd_batch_reference_locked(struct fd_batch **ptr, struct fd_batch *batch)
246 else if (batch)
247 fd_context_assert_locked(batch->ctx);
249 if (pipe_reference_described(&(*ptr)->reference, &batch->reference,
256 *ptr = batch;
262 fd_reset_wfi(struct fd_batch *batch)
264 batch->needs_wfi = true;
267 void fd_wfi(struct fd_batch *batch, struct fd_ringbuffer *ring);
272 fd_event_write(struct fd_batch *batch, struct fd_ringbuffer *ring,
277 fd_reset_wfi(batch);