1
0
forked from rpms/mesa

snapshot latest mesa 7.11 stable branch (what will be 7.11.1)

This commit is contained in:
Dave Airlie 2011-11-03 20:01:05 +00:00
parent 1f59b048fd
commit f899a988b0
5 changed files with 11 additions and 54 deletions

1
.gitignore vendored
View File

@ -25,3 +25,4 @@ mesa-20100720.tar.bz2
/mesa-20110620.tar.xz
/mesa-20110730.tar.xz
/MesaLib-7.11.tar.bz2
/mesa-20111103.tar.xz

View File

@ -1,29 +0,0 @@
From b2fbf8225bfed2d6f5339ba0a97ddbc5e6cc491a Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Thu, 28 Apr 2011 08:54:45 -0400
Subject: [PATCH] drisw: Remove cargo culting that breaks GLX 1.3 ctors
Signed-off-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit d44f821213d7ed67fed18d6ea6c34b61a665c89e)
---
src/glx/drisw_glx.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
index a57b327..30fe053 100644
--- a/src/glx/drisw_glx.c
+++ b/src/glx/drisw_glx.c
@@ -369,10 +369,6 @@ driswCreateDrawable(struct glx_screen *base, XID xDrawable,
const __DRIswrastExtension *swrast = psc->swrast;
- /* Old dri can't handle GLX 1.3+ drawable constructors. */
- if (xDrawable != drawable)
- return NULL;
-
pdp = Xmalloc(sizeof(*pdp));
if (!pdp)
return NULL;
--
1.7.6.4

View File

@ -1,12 +0,0 @@
diff -up Mesa-7.11/src/glx/glxextensions.c.jx Mesa-7.11/src/glx/glxextensions.c
--- Mesa-7.11/src/glx/glxextensions.c.jx 2011-07-08 21:37:10.000000000 -0400
+++ Mesa-7.11/src/glx/glxextensions.c 2011-10-28 20:26:49.172259452 -0400
@@ -139,7 +139,7 @@ static const struct extension_info known
{ GLX(SGIX_visual_select_group), VER(0,0), Y, Y, N, N },
{ GLX(EXT_texture_from_pixmap), VER(0,0), Y, N, N, N },
#endif
- { GLX(INTEL_swap_event), VER(1,4), Y, Y, N, N },
+ { GLX(INTEL_swap_event), VER(1,4), Y, N, N, N },
{ NULL }
};

View File

@ -20,21 +20,21 @@
%define _default_patch_fuzz 2
%define manpages gl-manpages-1.0.1
#define gitdate 20110730
%define gitdate 20111103
#% define snapshot
Summary: Mesa graphics libraries
Name: mesa
Version: 7.11
Release: 9%{?dist}
Release: 10%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.mesa3d.org
#Source0: http://downloads.sf.net/mesa3d/MesaLib-%{version}.tar.bz2
#Source0: http://www.mesa3d.org/beta/MesaLib-%{version}%{?snapshot}.tar.bz2
Source0: ftp://ftp.freedesktop.org/pub/%{name}/%{version}/MesaLib-%{version}.tar.bz2
#Source0: %{name}-%{gitdate}.tar.xz
#Source0: ftp://ftp.freedesktop.org/pub/%{name}/%{version}/MesaLib-%{version}.tar.bz2
Source0: %{name}-%{gitdate}.tar.xz
Source2: %{manpages}.tar.bz2
Source3: make-git-snapshot.sh
@ -48,10 +48,7 @@ Patch8: mesa-7.10-llvmcore.patch
Patch30: mesa-7.6-hush-vblank-warning.patch
Patch31: mesa-7.10-swrastg.patch
Patch32: mesa-7.11-generic-wmb.patch
Patch33: mesa-7.11-drisw-glx13.patch
Patch34: 0001-nv50-fix-max-texture-levels.patch
Patch35: mesa-7.11-intel-swap-event.patch
Patch36: mesa-7.11-fix-sw-24bpp.patch
BuildRequires: pkgconfig autoconf automake libtool
%if %{with_hardware}
@ -216,8 +213,8 @@ Mesa offscreen rendering development package
%prep
%setup -q -n Mesa-%{version}%{?snapshot} -b0 -b2
#setup -q -n mesa-%{gitdate} -b2
#%setup -q -n Mesa-%{version}%{?snapshot} -b0 -b2
%setup -q -n mesa-%{gitdate} -b2
%patch2 -p1 -b .intel-glthread
%patch3 -p1 -b .no-mach64
%patch4 -p1 -b .classic
@ -226,10 +223,7 @@ Mesa offscreen rendering development package
%patch30 -p1 -b .vblank-warning
#patch31 -p1 -b .swrastg
%patch32 -p1 -b .wmb
%patch33 -p1 -b .glx13
%patch34 -p1 -b .nv50-texlevel
%patch35 -p1 -b .ise
%patch36 -p1 -b .sw24
%build
@ -468,6 +462,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/osmesa.pc
%changelog
* Thu Nov 03 2011 Dave Airlie <airlied@redhat.com> 7.11-10
- snapshot latest mesa 7.11 stable branch (what will be 7.11.1)
* Thu Nov 03 2011 Adam Jackson <ajax@redhat.com> 7.11-9
- mesa-7.11-fix-sw-24bpp.patch: Fix software rendering in 24bpp.

View File

@ -1,2 +1,2 @@
6ae05158e678f4594343f32c2ca50515 gl-manpages-1.0.1.tar.bz2
ff03aca82d0560009a076a87c888cf13 MesaLib-7.11.tar.bz2
333f61aac5367c8b7b9ea22943c448b1 mesa-20111103.tar.xz