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

Samuel Pitoiset samuel.pitoiset at gmail.com
Mon Aug 3 09:18:39 PDT 2015



On 08/03/2015 05:28 PM, Marek Olšák wrote:
> 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.

This was a suggestion and it's fine by me for now.

>
> Marek



More information about the mesa-dev mailing list