OSDN Git Service

gallium/hud: add a simple HUD view that only draws text
authorMarek Olšák <marek.olsak@amd.com>
Wed, 4 Apr 2018 22:20:53 +0000 (18:20 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 13 Apr 2018 18:07:20 +0000 (14:07 -0400)
commitb6ad7075b93bcea157eb74fc3129d61b1fb2a5ca
treea57bdd46ed7061c656caa029bd1061b1ae3966bd
parent506671594a8e6c6ce9fa9bfab89db54eb2b45eb2
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".
src/gallium/auxiliary/hud/hud_context.c
src/gallium/auxiliary/hud/hud_private.h