[Mesa-dev] [Bug 54763] glCopyPixels dirties the context and all rendering is slower after that
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Sep 11 18:48:54 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=54763
--- Comment #3 from Daniel van Vugt <daniel.van.vugt at canonical.com> 2012-09-12 01:48:54 UTC ---
Yes, the read buffer is GL_FRONT in this case. So I guess the slow-down is by
design in Mesa. I'm going to work around it in compiz anyway. glCopyPixels
should never be touched at all really.
P.S. _mesa_set_vp_override(ctx, GL_FALSE) does not clear NewState. Which is
what I was concerned about:
void
_mesa_set_vp_override(struct gl_context *ctx, GLboolean flag)
{
if (ctx->VertexProgram._Overriden != flag) {
ctx->VertexProgram._Overriden = flag;
/* Set one of the bits which will trigger fragment program
* regeneration:
*/
ctx->NewState |= _NEW_PROGRAM;
}
}
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list