mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-28 11:06:25 +00:00
- fix i915 build due to symbol visibility
This commit is contained in:
parent
78fe81f459
commit
7af8c3d4e0
2 changed files with 31 additions and 1 deletions
25
mesa-7.1pre-nukeglthread-debug.patch
Normal file
25
mesa-7.1pre-nukeglthread-debug.patch
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c
|
||||||
|
index 94d499f..2ba596e 100644
|
||||||
|
--- a/src/mesa/drivers/dri/intel/intel_fbo.c
|
||||||
|
+++ b/src/mesa/drivers/dri/intel/intel_fbo.c
|
||||||
|
@@ -615,11 +615,6 @@ intel_render_texture(GLcontext * ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- DBG("Begin render texture tid %x tex=%u w=%d h=%d refcount=%d\n",
|
||||||
|
- _glthread_GetID(),
|
||||||
|
- att->Texture->Name, newImage->Width, newImage->Height,
|
||||||
|
- irb->Base.RefCount);
|
||||||
|
-
|
||||||
|
/* point the renderbufer's region to the texture image region */
|
||||||
|
intel_image = intel_texture_image(newImage);
|
||||||
|
if (irb->region != intel_image->mt->region) {
|
||||||
|
@@ -656,8 +651,6 @@ intel_finish_render_texture(GLcontext * ctx,
|
||||||
|
{
|
||||||
|
struct intel_renderbuffer *irb = intel_renderbuffer(att->Renderbuffer);
|
||||||
|
|
||||||
|
- DBG("End render texture (tid %x) tex %u\n", _glthread_GetID(), att->Texture->Name);
|
||||||
|
-
|
||||||
|
if (irb) {
|
||||||
|
/* just release the region */
|
||||||
|
intel_region_release(&irb->region);
|
|
@ -15,7 +15,7 @@
|
||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Version: 7.1
|
Version: 7.1
|
||||||
Release: 0.17%{?dist}
|
Release: 0.18%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
|
@ -29,6 +29,7 @@ Source3: make-git-snapshot.sh
|
||||||
|
|
||||||
Patch0: mesa-7.1pre-osmesa-version.patch
|
Patch0: mesa-7.1pre-osmesa-version.patch
|
||||||
Patch1: mesa-7.1-dri-drivers.patch
|
Patch1: mesa-7.1-dri-drivers.patch
|
||||||
|
Patch2: mesa-7.1pre-nukeglthread-debug.patch
|
||||||
|
|
||||||
BuildRequires: pkgconfig autoconf automake
|
BuildRequires: pkgconfig autoconf automake
|
||||||
%if %{with_dri}
|
%if %{with_dri}
|
||||||
|
@ -151,6 +152,7 @@ This package provides some demo applications for testing Mesa.
|
||||||
%setup -q -n mesa-%{gitdate} -b2
|
%setup -q -n mesa-%{gitdate} -b2
|
||||||
%patch0 -p1 -b .osmesa
|
%patch0 -p1 -b .osmesa
|
||||||
%patch1 -p1 -b .dri-drivers
|
%patch1 -p1 -b .dri-drivers
|
||||||
|
%patch2 -p1 -b .intel-glthread
|
||||||
|
|
||||||
# WARNING: The following files are copyright "Mark J. Kilgard" under the GLUT
|
# WARNING: The following files are copyright "Mark J. Kilgard" under the GLUT
|
||||||
# license and are not open source/free software, so we remove them.
|
# license and are not open source/free software, so we remove them.
|
||||||
|
@ -393,6 +395,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_libdir}/mesa-demos-data
|
%{_libdir}/mesa-demos-data
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 03 2008 Dave Airlie <airlied@redhat.com> 7.1-0.18
|
||||||
|
- fix i915 build due to symbol visibility
|
||||||
|
|
||||||
* Tue Feb 26 2008 Adam Jackson <ajax@redhat.com> 7.1-0.17
|
* Tue Feb 26 2008 Adam Jackson <ajax@redhat.com> 7.1-0.17
|
||||||
- Fix OSMesa symlink bug. (#424545)
|
- Fix OSMesa symlink bug. (#424545)
|
||||||
- Build OSMesa with -Os to be slightly less bloaty.
|
- Build OSMesa with -Os to be slightly less bloaty.
|
||||||
|
|
Loading…
Reference in a new issue