diff options
author | Marek Olšák <[email protected]> | 2012-02-22 00:25:55 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-02-23 20:29:56 +0100 |
commit | df00dc3c817771ac5034a44dff2b14cd7759b207 (patch) | |
tree | 3527fc4b7daa84a9c87379bf89108101b845c417 /src/glx | |
parent | 5b84a8c3c3f85cd6b109861c6eebe3ece29d664e (diff) |
r600g: rework queries
We always mapped the query buffer in begin_query, causing stalls
if the buffer was busy.
This commit reworks it such that the query buffer is only mapped
in get_query_result as it's supposed to be.
The query buffer is no longer treated as a ring buffer. Instead, the results
are just appended and when the buffer is full, we create a new one. One query
can have more than one query buffer, though that's a very rare case.
Begin_query releases all query buffers.
Reviewed-by: Jerome Glisse <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/glx')
0 files changed, 0 insertions, 0 deletions