rpms/xorg-x11-server/devel xorg-server-1.0.99.2-spiffiffity.patch, NONE, 1.1 xorg-x11-server.spec, 1.49, 1.50

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Apr 4 22:18:00 UTC 2006


Author: krh

Update of /cvs/dist/rpms/xorg-x11-server/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv29111

Modified Files:
	xorg-x11-server.spec 
Added Files:
	xorg-server-1.0.99.2-spiffiffity.patch 
Log Message:
* Tue Apr  4 2006 Kristian Høgsberg <krh at redhat.com> 1.0.99.2-1
- Update to 1.0.99.2 snapshot and go back to using mesa-source package.
- Drop xorg-server-1.0.99-composite-visibility.patch.
- Drop xorg-server-1.0.1-backtrace.patch.
- Drop xorg-server-0.99.3-rgb.txt-dix-config-fix.patch.
- Add xorg-server-1.0.99.2-spiffiffity.patch.


xorg-server-1.0.99.2-spiffiffity.patch:
 compalloc.c  |    2 ++
 compwindow.c |    4 ++++
 2 files changed, 6 insertions(+)

--- NEW FILE xorg-server-1.0.99.2-spiffiffity.patch ---
This patch add two optimizations to speed up the metacity compositing
manager (spiffiffity):

 - Don't generate damage on moves
 - Don't initialize bg=none windows by copying from the framebuffer.

krh at redhat.com, Tue Apr  4 18:10:40 EDT 2006

Index: composite/compalloc.c
===================================================================
RCS file: /cvs/xorg/xserver/xorg/composite/compalloc.c,v
retrieving revision 1.9
diff -u -p -u -r1.9 compalloc.c
--- composite/compalloc.c	13 Mar 2006 21:59:55 -0000	1.9
+++ composite/compalloc.c	30 Mar 2006 16:54:00 -0000
@@ -478,6 +478,7 @@ compNewPixmap (WindowPtr pWin, int x, in
      * Copy bits from the parent into the new pixmap so that it will
      * have "reasonable" contents in case for background None areas.
      */
+#if 0
     if (pGC)
     {
 	XID val = IncludeInferiors;
@@ -492,6 +493,7 @@ compNewPixmap (WindowPtr pWin, int x, in
 			       w, h, 0, 0);
 	FreeScratchGC (pGC);
     }
+#endif
     return pPixmap;
 }
 
Index: composite/compwindow.c
===================================================================
RCS file: /cvs/xorg/xserver/xorg/composite/compwindow.c,v
retrieving revision 1.13
diff -u -p -u -r1.13 compwindow.c
--- composite/compwindow.c	29 Mar 2006 17:51:53 -0000	1.13
+++ composite/compwindow.c	30 Mar 2006 16:54:00 -0000
@@ -576,7 +576,9 @@ compCopyWindow (WindowPtr pWin, DDXPoint
 	REGION_TRANSLATE (prgnSrc, prgnSrc,
 			  pWin->drawable.x - ptOldOrg.x,
 			  pWin->drawable.y - ptOldOrg.y);
+#if 0
 	DamageDamageRegion (&pWin->drawable, prgnSrc);
+#endif
     }
     cs->CopyWindow = pScreen->CopyWindow;
     pScreen->CopyWindow = compCopyWindow;
@@ -655,7 +657,9 @@ compSetRedirectBorderClip (WindowPtr pWi
     /*
      * Report that as damaged so it will be redrawn
      */
+#if 0
     DamageDamageRegion (&pWin->drawable, &damage);
+#endif
     REGION_UNINIT (pScreen, &damage);
     /*
      * Save the new border clip region


Index: xorg-x11-server.spec
===================================================================
RCS file: /cvs/dist/rpms/xorg-x11-server/devel/xorg-x11-server.spec,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- xorg-x11-server.spec	4 Apr 2006 22:07:57 -0000	1.49
+++ xorg-x11-server.spec	4 Apr 2006 22:17:58 -0000	1.50
@@ -23,6 +23,9 @@
 # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=181292.  hacky patch
 Patch7:    xorg-x11-server-1.0.1-fpic-libxf86config.patch
 
+# Spiffiffity feature/optimization patches.
+Patch100:  xorg-server-1.0.99.2-spiffiffity.patch
+
 Patch1000:  xorg-redhat-die-ugly-pattern-die-die-die.patch
 Patch1001:  xorg-x11-server-1.0.1-Red-Hat-extramodes.patch
 
@@ -235,6 +238,8 @@
 %patch6 -p1 -b .randrsdk
 %patch7 -p1 -b .xf86configfpic
 
+%patch100 -p0 -b .spiffiffity
+
 %patch1000 -p0 -b .redhat-die-ugly-pattern-die-die-die
 %patch1001 -p1 -b .Red-Hat-extramodes
 
@@ -516,6 +521,7 @@
 - Drop xorg-server-1.0.99-composite-visibility.patch.
 - Drop xorg-server-1.0.1-backtrace.patch.
 - Drop xorg-server-0.99.3-rgb.txt-dix-config-fix.patch.
+- Add xorg-server-1.0.99.2-spiffiffity.patch.
 
 * Thu Mar 23 2006 Kristian Høgsberg <krh at redhat.com>
 - Pass --with-dri-driver-path so we're sure to point it to the right path.




More information about the fedora-cvs-commits mailing list