gallium/hud: add PIPE_DRIVER_QUERY_TYPE_MICROSECONDS for HUD
authorBrian Paul <brianp@vmware.com>
Tue, 7 Jul 2015 15:15:59 +0000 (09:15 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 7 Jul 2015 18:36:48 +0000 (12:36 -0600)
commita804f5824352e4f714779bd9445c09b66d54bc4a
tree867b6dd84acdb016d4ef6a0efc5c4135fcb2722b
parent86ebd31c672f389f354e11b7aef4513dc8b76f13
gallium/hud: add PIPE_DRIVER_QUERY_TYPE_MICROSECONDS for HUD

This allows drivers to report queries in units of microseconds and
have the HUD display "us" (microseconds), "ms" (milliseconds) or "s"
(seconds) on the graph.

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