diff options
author | Chia-I Wu <[email protected]> | 2012-12-13 05:35:37 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-04-26 16:16:43 +0800 |
commit | 12dd397d0c2fb1d7015e8eb416f8903918f8f4bb (patch) | |
tree | e664444581800bec0ab82661e16bc949898d3080 /src/gallium/drivers/ilo/ilo_3d.h | |
parent | e6186b0769b2a42a69ca2c5e9ef014b5961ba05d (diff) |
ilo: add support for time/occlusion/primitive queries
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_3d.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_3d.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_3d.h b/src/gallium/drivers/ilo/ilo_3d.h index c9b7bc9ea85..0febec883ff 100644 --- a/src/gallium/drivers/ilo/ilo_3d.h +++ b/src/gallium/drivers/ilo/ilo_3d.h @@ -49,6 +49,11 @@ struct ilo_3d { unsigned mode; } render_condition; + struct list_head occlusion_queries; + struct list_head time_elapsed_queries; + struct list_head prim_generated_queries; + struct list_head prim_emitted_queries; + struct ilo_3d_pipeline *pipeline; }; @@ -68,6 +73,15 @@ void ilo_3d_post_cp_flush(struct ilo_3d *hw3d); void +ilo_3d_begin_query(struct ilo_context *ilo, struct ilo_query *q); + +void +ilo_3d_end_query(struct ilo_context *ilo, struct ilo_query *q); + +void +ilo_3d_process_query(struct ilo_context *ilo, struct ilo_query *q); + +void ilo_init_3d_functions(struct ilo_context *ilo); #endif /* ILO_3D_H */ |