radeon: add query handler function pointers
authorNicolai Hähnle <nhaehnle@gmail.com>
Wed, 18 Nov 2015 10:40:00 +0000 (11:40 +0100)
committerNicolai Hähnle <nhaehnle@gmail.com>
Wed, 18 Nov 2015 11:27:12 +0000 (12:27 +0100)
commit829a9808a98f5b53576c6c8bc5da53182d58e1e8
treee9f535cdca470c3a49de43c206230d144dff4d95
parent50cab4788d664769ffc8547d8e759e92d14cf5e6
radeon: add query handler function pointers

The goal here is to be able to move the implementation details of hardware-
specific queries (in particular, performance counters) out of the common code.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
[Fixed a rebase conflict and re-tested before pushing.]
src/gallium/drivers/radeon/r600_query.c
src/gallium/drivers/radeon/r600_query.h