Bug 75545 - Blitting a partial region to the front buffer produces corrupted display
Summary: Blitting a partial region to the front buffer produces corrupted display
Status: NEW
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: 9.2
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-26 20:49 UTC by Federico Mena-Quintero
Modified: 2014-02-26 20:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Mena-Quintero 2014-02-26 20:49:26 UTC
For the original bug behind this, please see https://bugzilla.gnome.org/show_bug.cgi?id=674208

In Gnome apps, including gnome-shell, Clutter and Cogl try to avoid doing a full-screen update on every rendered frame by just doing a glBlitFramebuffer() of the dirty region from the back buffer to the front buffer.  The idea is that with software rendering, Mesa will do an XPutImage() of small regions, instead of the whole screen, to minimize the amount of data transferred to the (possibly remote) X server.  However, this is broken in drisw, and has been for a couple of years now.

This piglit test exposes the bug (needs to be run with LIBGL_ALWAYS_SOFTWARE=1):
http://lists.freedesktop.org/archives/piglit/2014-February/009701.html


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.