etnaviv: rename hw queries to acc queries
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 26 Jul 2019 08:01:15 +0000 (10:01 +0200)
committerMarge Bot <eric+marge@anholt.net>
Sun, 5 Apr 2020 18:01:43 +0000 (18:01 +0000)
commit46096a4cb40885b202efeb1c3986a54548538a49
tree54d9b8059ccf78ab5a49291d241a52174c05dfcd
parent7af813d48a55a14401df51870feddfaa418397e1
etnaviv: rename hw queries to acc queries

The name hw queries was choosen as occlusion queries are 'feeling'
like nothing special. It is possible to interact with them only
via the command stream - unlike perfom queries where some kernel
magic is needed.

Accumulated HW queries is a much better name for this type of queries.
We read some hardware values over some draw calls and need to accumulate
them to get the final result.

This is some prep work for the following perfmon changes.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1530>
src/gallium/drivers/etnaviv/Makefile.sources
src/gallium/drivers/etnaviv/etnaviv_context.c
src/gallium/drivers/etnaviv/etnaviv_context.h
src/gallium/drivers/etnaviv/etnaviv_query.c
src/gallium/drivers/etnaviv/etnaviv_query_acc.c [new file with mode: 0644]
src/gallium/drivers/etnaviv/etnaviv_query_acc.h [new file with mode: 0644]
src/gallium/drivers/etnaviv/etnaviv_query_hw.c [deleted file]
src/gallium/drivers/etnaviv/etnaviv_query_hw.h [deleted file]
src/gallium/drivers/etnaviv/meson.build