summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/noop/noop_pipe.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-09-13 00:12:22 +0200
committerMarek Olšák <[email protected]>2012-09-30 18:57:56 +0200
commit2a309dc2b4e78c9e49d5b679cae5cf802b772469 (patch)
tree716465b867b2048f335240bc621605f22c9fea67 /src/gallium/drivers/noop/noop_pipe.c
parentab3070c5fa6d32521c867887288c30231ec5a688 (diff)
gallium: implement blit in driver wrappers
Tested-by: Michel Dänzer <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/noop/noop_pipe.c')
-rw-r--r--src/gallium/drivers/noop/noop_pipe.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/noop/noop_pipe.c b/src/gallium/drivers/noop/noop_pipe.c
index 8e777332be6..6411418c3fe 100644
--- a/src/gallium/drivers/noop/noop_pipe.c
+++ b/src/gallium/drivers/noop/noop_pipe.c
@@ -241,6 +241,12 @@ static void noop_resource_copy_region(struct pipe_context *ctx,
}
+static void noop_blit(struct pipe_context *ctx,
+ const struct pipe_blit_info *info)
+{
+}
+
+
/*
* context
*/
@@ -268,6 +274,7 @@ static struct pipe_context *noop_create_context(struct pipe_screen *screen, void
ctx->clear_render_target = noop_clear_render_target;
ctx->clear_depth_stencil = noop_clear_depth_stencil;
ctx->resource_copy_region = noop_resource_copy_region;
+ ctx->blit = noop_blit;
ctx->create_query = noop_create_query;
ctx->destroy_query = noop_destroy_query;
ctx->begin_query = noop_begin_query;