diff options
author | Christoph Haag <[email protected]> | 2017-07-14 09:59:38 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-07-14 17:34:39 +0200 |
commit | 98514e9959ae72d371590ca8301341404ce11c00 (patch) | |
tree | 3ed500cc6faf217cf7a415fa95cee3dafeff8266 /src/mesa/main/marshal.h | |
parent | 7e426ef6ec59b739fcf97efa632cf8f21f24b054 (diff) |
gallium/hud: use double values for all graphs
The fps graph for example calculates the fps as double with small
variations based on when query_new_value() is called, which causes
many values to be truncated on the cast to uint64_t.
The HUD internally stores the values as double, so just use double
everywhere instead of fixing this with rounding. Using doubles also
allows the hud to show small variations instead of being clamped to
discrete values.
v2: Don't print decimals in the dump file when not necessary
Signed-off-by: Christoph Haag <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/marshal.h')
0 files changed, 0 insertions, 0 deletions