Hi
I want to get the total number of pixels written in a frame. The goal is to detect when the scene gets fill limited.
In order to do that, i thought using the following:
glBeginOcclusionQuery
render scene
glEndOcclusionQuery
And then i get the number of pixels.
Do you know if this incurs a performance penalty compared to just rendering the scene without the pixel counting ?
Are there other solutions ?
Thanks



