Commit 7007c74
[MAPS3D-1719] Fix occlusion queries (#5486)
Address Adreno issues, which are seen as constant OpenGL error spamming when occlusion query count goes beyond a certain limit.
* limit number of OpenGL query objects
* introduce a delay between query finish and results retrieval
* issue occlusion queries via priority queue
* remove occlusion query from queue to prevent stall queries
* priorities work in a fifo order
* use plf_list as container, same guarantees as `std::list` but less allocations
* Modify occlusion fade: use constant acceleration fade to reduce flickering
GitOrigin-RevId: 719d225bd550701919917a23e0c2f984834d30ce1 parent dce9ae6 commit 7007c74
1 file changed
+27
-0
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments