gallium,hud: allow displaying cumulative values instead of average
authorMarek Olšák <marek.olsak@amd.com>
Sun, 2 Aug 2015 15:24:30 +0000 (17:24 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 6 Aug 2015 18:44:36 +0000 (20:44 +0200)
commit97a65d90fe88e6b4b4a42d866b23e73ce72f6dc2
tree4868a2852136d54c8068a50b201a70dbc015e0ce
parent130a03e360e6aebe93e86b1d522ebf22371aa2d4
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 <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/auxiliary/hud/hud_context.c
src/gallium/auxiliary/hud/hud_driver_query.c
src/gallium/auxiliary/hud/hud_private.h
src/gallium/include/pipe/p_defines.h