Is there a bad performance penalty for constantly calling glGenQueries pretty much every frame? Is it good to try to keep a constant or maybe even a growing pool instead?
Here's kindof a short description of what I'm doing in case it helps.
I'm working on trying out an algorithm for my masters that does a first pass of rendering simplified geometry for big occluders and the 3D grid scene cells in the same frame before rendering the actual scene.
I will then do the normally recommended frame late rendering of actual objects since the first frame will only render the bounding boxes of objects like in this article http://http.develope...ugems_ch29.html, and then in the next frame I would truly render the objects if they passed the bounding box test in the last frame.
Edited by ill, 28 May 2012 - 03:47 PM.