diff options
author | Marek Olšák <[email protected]> | 2018-08-06 04:15:47 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-08-14 21:18:51 -0400 |
commit | 7c8716e4fb1a5c7dfacbbf84c6d1e1c382166ed5 (patch) | |
tree | ceabc326a966a0d4b23c3ba56b8f31d8ebf9d16b /src/gallium | |
parent | 44f1dcf9b3fd902fbb36a939b45469ed9f9264e6 (diff) |
ddebug: implement set_window_rectangles
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/driver_ddebug/dd_context.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/driver_ddebug/dd_context.c b/src/gallium/auxiliary/driver_ddebug/dd_context.c index dd7b3e086cd..a1b6c971e89 100644 --- a/src/gallium/auxiliary/driver_ddebug/dd_context.c +++ b/src/gallium/auxiliary/driver_ddebug/dd_context.c @@ -410,6 +410,17 @@ static void dd_context_set_tess_state(struct pipe_context *_pipe, pipe->set_tess_state(pipe, default_outer_level, default_inner_level); } +static void dd_context_set_window_rectangles(struct pipe_context *_pipe, + boolean include, + unsigned num_rectangles, + const struct pipe_scissor_state *rects) +{ + struct dd_context *dctx = dd_context(_pipe); + struct pipe_context *pipe = dctx->pipe; + + pipe->set_window_rectangles(pipe, include, num_rectangles, rects); +} + /******************************************************************** * views @@ -824,6 +835,7 @@ dd_context_create(struct dd_screen *dscreen, struct pipe_context *pipe) CTX_INIT(set_shader_buffers); CTX_INIT(set_shader_images); CTX_INIT(set_vertex_buffers); + CTX_INIT(set_window_rectangles); CTX_INIT(create_stream_output_target); CTX_INIT(stream_output_target_destroy); CTX_INIT(set_stream_output_targets); |