Mesa (master): noop: implement set_window_rectangles

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Aug 15 01:19:23 UTC 2018


Module: Mesa
Branch: master
Commit: 15fc0f8d4ab78c4680e0ec8ea9d6af6dda656b69
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15fc0f8d4ab78c4680e0ec8ea9d6af6dda656b69

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Aug  6 04:16:18 2018 -0400

noop: implement set_window_rectangles

Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

---

 src/gallium/auxiliary/driver_noop/noop_state.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/gallium/auxiliary/driver_noop/noop_state.c b/src/gallium/auxiliary/driver_noop/noop_state.c
index 80cfae8ad4..11e2c173a3 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;




More information about the mesa-commit mailing list