freedreno: a bit of query refactor
authorRob Clark <robdclark@gmail.com>
Fri, 21 Apr 2017 15:31:20 +0000 (11:31 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 22 Apr 2017 14:03:02 +0000 (10:03 -0400)
commit935623af141930db8cbe1089e448cde4066da114
treec427926a58365ce0ed4aa54395e687f650b987dd
parentdf63ff4d8248d81ecb8d0f3059bf2c67431e6f2f
freedreno: a bit of query refactor

Move a bit more of the logic shared by all query types (active tracking,
etc) into common code.  This avoids introducing a 3rd copy of that logic
for a5xx.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_query.c
src/gallium/drivers/freedreno/freedreno_query_hw.c
src/gallium/drivers/freedreno/freedreno_query_sw.c