gallium/hud: add support for PIPE_QUERY_PIPELINE_STATISTICS
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Fri, 29 Mar 2013 12:56:35 +0000 (13:56 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 3 Apr 2013 10:54:43 +0000 (12:54 +0200)
commit3d2790cead7eb744341e8b1708b7a6d03524768d
tree3e078dfc33a1d8b744d820d6b4b4420ed5bc10c6
parentc620aad71c2fe147dd2435c27053b435801a5237
gallium/hud: add support for PIPE_QUERY_PIPELINE_STATISTICS

Also, renamed "pixels-rendered" to "samples-passed" because the
occlusion counter increments even if colour and depth writes are
disabled, or (on some implementations) for killed fragments that
passed the depth test when PS early_fragment_tests is set.
src/gallium/auxiliary/hud/hud_context.c
src/gallium/auxiliary/hud/hud_cpu.c
src/gallium/auxiliary/hud/hud_driver_query.c
src/gallium/auxiliary/hud/hud_private.h