rpms/compiz-fusion/F-9 compiz-0.7.8-x_to_glx_workaround.patch, NONE, 1.1 compiz-fusion.spec, 1.32, 1.33

Adel Gadllah drago01 at fedoraproject.org
Sat Mar 14 17:05:29 UTC 2009


Author: drago01

Update of /cvs/pkgs/rpms/compiz-fusion/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10397

Modified Files:
	compiz-fusion.spec 
Added Files:
	compiz-0.7.8-x_to_glx_workaround.patch 
Log Message:
Backport upstream fix for RH #474741

compiz-0.7.8-x_to_glx_workaround.patch:

--- NEW FILE compiz-0.7.8-x_to_glx_workaround.patch ---
diff -upNr compiz-fusion-plugins-main-0.7.8.orign/metadata/workarounds.xml.in compiz-fusion-plugins-main-0.7.8/metadata/workarounds.xml.in
--- compiz-fusion-plugins-main-0.7.8.orign/metadata/workarounds.xml.in	2008-09-17 15:29:14.000000000 +0200
+++ compiz-fusion-plugins-main-0.7.8/metadata/workarounds.xml.in	2009-03-14 17:51:07.383791735 +0100
@@ -53,6 +53,12 @@
                 <_long>Fix for broken GLX_MESA_copy_sub_buffer on XGL in fglrx.</_long>
                 <default>false</default>
             </option>
+            <option type="bool" name="force_glx_sync">
+                <_short>Force synchronization between X and GLX</_short>
+                <_long>Force synchronization between X and GLX, which may help for window parts not redrawing correctly when using Nvidia drivers, but also may decrease performance.</_long>
+                <default>false</default>
+            </option>
+
             <subgroup>
                 <_short>Window stickyness</_short>
                 <option type="bool" name="sticky_alldesktops">
diff -upNr compiz-fusion-plugins-main-0.7.8.orign/src/workarounds/workarounds.c compiz-fusion-plugins-main-0.7.8/src/workarounds/workarounds.c
--- compiz-fusion-plugins-main-0.7.8.orign/src/workarounds/workarounds.c	2008-09-17 15:29:14.000000000 +0200
+++ compiz-fusion-plugins-main-0.7.8/src/workarounds/workarounds.c	2009-03-14 17:49:39.978731517 +0100
@@ -198,6 +198,9 @@ workaroundsPaintScreen (CompScreen   *s,
 
     currentScreen = s;
 
+    if (workaroundsGetForceGlxSync (s->display))
+	glXWaitX ();
+
     UNWRAP (ws, s, paintScreen);
     (*s->paintScreen) (s, outputs, numOutputs, mask);
     WRAP (ws, s, paintScreen, workaroundsPaintScreen);


Index: compiz-fusion.spec
===================================================================
RCS file: /cvs/pkgs/rpms/compiz-fusion/F-9/compiz-fusion.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- compiz-fusion.spec	7 Jul 2008 18:07:52 -0000	1.32
+++ compiz-fusion.spec	14 Mar 2009 17:04:59 -0000	1.33
@@ -2,7 +2,7 @@
 
 Name: compiz-fusion
 Version: 0.7.6       
-Release: 2%{?dist}
+Release: 5%{?dist}
 Summary: Collection of Compiz Fusion plugins for Compiz      
 
 Group: User Interface/Desktops        
@@ -10,6 +10,8 @@
 URL: http://compiz-fusion.org            
 Source0: http://releases.compiz-fusion.org/%{version}/%{name}-plugins-main-%{version}.tar.bz2  
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+#Upstream commit 46960f12a9d213e5f0e841557e2ed2f7ea18cc79
+Patch1: compiz-0.7.8-x_to_glx_workaround.patch
 
 # libdrm is not available on these arches
 ExcludeArch: s390 s390x ppc64
@@ -61,6 +63,7 @@
 
 %prep
 %setup -q -n %{name}-plugins-main-%{version}
+%patch1 -p1 -b .xglx
 
 %build
 %configure --enable-schemas
@@ -130,6 +133,9 @@
 
 
 %changelog
+* Sat Mar 14 2009 Adel Gadllah <adel.gadllah at gmail.com> 0.7.6-5
+- Backport upstream fix for RH #474741
+
 * Mon Jun 23 2008 Adel Gadllah <adel.gadllah at gmail.com> 0.7.6-4
 - Speed up gconf schema installation
 




More information about the fedora-extras-commits mailing list