I used Predicated rendering (based on occlusion query results). Why is my app still the same speed?
First, ensure that the rendering you would like to skip is actually the application bottleneck. If it is not the bottleneck, then skipping the rendering will not help frame rate. Second, make sure that enough time has passed between the issue of the query and rendering that you wish to predicate. If the query has not finished by the time the render call hits the GPU, the rendering will occur anyway. Third, predication only skips certain calls. The calls that are skipped are Draw, Clear, Copy, and Update. State setting, IA setup, Map, and Create calls do not respect predication. If there are a lot of state setting calls around the draw call to be predicated, these states still will be set.
Related Questions
- Since ChemXplore can display multiple search result at a time, how can I identify result based on query used for results?
- Since ChemXplor can display multiple search result at a time, how can I identify result based on query used for results?
- How to bound a map based on the MBR of a theme or querys results?