[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 06:32:24 PDT 2012


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

--- Comment #2 from Michel Dänzer <michel at daenzer.net> 2012-09-11 13:32:24 UTC ---
(In reply to comment #2)
> I call glCopyPixels a couple of times briefly on startup and then never again.
> The problem is that doing this makes all subsequent rendering much slower. If I
> never call glCopyPixels on startup then rendering remains fast thereafter.

What are the read and draw buffers for glCopyPixels? If either of them is
GL_FRONT*, that will cause a DRI2 fake front buffer to be allocated and
thereafter kept up to date wrt the real front buffer.


> This seems to set a flag in the ctx which is never cleared.

It is cleared:

end:
   _mesa_set_vp_override(ctx, GL_FALSE);

-- 
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