diff options
author | Marek Olšák <[email protected]> | 2015-08-02 17:24:30 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-08-06 20:44:36 +0200 |
commit | 97a65d90fe88e6b4b4a42d866b23e73ce72f6dc2 (patch) | |
tree | 4868a2852136d54c8068a50b201a70dbc015e0ce /src/gallium/auxiliary/hud/hud_private.h | |
parent | 130a03e360e6aebe93e86b1d522ebf22371aa2d4 (diff) |
gallium,hud: allow displaying cumulative values instead of average
The cumulative value is useful for queries like the number of shader
compilations.
Reviewed-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/hud/hud_private.h')
-rw-r--r-- | src/gallium/auxiliary/hud/hud_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/hud/hud_private.h b/src/gallium/auxiliary/hud/hud_private.h index 033be534a75..01caf7b8b2c 100644 --- a/src/gallium/auxiliary/hud/hud_private.h +++ b/src/gallium/auxiliary/hud/hud_private.h @@ -90,7 +90,8 @@ void hud_pipe_query_install(struct hud_pane *pane, struct pipe_context *pipe, const char *name, unsigned query_type, unsigned result_index, uint64_t max_value, - enum pipe_driver_query_type type); + enum pipe_driver_query_type type, + enum pipe_driver_query_result_type result_type); boolean hud_driver_query_install(struct hud_pane *pane, struct pipe_context *pipe, const char *name); |