summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-08-06 04:16:18 -0400
committerMarek Olšák <[email protected]>2018-08-14 21:18:59 -0400
commit15fc0f8d4ab78c4680e0ec8ea9d6af6dda656b69 (patch)
treeb566d8851ae63626a157cc1b6cbfdb4d5834fac0
parent7c8716e4fb1a5c7dfacbbf84c6d1e1c382166ed5 (diff)
noop: implement set_window_rectangles
Reviewed-by: Samuel Pitoiset <[email protected]>
-rw-r--r--src/gallium/auxiliary/driver_noop/noop_state.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/driver_noop/noop_state.c b/src/gallium/auxiliary/driver_noop/noop_state.c
index 80cfae8ad49..11e2c173a37 100644
--- a/src/gallium/auxiliary/driver_noop/noop_state.c
+++ b/src/gallium/auxiliary/driver_noop/noop_state.c
@@ -247,6 +247,13 @@ static void noop_set_stream_output_targets(struct pipe_context *ctx,
{
}
+static void noop_set_window_rectangles(struct pipe_context *ctx,
+ boolean include,
+ unsigned num_rectangles,
+ const struct pipe_scissor_state *rects)
+{
+}
+
void noop_init_state_functions(struct pipe_context *ctx);
void noop_init_state_functions(struct pipe_context *ctx)
@@ -297,6 +304,7 @@ void noop_init_state_functions(struct pipe_context *ctx)
ctx->set_stencil_ref = noop_set_stencil_ref;
ctx->set_vertex_buffers = noop_set_vertex_buffers;
ctx->set_viewport_states = noop_set_viewport_states;
+ ctx->set_window_rectangles = noop_set_window_rectangles;
ctx->sampler_view_destroy = noop_sampler_view_destroy;
ctx->surface_destroy = noop_surface_destroy;
ctx->draw_vbo = noop_draw_vbo;