summaryrefslogtreecommitdiff
path: root/graphics/MesaLib/patches/patch-aa
diff options
context:
space:
mode:
authorwiz <wiz>2009-06-05 11:10:35 +0000
committerwiz <wiz>2009-06-05 11:10:35 +0000
commit50fb0629fe29278470daa84e927813aa53ac0ec9 (patch)
treee9290f5e1b079ec32251b7c4dce72631fc5e4dd1 /graphics/MesaLib/patches/patch-aa
parent6ec3e25d3bcf6ba95f16963e7c0de8e0fd0db4c5 (diff)
downloadpkgsrc-50fb0629fe29278470daa84e927813aa53ac0ec9.tar.gz
Update Mesa and friends to 7.4.2.
Update provided by Hasso Tepper on pkgsrc-users. Changes: 7.4.2: Bug fixes * Fixed segfault when rendering to front buffer with DRI 1. * Fixed swrast texture rectangle bug when wrap mode = GL_CLAMP_TO_BORDER and filter mode = GL_LINEAR. (bug 21461) * Fixed texture object mem leak during context destruction. * Fixed a state validation bug in glCopyTex[Sub]Image() * Fixed some i965 GLSL bugs. * Fixed an R300 driver texture object bad memory reference. 7.4.1: Bug fixes * Fixed a two-sided lighting bug in fixed-function-to-GPU code generation * Fixed some Darwin issues (Jeremy Huddleston) * Indexing the GLSL gl_EyePlane[] or gl_ObjectPlane[] arrays with a variable was broken, bug 20986 * Fixed incorrect texture unit bias in TXB instruction * glTexParameter settings weren't always propogated to drivers * Assorted vertex/fragment program bug fixes * Fixed point rendering in software rasterizer * Fixed potential deadlock in object hash functions * Fix a couple bugs surrounding front-buffer rendering with DRI2, but this is not quite complete. * Fixed glPopAttrib() bug when restoring user clip planes 7.4: New features * Added MESA_GLX_FORCE_DIRECT env var for Xlib/software driver * GLSL version 1.20 is returnd by the GL_SHADING_LANGUAGE_VERSION query Bug fixes * glGetActiveUniform() returned wrong size for some array types * Fixed some error checking in glUniform() * Fixed a potential glTexImage('proxy target') segfault * Fixed bad reference counting for 1D/2D texture arrays * Fixed VBO + glPush/PopClientAttrib() bug #19835 * Assorted i965 driver bug fixes * Fixed a Windows compilation failure in s_triangle.c * Fixed a GLSL array indexing bug * Fixes for building on Haiku Changes * Updated GL/glxext.h to version 48 * Assorted updates for building on Solaris 7.3: New features * Support for GLSL 1.20 * Intel DRI drivers now use GEM and DRI2 Bug fixes * Assorted GLSL bug fixes * Assorted i965 driver fixes * Fix for wglCreateLayerContext() in WGL/Windows driver * Build fixes for OpenBSD and gcc 2.95 * GLSL preprocessor handles #pragma now * Fix incorrect transformation of GL_SPOT_DIRECTION * Fixed several bugs (#18367 and #19625) in glXMakeContextCurrent() * Assorted Windows build fixes Changes * Deprecated the "XMesa" interface (include/GL/xmesa*.h files) * Deprecated the "FXMesa" interface (include/GL/fxmesa.h file) * Deprecated the "Allegro" interface (include/GL/amesa.h file) * Removed include/GL/uglmesa.h header * Removed include/GLView.h header for BeOS 7.2: New features * i965 driver: added support for G41 chipset (Intel) Bug fixes * Fixed display list bug involving primitives split across lists (bug 17564) * Fixed some issues with glBindAttribLocation() * Fixed crash in _tnl_InvalidateState() found with Amira (bug 15834) * Assorted bug fixes for Ming build * Fixed some vertex/pixel buffer object reference counting bugs * Fixed depth/stencil bug in i915/945 driver * Fixed some shader flow control bugs in i965 driver * Fixed a few tdfx driver bugs which prevented driver from working * Fixed multisample enable/disable bug Changes * Updated SGI header files with new license terms. 7.1: New features * autoconf-based configuration (and clean-up of Makefiles) * Assorted DRI driver enhancements * Reduced dependencies between X server and Mesa * GL_EXT_texture_from_pixmap extension for Xlib driver * Support for the GL shading language with i965 driver (implemented by Intel) * ATI R500 series support (Radeon X1300-X1950) in r300 DRI driver Bug fixes * Numerous GLSL fixes * Fixed some error code/detection bugs in the GLSL-related API functions * Lots of DRI driver fixes.
Diffstat (limited to 'graphics/MesaLib/patches/patch-aa')
-rw-r--r--graphics/MesaLib/patches/patch-aa15
1 files changed, 10 insertions, 5 deletions
diff --git a/graphics/MesaLib/patches/patch-aa b/graphics/MesaLib/patches/patch-aa
index 77a5cb2b038..41ae993459e 100644
--- a/graphics/MesaLib/patches/patch-aa
+++ b/graphics/MesaLib/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.10 2008/08/17 09:41:35 bjs Exp $
+$NetBSD: patch-aa,v 1.11 2009/06/05 11:10:35 wiz Exp $
---- src/mesa/drivers/dri/mach64/mach64_context.h.orig 2008-07-18 10:39:12.000000000 -0400
-+++ src/mesa/drivers/dri/mach64/mach64_context.h
-@@ -296,7 +296,14 @@ extern GLboolean mach64UnbindContext( __
+--- src/mesa/drivers/dri/mach64/mach64_context.h.orig 2009-01-22 19:38:33 +0200
++++ src/mesa/drivers/dri/mach64/mach64_context.h 2009-05-19 12:13:08 +0300
+@@ -294,12 +294,19 @@ extern GLboolean mach64UnbindContext( __
#define LE32_OUT( x, y ) do { *(GLuint *)(x) = (y); } while (0)
#define LE32_OUT_FLOAT( x, y ) do { *(GLfloat *)(x) = (y); } while (0)
#else
@@ -12,8 +12,13 @@ $NetBSD: patch-aa,v 1.10 2008/08/17 09:41:35 bjs Exp $
+#include <machine/byteswap.h>
+#define bswap_32 bswap32
+#else
+ #ifndef __OpenBSD__
#include <byteswap.h>
+ #else
+ #include <machine/endian.h>
+ #define bswap_32 bswap32
+ #endif
+#endif
+
#define LE32_IN( x ) bswap_32( *(GLuint *)(x) )
#define LE32_IN_FLOAT( x ) \
- ({ \