[PATCH 1/6] exa/mixed: avoid copying back pixmap data when no migration took place

Matt Turner mattst88 at gmail.com
Wed Nov 18 12:32:45 PST 2009


On Wed, Nov 18, 2009 at 3:23 PM, Maarten Maathuis <madman2003 at gmail.com> wrote:
> -    if (pExaPixmap->pDamage && exaPixmapIsOffscreen(pPixmap)) {
> +    if (pExaPixmap->pDamage && !pExaPixmap->offscreen &&
> +           exaPixmapIsOffscreen(pPixmap)){

Very minor, but there should be a space between ) and { on the last line.

Do you have any benchmark results for this change?

Matt


More information about the xorg-devel mailing list