Re: [Mesa-dev] [PATCH v2] gallium/hud: use double values for all graphs

2017-07-14 Thread Marek Olšák
Pushed, thanks! Marek On Fri, Jul 14, 2017 at 9:59 AM, Christoph Haag wrote: > 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 stor

[Mesa-dev] [PATCH v2] gallium/hud: use double values for all graphs

2017-07-14 Thread Christoph Haag
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 roundi