fix bug #577142
This commit is contained in:
parent
28ce8697a3
commit
30d39c17d9
|
@ -0,0 +1,39 @@
|
|||
diff -upNr Mesa-7.8.1.orign/src/mesa/drivers/dri/i915/intel_tex_image.c Mesa-7.8.1/src/mesa/drivers/dri/i915/intel_tex_image.c
|
||||
--- Mesa-7.8.1.orign/src/mesa/drivers/dri/i915/intel_tex_image.c 2010-04-05 18:05:15.000000000 +0200
|
||||
+++ Mesa-7.8.1/src/mesa/drivers/dri/i915/intel_tex_image.c 2010-04-22 19:11:06.881488899 +0200
|
||||
@@ -728,8 +728,7 @@ intelSetTexBuffer2(__DRIcontext *pDRICtx
|
||||
if (!intelObj)
|
||||
return;
|
||||
|
||||
- if (dPriv->lastStamp != dPriv->dri2.stamp)
|
||||
- intel_update_renderbuffers(pDRICtx, dPriv);
|
||||
+ intel_update_renderbuffers(pDRICtx, dPriv);
|
||||
|
||||
rb = intel_get_renderbuffer(fb, BUFFER_FRONT_LEFT);
|
||||
/* If the region isn't set, then intel_update_renderbuffers was unable
|
||||
diff -upNr Mesa-7.8.1.orign/src/mesa/drivers/dri/i965/intel_tex_image.c Mesa-7.8.1/src/mesa/drivers/dri/i965/intel_tex_image.c
|
||||
--- Mesa-7.8.1.orign/src/mesa/drivers/dri/i965/intel_tex_image.c 2010-04-05 18:05:15.000000000 +0200
|
||||
+++ Mesa-7.8.1/src/mesa/drivers/dri/i965/intel_tex_image.c 2010-04-22 19:11:06.881488899 +0200
|
||||
@@ -728,8 +728,7 @@ intelSetTexBuffer2(__DRIcontext *pDRICtx
|
||||
if (!intelObj)
|
||||
return;
|
||||
|
||||
- if (dPriv->lastStamp != dPriv->dri2.stamp)
|
||||
- intel_update_renderbuffers(pDRICtx, dPriv);
|
||||
+ intel_update_renderbuffers(pDRICtx, dPriv);
|
||||
|
||||
rb = intel_get_renderbuffer(fb, BUFFER_FRONT_LEFT);
|
||||
/* If the region isn't set, then intel_update_renderbuffers was unable
|
||||
diff -upNr Mesa-7.8.1.orign/src/mesa/drivers/dri/intel/intel_tex_image.c Mesa-7.8.1/src/mesa/drivers/dri/intel/intel_tex_image.c
|
||||
--- Mesa-7.8.1.orign/src/mesa/drivers/dri/intel/intel_tex_image.c 2010-04-05 18:05:15.000000000 +0200
|
||||
+++ Mesa-7.8.1/src/mesa/drivers/dri/intel/intel_tex_image.c 2010-04-22 19:11:06.881488899 +0200
|
||||
@@ -728,8 +728,7 @@ intelSetTexBuffer2(__DRIcontext *pDRICtx
|
||||
if (!intelObj)
|
||||
return;
|
||||
|
||||
- if (dPriv->lastStamp != dPriv->dri2.stamp)
|
||||
- intel_update_renderbuffers(pDRICtx, dPriv);
|
||||
+ intel_update_renderbuffers(pDRICtx, dPriv);
|
||||
|
||||
rb = intel_get_renderbuffer(fb, BUFFER_FRONT_LEFT);
|
||||
/* If the region isn't set, then intel_update_renderbuffers was unable
|
|
@ -21,7 +21,7 @@
|
|||
Summary: Mesa graphics libraries
|
||||
Name: mesa
|
||||
Version: 7.8.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: MIT
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.mesa3d.org
|
||||
|
@ -45,6 +45,7 @@ Patch5: nouveau-legacy-update.patch
|
|||
#Patch7: mesa-7.1-link-shared.patch
|
||||
|
||||
Patch30: mesa-7.6-hush-vblank-warning.patch
|
||||
Patch31: mesa-7.8.1-intel-dri2-damage.patch
|
||||
|
||||
BuildRequires: pkgconfig autoconf automake
|
||||
%if %{with_hardware}
|
||||
|
@ -184,7 +185,8 @@ Group: User Interface/X Hardware Support
|
|||
%patch5 -p1 -b .nouveau-legacy-update
|
||||
#%patch7 -p1 -b .dricore
|
||||
%patch30 -p1 -b .vblank-warning
|
||||
|
||||
#Fix #RH 577142 (compiz redrawing issues)
|
||||
%patch31 -p1 -b .intel-dri2-damage
|
||||
# Hack the demos to use installed data files
|
||||
sed -i 's,../images,%{_libdir}/mesa,' progs/demos/*.c
|
||||
sed -i 's,geartrain.dat,%{_libdir}/mesa/&,' progs/demos/geartrain.c
|
||||
|
@ -399,6 +401,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%{demodir}
|
||||
|
||||
%changelog
|
||||
* Thu Apr 22 2010 Adel Gadllah <adel.gadllah@gmail.com> 7.8.1-2
|
||||
- Add patch to fix RH #577142
|
||||
|
||||
* Thu Apr 01 2010 Dave Airlie <airlied@redhat.com> 7.8-1
|
||||
- Upstream mesa 7.8 release
|
||||
|
||||
|
|
Loading…
Reference in New Issue