Bug 68445

Summary: New option to GALLIUM_HUD
Product: Mesa Reporter: Vladimir Usikov <grantipak>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: medium CC: grantipak
Version: git   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Vladimir Usikov 2013-08-22 18:02:34 UTC
Some time ago Marek Olšák add new helpful feature "GALLIUM_HUD". Many thanks to him for that!

I would like to see another additional option which is similar to an existing GALLIUM_HUD = fps, but more simple. No graph, just the number of fps, with a choice of possible angle that will be. As in the program fraps under windows. Or, for ease of use add such an option in drirc?
Comment 1 Timothy Arceri 2018-05-01 07:04:58 UTC
You should now be able to do what you are requesting since this commit:

author	Marek Olšák <marek.olsak@amd.com>
commit	b6ad7075b93bcea157eb74fc3129d61b1fb2a5ca

gallium/hud: add a simple HUD view that only draws text

Add this prefix to the env var: "simple," For example:
    GALLIUM_HUD=simple,fps

The X coordinates are the same, but the Y coordinates are different, because
there is only text.

'+' happens to behave the same as "\n".
',' happens to behave the same as "\n\n".

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.