gallium/hud: replace byte units flag with pipe_driver_query_type
authorBrian Paul <brianp@vmware.com>
Tue, 7 Jul 2015 15:13:02 +0000 (09:13 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 7 Jul 2015 18:36:48 +0000 (12:36 -0600)
commit86ebd31c672f389f354e11b7aef4513dc8b76f13
treec0322a670db4e1b8d87b9be233f80e650b125fba
parentf025aec906fce0f2918b6f4acb15548dc957ba67
gallium/hud: replace byte units flag with pipe_driver_query_type

Instead of using a boolean 'is bytes' value, use the pipe_driver_query_type
enum type.  This will let is add support for time values in the next patch.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/hud/hud_context.c
src/gallium/auxiliary/hud/hud_driver_query.c
src/gallium/auxiliary/hud/hud_private.h