etnaviv: add basic infrastructure for hw queries

Graphics / Mesa 3D Graphics Library / Mesa - Christian Gmeiner [gmail.com] - 20 October 2017 06:42 EDT

No hardware query is supported yet.

v1 -> v2- removed query_type from strcut etna_hw_sample_provider

282d869 etnaviv: add basic infrastructure for hw queries
src/gallium/drivers/etnaviv/Makefile.sources | 2 +
src/gallium/drivers/etnaviv/etnaviv_context.c | 11 ++
src/gallium/drivers/etnaviv/etnaviv_context.h | 3 +
src/gallium/drivers/etnaviv/etnaviv_query.c | 3 +
src/gallium/drivers/etnaviv/etnaviv_query_hw.c | 185 +++++++++++++++++++++++++
src/gallium/drivers/etnaviv/etnaviv_query_hw.h | 88 ++++++++++++
6 files changed, 292 insertions(+)

Upstream: cgit.freedesktop.org


  • Share