rpms/mesa/devel mesa-7.7-fix-radeon-colors.patch, NONE, 1.1 mesa.spec, 1.270, 1.271
Dave Airlie
airlied at fedoraproject.org
Wed Jan 27 04:14:40 UTC 2010
- Previous message: rpms/supybot-fedora/devel .cvsignore, 1.5, 1.6 sources, 1.8, 1.9 supybot-fedora.spec, 1.9, 1.10
- Next message: rpms/gedit-plugins/devel .cvsignore, 1.8, 1.9 gedit-plugins.spec, 1.13, 1.14 import.log, 1.4, 1.5 sources, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: airlied
Update of /cvs/pkgs/rpms/mesa/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13548
Modified Files:
mesa.spec
Added Files:
mesa-7.7-fix-radeon-colors.patch
Log Message:
* Wed Jan 27 2010 Dave Airlie <airlied at redhat.com> 7.8-0.12
- Fix radeon colors for rawhide
mesa-7.7-fix-radeon-colors.patch:
radeon_common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE mesa-7.7-fix-radeon-colors.patch ---
>From 395e08a839bca94b8c0cd7fca4b48bb06bc02952 Mon Sep 17 00:00:00 2001
From: Dave Airlie <airlied at redhat.com>
Date: Wed, 27 Jan 2010 11:46:26 +1000
Subject: [PATCH] radeon/r200/r300: don't clean non-emitted state.
So if we don't actually emit an atom to the hw because we don't
need it in the current state (e.g. lighting related atoms when
lighting is off) then don't mark it as clean, because when
lighting gets switched on we won't emit it at all.
This fixes funky gears colors.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/mesa/drivers/dri/radeon/radeon_common.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c
index e0b853b..79f3ff7 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common.c
+++ b/src/mesa/drivers/dri/radeon/radeon_common.c
@@ -1036,10 +1036,11 @@ static INLINE void radeon_emit_atom(radeonContextPtr radeon, struct radeon_state
OUT_BATCH_TABLE(atom->cmd, dwords);
END_BATCH();
}
+ atom->dirty = GL_FALSE;
+
} else {
radeon_print(RADEON_STATE, RADEON_VERBOSE, " skip state %s\n", atom->name);
}
- atom->dirty = GL_FALSE;
}
--
1.6.5.2
Index: mesa.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mesa/devel/mesa.spec,v
retrieving revision 1.270
retrieving revision 1.271
diff -u -p -r1.270 -r1.271
--- mesa.spec 21 Jan 2010 02:00:03 -0000 1.270
+++ mesa.spec 27 Jan 2010 04:14:39 -0000 1.271
@@ -21,7 +21,7 @@
Summary: Mesa graphics libraries
Name: mesa
Version: 7.8
-Release: 0.11%{?dist}
+Release: 0.12%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.mesa3d.org
@@ -41,6 +41,7 @@ Patch1: mesa-7.1-osmesa-version.patch
Patch2: mesa-7.1-nukeglthread-debug.patch
Patch3: mesa-no-mach64.patch
+Patch5: mesa-7.7-fix-radeon-colors.patch
#Patch7: mesa-7.1-link-shared.patch
Patch30: mesa-7.6-hush-vblank-warning.patch
@@ -180,6 +181,7 @@ Group: User Interface/X Hardware Support
%patch1 -p1 -b .osmesa
%patch2 -p1 -b .intel-glthread
%patch3 -p1 -b .no-mach64
+%patch5 -p1 -b .r100-color
#%patch7 -p1 -b .dricore
%patch30 -p1 -b .vblank-warning
@@ -393,6 +395,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/xorg/modules/drivers/vmwgfx_drv.so
%changelog
+* Wed Jan 27 2010 Dave Airlie <airlied at redhat.com> 7.8-0.12
+- Fix radeon colors for rawhide
+
* Thu Jan 21 2010 Dave Airlie <airlied at redhat.com> 7.8-0.11
- rebase for new DRI2 API
- Previous message: rpms/supybot-fedora/devel .cvsignore, 1.5, 1.6 sources, 1.8, 1.9 supybot-fedora.spec, 1.9, 1.10
- Next message: rpms/gedit-plugins/devel .cvsignore, 1.8, 1.9 gedit-plugins.spec, 1.13, 1.14 import.log, 1.4, 1.5 sources, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list