[PATCH 0/5] etnaviv: support occlusion queries

Christian Gmeiner christian.gmeiner at gmail.com
Tue Oct 17 20:38:12 UTC 2017


This small patch series adds support for occlusion queries. This is
the last thing needed to expose desktop opengl 2.0! Not all piglits
for occlusion queries are passing but overall the results
are looking good.

Christian Gmeiner (5):
  etnaviv: update headers from rnndb
  etnaviv: add basic infrastructure for hw queries
  etnaviv: add support for occlusion queries
  etnaviv: enable occlusion query if GPU supports it
  etnaviv: fix implicit conversion warning

 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.h    |   2 +-
 src/gallium/drivers/etnaviv/etnaviv_query_hw.c | 291 ++++++++++++++++++++
 src/gallium/drivers/etnaviv/etnaviv_query_hw.h |  90 +++++++
 src/gallium/drivers/etnaviv/etnaviv_query_sw.c |   2 +-
 src/gallium/drivers/etnaviv/etnaviv_screen.c   |   3 +-
 src/gallium/drivers/etnaviv/hw/cmdstream.xml.h |  36 ++-
 src/gallium/drivers/etnaviv/hw/common.xml.h    | 117 ++++----
 src/gallium/drivers/etnaviv/hw/isa.xml.h       |   4 +-
 src/gallium/drivers/etnaviv/hw/state.xml.h     | 197 ++++++++++++--
 src/gallium/drivers/etnaviv/hw/state_3d.xml.h  | 357 ++++++++++++++++++++++++-
 14 files changed, 1026 insertions(+), 92 deletions(-)
 create mode 100644 src/gallium/drivers/etnaviv/etnaviv_query_hw.c
 create mode 100644 src/gallium/drivers/etnaviv/etnaviv_query_hw.h

-- 
2.13.6



More information about the etnaviv mailing list