On 04/11/2011 05:25 PM, Henri Verbeet wrote:
Actually, I took a look at the benchmark you said this is supposed to help. It doesn't seem to use offscreen rendering at all.
I re-benched and I can confirm; context_apply_fbo_state() is no longer a significant bottleneck in the batch size tests. However, this is a relatively recent change, in the past few weeks at most. On the other 3DMark06 tests that still do use offscreen rendering it's noticeable though, eg in HDR1/Canyon Flight it takes context_apply_fbo_state() from 4.25% => 1.36% of wined3d. Attached is the rebased version.