diff options
author | Marek Olšák <[email protected]> | 2012-03-27 21:51:50 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-03-30 17:12:51 +0200 |
commit | 102ed41ae6287f9f43708d10f3952c3c5b887c45 (patch) | |
tree | ac123bed25ae8be8d7f7486812e26551b06dd47c /src/gallium/drivers/i915/i915_batchbuffer.h | |
parent | 7d87c71a70c95d4fe3a94676128fd9524f048112 (diff) |
gallium: make get_query_result return union* and not void*
This replaces the cryptic void* parameter with a union.
(based on union r600_query_result)
Users of this can still pass uint64* in it, but that cannot work for every
query type, obviously. Most importantly, the code now documents what should
be expected from get_query_result.
This also adds pipe_query_data_pipeline_statistics as per the D3D11 docs.
v2: fix indentation, add comments and use the doxygen style
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_batchbuffer.h')
0 files changed, 0 insertions, 0 deletions