diff options
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_context.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_context.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_context.h b/src/gallium/drivers/ilo/ilo_context.h index 92c2c6ca718..ce6050dee19 100644 --- a/src/gallium/drivers/ilo/ilo_context.h +++ b/src/gallium/drivers/ilo/ilo_context.h @@ -60,6 +60,12 @@ struct ilo_context { struct u_upload_mgr *uploader; struct ilo_state_vector state_vector; + + struct { + struct pipe_query *query; + bool condition; + unsigned mode; + } render_condition; }; static inline struct ilo_context * @@ -71,4 +77,7 @@ ilo_context(struct pipe_context *pipe) void ilo_init_context_functions(struct ilo_screen *is); +bool +ilo_skip_rendering(struct ilo_context *ilo); + #endif /* ILO_CONTEXT_H */ |