summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2009-09-16 04:51:22 +0300
committerMart Raudsepp <leio@gentoo.org>2009-09-16 04:51:22 +0300
commiteb535959cc133d5736b175369637d629304b3bed (patch)
tree2a7dbd7e2b2326ae05409f3ab6413bc0e706a0bb /x11-base/xorg-server/files/1.5.2-exa_migration.patch
parentAdd glib-2.20.5 with patches to make GMarkup quicker. Should have quite some ... (diff)
downloadgnome-perf-eb535959cc133d5736b175369637d629304b3bed.tar.gz
gnome-perf-eb535959cc133d5736b175369637d629304b3bed.tar.bz2
gnome-perf-eb535959cc133d5736b175369637d629304b3bed.zip
Remove outdated xorg-server-1.5.2 with EXA perf patches.
These are part of 1.5.3-r* and 1.6 in portage tree.
Diffstat (limited to 'x11-base/xorg-server/files/1.5.2-exa_migration.patch')
-rw-r--r--x11-base/xorg-server/files/1.5.2-exa_migration.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/x11-base/xorg-server/files/1.5.2-exa_migration.patch b/x11-base/xorg-server/files/1.5.2-exa_migration.patch
deleted file mode 100644
index b6dd10a..0000000
--- a/x11-base/xorg-server/files/1.5.2-exa_migration.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Patch from Michel Dänzer on xorg mailing list in the thread
-"ProcPutImage calls exaDoMoveOutPixmap, 4x slowdown":
-
-"Looks like we are we're syncing unnecessarily in the migration no-op case"
-
-diff --git a/exa/exa_migration.c b/exa/exa_migration.c
-index 56b6945..c68cd76 100644
---- a/exa/exa_migration.c
-+++ b/exa/exa_migration.c
-@@ -129,6 +131,7 @@ exaCopyDirty(ExaMigrationPtr migrate, RegionPtr pValidDst, RegionPtr pValidSrc,
- BoxPtr pBox;
- int nbox;
- Bool access_prepared = FALSE;
-+ Bool need_sync = FALSE;
-
- /* Damaged bits are valid in current copy but invalid in other one */
- if (exaPixmapIsOffscreen(pPixmap)) {
-@@ -220,14 +253,15 @@ exaCopyDirty(ExaMigrationPtr migrate, RegionPtr pValidDst, RegionPtr pValidSrc,
- exaMemcpyBox (pPixmap, pBox,
- fallback_src, fallback_srcpitch,
- fallback_dst, fallback_dstpitch);
-- }
-+ } else
-+ need_sync = TRUE;
-
- pBox++;
- }
-
- if (access_prepared)
- exaFinishAccess(&pPixmap->drawable, fallback_index);
-- else
-+ else if (need_sync)
- sync (pPixmap->drawable.pScreen);
-
- pExaPixmap->offscreen = save_offscreen;