summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_context.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-08-09 00:37:39 +0200
committerMarek Olšák <[email protected]>2016-08-10 01:10:21 +0200
commita909210131494a6a131855d7d344b61b81fbf40e (patch)
treea25cc63fd6c7e7905873916bd3ba9002528b6664 /src/gallium/include/pipe/p_context.h
parenta7c6993a33e894556e45fc2882ad19f34274d689 (diff)
gallium: add render_condition_enable param to clear_render_target/depth_stencil
Reviewed-by: Roland Scheidegger <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe/p_context.h')
-rw-r--r--src/gallium/include/pipe/p_context.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h
index f1de189b676..5359164ee9a 100644
--- a/src/gallium/include/pipe/p_context.h
+++ b/src/gallium/include/pipe/p_context.h
@@ -416,7 +416,8 @@ struct pipe_context {
struct pipe_surface *dst,
const union pipe_color_union *color,
unsigned dstx, unsigned dsty,
- unsigned width, unsigned height);
+ unsigned width, unsigned height,
+ bool render_condition_enabled);
/**
* Clear a depth-stencil surface.
@@ -430,7 +431,8 @@ struct pipe_context {
double depth,
unsigned stencil,
unsigned dstx, unsigned dsty,
- unsigned width, unsigned height);
+ unsigned width, unsigned height,
+ bool render_condition_enabled);
/**
* Clear the texture with the specified texel. Not guaranteed to be a