https://bugs.freedesktop.org/show_bug.cgi?id=54763

--- Comment #3 from Daniel van Vugt <daniel.van.v...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to