Lines Matching refs:buffers
66 unsigned buffers = 0, restore_buffers = 0;
82 buffers |= FD_BUFFER_DEPTH;
101 buffers |= FD_BUFFER_STENCIL;
121 buffers |= PIPE_CLEAR_COLOR0 << i;
182 /* Mark streamout buffers as being written.. */
189 /* any buffers that haven't been cleared yet, we need to restore: */
191 /* and any buffers used, need to be resolved: */
192 batch->resolve |= buffers;
207 * Figure out the buffers/features we need:
259 /* Clip the prims we're writing to the size of the SO buffers. */
385 batch_clear_tracking(struct fd_batch *batch, unsigned buffers) assert_dt
399 /* for bookkeeping about which buffers have been cleared (and thus
400 * can fully or partially skip mem2gmem) we need to ignore buffers
406 cleared_buffers = buffers & (FD_BUFFER_ALL & ~batch->restore);
407 batch->cleared |= buffers;
410 batch->resolve |= buffers;
414 if (buffers & PIPE_CLEAR_COLOR)
416 if (buffers & (PIPE_CLEAR_COLOR0 << i))
419 if (buffers & (PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL)) {
433 fd_clear(struct pipe_context *pctx, unsigned buffers,
446 batch_clear_tracking(batch, buffers);
455 batch_clear_tracking(batch, buffers);
466 DBG("%p: %x %ux%u depth=%f, stencil=%u (%s/%s)", batch, buffers, pfb->width,
479 if (ctx->clear(ctx, buffers, color, depth, stencil)) {
492 fd_blitter_clear(pctx, buffers, color, depth, stencil);
511 unsigned buffers, double depth, unsigned stencil,
515 DBG("TODO: buffers=%u, depth=%f, stencil=%u, x=%u, y=%u, w=%u, h=%u",
516 buffers, depth, stencil, x, y, w, h);
558 /* For global buffers, we don't really know if read or written, so assume