freedreno: Count blits in GL_TIME_ELAPSED and perf counter queries.
authorEric Anholt <eric@anholt.net>
Fri, 27 Mar 2020 17:54:19 +0000 (10:54 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 30 Mar 2020 21:35:21 +0000 (21:35 +0000)
commit7ef61c1f1008f26a53db5fdfdb39ea1968c40284
treeab44e1aced0c8714ae0874d4bee6435061557939
parent4a0783994810fd00e0a6727e902796dc2abe2b41
freedreno: Count blits in GL_TIME_ELAPSED and perf counter queries.

Fixes 0 gpu time reported for glBlitFramebuffer in apitrace replay --pgpu.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4356>
src/gallium/drivers/freedreno/a2xx/fd2_query.c
src/gallium/drivers/freedreno/a4xx/fd4_query.c
src/gallium/drivers/freedreno/a5xx/fd5_query.c
src/gallium/drivers/freedreno/a6xx/fd6_blitter.c
src/gallium/drivers/freedreno/a6xx/fd6_query.c