[Mesa-dev] [Mesa-stable] [PATCH v2 2/2] gallium/hud: display the Celsius temperature unit

Benjamin Bellec b.bellec at gmail.com
Mon Sep 7 12:20:27 PDT 2015


Le 05/09/2015 10:19, Samuel Pitoiset a écrit :
>
> On 09/04/2015 08:57 PM, Benjamin Bellec wrote:
>> Currently, the temperature is displayed with a "%" symbol in
>> gallium/hud, which is quite odd.
>> Marek suggested to only change the value "100" to another value so
>> that this symbol is no more displayed. That works very well. This is
>> the patch #1. I choose "125" because it can be divided nicely by 5,
>> then the threshold displayed on the hud graph are 25/50/75/100/etc.
>> And also because with this, the actual temperature value is generally
>> in the middle of the graph.
>>
>> This second patch is totally optional. It "catch" the value "125" in
>> order to display a "C" instead of nothing.
>>
>> Ref. your suggestion on PIPE_DRIVER_QUERY_TYPE_TEMPERATURE, I'm not
>> skilled enough to answer.
>>
> Your first attempt at writing this patch introduced this
> PIPE_DRIVER_QUERY_TYPE_TEMPERATURE.
> Please, re-introduce it correctly. :)

I don't think to have the skills to do that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150907/3883f77b/attachment.html>


More information about the mesa-dev mailing list