st/mesa: add support for batch driver queries to perfmon
authorNicolai Hähnle <nhaehnle@gmail.com>
Thu, 12 Nov 2015 14:09:21 +0000 (15:09 +0100)
committerNicolai Hähnle <nhaehnle@gmail.com>
Fri, 20 Nov 2015 16:27:36 +0000 (17:27 +0100)
commit6a14a39fab805b1471101afc6d6d1d843b5f16ec
tree299db6f3c9329e29ce56eb611596924b6df8ce46
parent424a614ff1105dcb5195178cb8f04ac46b8c0d8a
st/mesa: add support for batch driver queries to perfmon

v2 + v3: forgot null-pointer checks (spotted by Samuel Pitoiset)

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/mesa/state_tracker/st_cb_perfmon.c
src/mesa/state_tracker/st_cb_perfmon.h