diff options
author | Axel Davy <[email protected]> | 2016-11-13 16:28:33 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-12-20 23:47:08 +0100 |
commit | 9c4b4e8809f1e6e076c01ba7b11dc1636c2a26b4 (patch) | |
tree | 7a7bff1ff1f6b618139550051039776f59b6e511 /src/gallium/state_trackers/nine/query9.h | |
parent | 8a69343f1e8c59137d7b746e5ca8ef1e7944c7d6 (diff) |
st/nine: Avoid flushing the queue for queries GetData
Use the newly introduced counter to know when we don't
need synchronization.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/query9.h')
-rw-r--r-- | src/gallium/state_trackers/nine/query9.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/query9.h b/src/gallium/state_trackers/nine/query9.h index 6397a4c0f6c..cc6c717390d 100644 --- a/src/gallium/state_trackers/nine/query9.h +++ b/src/gallium/state_trackers/nine/query9.h @@ -40,6 +40,7 @@ struct NineQuery9 D3DQUERYTYPE type; enum nine_query_state state; boolean instant; /* true if D3DISSUE_BEGIN is not needed / invalid */ + unsigned counter; /* Number of pending Begin/End (0 if internal multithreading off) */ }; static inline struct NineQuery9 * NineQuery9( void *data ) |