diff options
author | Rob Clark <[email protected]> | 2016-08-13 10:51:51 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-08-16 09:21:13 -0400 |
commit | 142dd7b9c043fca81f8ef1d0bbd378968f9260df (patch) | |
tree | 7f08641e24bd5a9335f704301f3ba6a6a008750a /src/gallium/auxiliary/util/u_blitter.h | |
parent | 2b2f436c696c4da9e1a45fb03406876340ae31ed (diff) |
gallium/u_blitter: split out a helper for common clear state
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_blitter.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_blitter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_blitter.h b/src/gallium/auxiliary/util/u_blitter.h index 0f5da6bd3a7..d7d9f4a40ee 100644 --- a/src/gallium/auxiliary/util/u_blitter.h +++ b/src/gallium/auxiliary/util/u_blitter.h @@ -542,6 +542,11 @@ util_blitter_save_render_condition(struct blitter_context *blitter, blitter->saved_render_cond_cond = condition; } +void util_blitter_common_clear_setup(struct blitter_context *blitter, + unsigned width, unsigned height, + unsigned clear_buffers, + void *custom_blend, void *custom_dsa); + void util_blitter_set_running_flag(struct blitter_context *blitter); void util_blitter_unset_running_flag(struct blitter_context *blitter); |