aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_context.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2017-11-22 12:37:15 -0500
committerRob Clark <[email protected]>2017-12-17 12:41:32 -0500
commit37464efa3f80c141c2d73af5615e401763b2bbc8 (patch)
tree65f99b572076668d4f1cd5e27ec5466472ba0166 /src/gallium/drivers/freedreno/freedreno_context.h
parentb852c3bf67cf1a047b8d17391506b19b5d1bdb70 (diff)
freedreno: add generic blitter
Basically a clone of util_blitter_blit() but with special handling to blit PIPE_BUFFER as a PIPE_TEXTURE_1D. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_context.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_context.h b/src/gallium/drivers/freedreno/freedreno_context.h
index 02656e82519..1e9911ea9bf 100644
--- a/src/gallium/drivers/freedreno/freedreno_context.h
+++ b/src/gallium/drivers/freedreno/freedreno_context.h
@@ -329,6 +329,9 @@ struct fd_context {
struct fd_ringbuffer *ring);
void (*query_set_stage)(struct fd_batch *batch, enum fd_render_stage stage);
+ /* blit: */
+ void (*blit)(struct fd_context *ctx, const struct pipe_blit_info *info);
+
/*
* Common pre-cooked VBO state (used for a3xx and later):
*/