On Jul 15, 5:21=A0pm, Antonio Bleile <antonio.ble...@[EMAIL PROTECTED]
> wrote:
> Hi,
>
> let=B4s say I have a 16xmultisampled Pbuffer of siye 1024x1024
> and I want to render a textured quad on the view****t using a
> fragment shader (I want to do some image processing
> using shaders (e.g. blur, color transform etc)). Ideally the
> fragment shader should get called 1024x1024 times. But
> as multisampling is enabled, it might get invoked more
> than that, right?
Right.
> The question is, how many times precisely?
I think it should be glGetIntegerv(GL_SAMPLES_ARB,...)
> I tried to call glDisable(GL_MULTISAMPLE_ARB); but it
> was still slower than rendering into a non-multisampled
> Pbuffer....
>
glDisable(GL_MULTISAMPLE_ARB) doesn't change the
amount of framebuffer memory which needs to be written.
If you have four multisamples in the framebuffer then there's
four times as much memory to clear/render/swap/etc.
--
<\___/>
/ O O \
\_____/ FTB. Remove my socks for email address.


|