freedreno/query: allow multiple query implementations
authorRob Clark <robclark@freedesktop.org>
Fri, 9 May 2014 21:33:19 +0000 (17:33 -0400)
committerRob Clark <robclark@freedesktop.org>
Tue, 13 May 2014 22:33:19 +0000 (18:33 -0400)
commit13a0cf4480b908aafa337c121cbdfc338318f088
treec92403a228174933127874d48cd01402a65e2b8c
parent2265bda5139442a65be0695af4aadd624ca31990
freedreno/query: allow multiple query implementations

Split out fd_query into an abstract base class, to allow multiple
implementations.  The current sw based queries are moved into
fd_sw_query.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/Makefile.sources
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_query.c
src/gallium/drivers/freedreno/freedreno_query.h
src/gallium/drivers/freedreno/freedreno_query_sw.c [new file with mode: 0644]
src/gallium/drivers/freedreno/freedreno_query_sw.h [new file with mode: 0644]