Commit 21e3399
[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: dc592f2823056b2a6aed7b7c9c7c3b5a6cffb9521 parent 65cf68d commit 21e3399
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