From 6db4be10c0f9a7b6e63711927f1a7e1a6d8ea5d5 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 22 Mar 2009 02:39:21 +0000 Subject: [PATCH] - bump to snapshot of mesa master - mainly has intel dri2 tfp fixes + radeon rewrite patch --- .cvsignore | 1 + mesa-7.1-link-shared.patch | 8 +- mesa-7.1-nukeglthread-debug.patch | 9 - mesa-7.3-fixes-from-7.4-branch.patch | 2525 -------------------------- mesa.spec | 34 +- radeon-rewrite.patch | 2 +- sources | 3 +- 7 files changed, 26 insertions(+), 2556 deletions(-) delete mode 100644 mesa-7.3-fixes-from-7.4-branch.patch diff --git a/.cvsignore b/.cvsignore index f518248..a02cf06 100644 --- a/.cvsignore +++ b/.cvsignore @@ -2,3 +2,4 @@ gl-manpages-1.0.1.tar.bz2 xdriinfo-1.0.2.tar.bz2 MesaDemos-7.3.tar.bz2 MesaLib-7.3.tar.bz2 +mesa-20090322.tar.bz2 diff --git a/mesa-7.1-link-shared.patch b/mesa-7.1-link-shared.patch index 7fdbf14..f042383 100644 --- a/mesa-7.1-link-shared.patch +++ b/mesa-7.1-link-shared.patch @@ -5,8 +5,8 @@ diff -up mesa-20080814/src/mesa/drivers/dri/Makefile.dricore mesa-20080814/src/m --default: $(TOP)/$(LIB_DIR) subdirs -+default: $(TOP)/$(LIB_DIR) $(TOP)/$(LIB_DIR)/libdricore.so subdirs +-default: $(TOP)/$(LIB_DIR) subdirs dri.pc ++default: $(TOP)/$(LIB_DIR) $(TOP)/$(LIB_DIR)/libdricore.so subdirs dri.pc $(TOP)/$(LIB_DIR): @@ -58,8 +58,8 @@ diff -up mesa-20080814/src/mesa/drivers/dri/Makefile.template.dricore mesa-20080 $(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile $(TOP)/src/mesa/drivers/dri/Makefile.template $(MKLIB) -o $@ -noprefix -linker '$(CC)' -ldflags '$(LDFLAGS)' \ -- $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(DRI_LIB_DEPS) -+ $(OBJECTS) $(WINOBJ) \ +- $(OBJECTS) $(PIPE_DRIVERS) $(MESA_MODULES) $(WINOBJ) $(DRI_LIB_DEPS) ++ $(OBJECTS) $(PIPE_DRIVERS) $(WINOBJ) \ + -L$(TOP)/$(LIB_DIR) -Wl,-R$(DRI_DRIVER_INSTALL_DIR) -ldricore \ + $(DRI_LIB_DEPS) diff --git a/mesa-7.1-nukeglthread-debug.patch b/mesa-7.1-nukeglthread-debug.patch index dc8ad6f..3df6e9a 100644 --- a/mesa-7.1-nukeglthread-debug.patch +++ b/mesa-7.1-nukeglthread-debug.patch @@ -13,12 +13,3 @@ diff -up Mesa-7.1/src/mesa/drivers/dri/intel/intel_fbo.c.intel-glthread Mesa-7.1 /* point the renderbufer's region to the texture image region */ intel_image = intel_texture_image(newImage); if (irb->region != intel_image->mt->region) { -@@ -674,8 +669,6 @@ intel_finish_render_texture(GLcontext * - { - 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); diff --git a/mesa-7.3-fixes-from-7.4-branch.patch b/mesa-7.3-fixes-from-7.4-branch.patch deleted file mode 100644 index 2044868..0000000 --- a/mesa-7.3-fixes-from-7.4-branch.patch +++ /dev/null @@ -1,2525 +0,0 @@ -diff --git a/Makefile b/Makefile -index ebc5254..ee40b75 100644 ---- a/Makefile -+++ b/Makefile -@@ -174,10 +174,10 @@ ultrix-gcc: - - # Rules for making release tarballs - --DIRECTORY = Mesa-7.3 --LIB_NAME = MesaLib-7.3 --DEMO_NAME = MesaDemos-7.3 --GLUT_NAME = MesaGLUT-7.3 -+DIRECTORY = Mesa-7.4 -+LIB_NAME = MesaLib-7.4 -+DEMO_NAME = MesaDemos-7.4 -+GLUT_NAME = MesaGLUT-7.4 - - MAIN_FILES = \ - $(DIRECTORY)/Makefile* \ -diff --git a/configure.ac b/configure.ac -index 33c1072..73caf00 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -46,10 +46,14 @@ esac - MKDEP_OPTIONS=-fdepend - dnl Ask gcc where it's keeping its secret headers - if test "x$GCC" = xyes; then -- GCC_INCLUDES=`$CC -print-file-name=include` -- if test "x$GCC_INCLUDES" != x; then -- MKDEP_OPTIONS="$MKDEP_OPTIONS -I$GCC_INCLUDES" -- fi -+ for dir in include include-fixed; do -+ GCC_INCLUDES=`$CC -print-file-name=$dir` -+ if test "x$GCC_INCLUDES" != x && \ -+ test "$GCC_INCLUDES" != "$dir" && \ -+ test -d "$GCC_INCLUDES"; then -+ MKDEP_OPTIONS="$MKDEP_OPTIONS -I$GCC_INCLUDES" -+ fi -+ done - fi - AC_SUBST([MKDEP_OPTIONS]) - -@@ -362,7 +366,7 @@ default_driver="xlib" - case "$host_os" in - linux*) - case "$host_cpu" in -- i*86|x86_64|powerpc*) default_driver="dri";; -+ i*86|x86_64|powerpc*|sparc*) default_driver="dri";; - esac - ;; - *freebsd* | dragonfly*) -diff --git a/docs/relnotes-7.3.html b/docs/relnotes-7.3.html -index c083fcb..df89884 100644 ---- a/docs/relnotes-7.3.html -+++ b/docs/relnotes-7.3.html -@@ -22,13 +22,21 @@ Some drivers don't support all the features required in OpenGL 2.1. -

-

- See the Compiling/Installing page for prerequisites --for DRI ardware acceleration. -+for DRI hardware acceleration. -

- - -

MD5 checksums

-
--tbd
-+8ed03191432b22d118d88d6db497f304  MesaLib-7.3.tar.gz
-+781e7811a6ed5c97b2b8defefc8ffbc9  MesaLib-7.3.tar.bz2
-+3ccba9a1734ed6d4b3389e1535d90fbf  MesaLib-7.3.zip
-+d312e974b31043b13b61bac5fbf00b87  MesaDemos-7.3.tar.gz
-+3f0741394069bdf2329565a387396cda  MesaDemos-7.3.tar.bz2
-+4d0887fd4c66a824295cdd619f6d34cb  MesaDemos-7.3.zip
-+2d7661b66022bcb8878728f3d5bd33ab  MesaGLUT-7.3.tar.gz
-+abe8036a724c1a483bdad6b5a55ddc1a  MesaGLUT-7.3.tar.bz2
-+5f247819b47e2a7c62d07a6afe5262fb  MesaGLUT-7.3.zip
- 
- - -diff --git a/docs/relnotes-7.4.html b/docs/relnotes-7.4.html -new file mode 100644 -index 0000000..8ad23e5 ---- /dev/null -+++ b/docs/relnotes-7.4.html -@@ -0,0 +1,79 @@ -+ -+ -+Mesa Release Notes -+ -+ -+ -+ -+ -+ -+ -+

Mesa 7.4 Release Notes / date TBD

-+ -+

-+Mesa 7.4 is a stable development release fixing bugs since the 7.3 release. -+

-+

-+Mesa 7.4 implements the OpenGL 2.1 API, but the version reported by -+glGetString(GL_VERSION) depends on the particular driver being used. -+Some drivers don't support all the features required in OpenGL 2.1. -+

-+

-+See the Compiling/Installing page for prerequisites -+for DRI ardware acceleration. -+

-+ -+ -+

MD5 checksums

-+
-+tbd
-+
-+ -+ -+

New features

-+ -+ -+ -+

Bug fixes

-+ -+ -+

Changes

-+ -+ -+ -+ -+

Driver Status

-+ -+
-+Driver			Status
-+----------------------	----------------------
-+DRI drivers		varies with the driver
-+XMesa/GLX (on Xlib)	implements OpenGL 2.1
-+OSMesa (off-screen)	implements OpenGL 2.1
-+Windows/Win32		implements OpenGL 2.1
-+Glide (3dfx Voodoo1/2)	implements OpenGL 1.3
-+SVGA			unsupported
-+Wind River UGL		unsupported
-+DJGPP			unsupported
-+GGI			unsupported
-+BeOS			unsupported
-+Allegro			unsupported
-+D3D			unsupported
-+
-+ -+ -+ -diff --git a/docs/relnotes.html b/docs/relnotes.html -index 020e485..61c6a20 100644 ---- a/docs/relnotes.html -+++ b/docs/relnotes.html -@@ -20,6 +20,7 @@ The release notes summarize what's new or changed in each Mesa release. -

- -