[Mesa-dev] [PATCH 06/11] gallium/hud: automatically print % if max_value == 100

Marek Olšák maraeo at gmail.com
Mon Aug 3 08:28:02 PDT 2015

On Mon, Aug 3, 2015 at 2:58 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Patches 1-6 are:
> Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> But please, fix the commit message for patches 1 and 3 (ie. gallium/hud
> instead of gallium, hud).
> Btw, it would be good to display floating point numbers when percentage is
> used.
> What do you think ?

Our driver doesn't use the percentage type, because we expose the
queries as uint64_t and set max_value=100. The HUD uses uint64_t
everywhere too. You can add float support if you want, but I don't
think I'd use it.


More information about the mesa-dev mailing list