summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
diff options
context:
space:
mode:
authorjschauma <jschauma>2002-12-05 15:11:48 +0000
committerjschauma <jschauma>2002-12-05 15:11:48 +0000
commit3fae692f6f55b4d86d1e299a41d92f056584846b (patch)
treead085d91f9be35b22526a00ce21beecb8901dcf7 /graphics/MesaLib
parentac036b577151c14cd10b5921fd8fb1995e620d68 (diff)
downloadpkgsrc-3fae692f6f55b4d86d1e299a41d92f056584846b.tar.gz
Update of Mesa, MesaLib, glu and glut to version 5.0 of Mesa.
Our previous version was 3.4.1, so here goes the changelog (ready to scroll?): New in 3.4.2: Bug fixes: - deleting the currently bound texture could cause bad problems - using fog could result in random vertex alpha values - AA triangle rendering could touch pixels outside right window bound - fixed byteswapping problem in clear_32bit_ximage() function - fixed bugs in wglUseFontBitmapsA(), by Frank Warmerdam - fixed memory leak in glXUseXFont() - fragment sampling in AA triangle function was off by 1/2 pixel - Windows: reading pixels from framebuffer didn't always work - glConvolutionFilter2D could segfault or cause FP exception - fixed segfaults in FX and X drivers when using tex unit 1 but not 0 - GL_NAND logicop didn't work right in RGBA mode - fixed a memory corruption bug in vertex buffer reset code - clearing the softwara alpha buffer with scissoring was broken - fixed a few color index mode fog bugs - fixed some bad assertions in color index mode - fixed FX line 'stipple' bug #420091 Changes: - optimized writing mono-colored pixel spans to X pixmaps - increased max viewport size to 2048 x 2048 New in 3.5: New: - internals of Mesa divided into modular pieces (Keith Whitwell) - 100% OpenGL 1.2 conformance (passes all conformance tests) - new AA line algorithm - GL_EXT_convolution extension - GL_ARB_imaging subset - OSMesaCreateContextExt() function - GL_ARB_texture_env_add extension (same as GL_EXT_texture_env_add) - GL_MAX_TEXTURE_UNITS_ARB now defaults to eight - GL_EXT_fog_coord extension (Keith Whitwell) - GL_EXT_secondary_color extension (Keith Whitwell) - GL_ARB_texture_env_add extension (same as GL_EXT_texture_env_add) - GL_SGIX_depth_texture extension - GL_SGIX_shadow and GL_SGIX_shadow_ambient extensions - demos/shadowtex.c demo of GL_SGIX_depth_texture and GL_SGIX_shadow - GL_ARB_texture_env_combine extension - GL_ARB_texture_env_dot3 extension - GL_ARB_texture_border_clamp (aka GL_SGIS_texture_border_clamp) - OSMesaCreateContextExt() function - libOSMesa.so library, contains the OSMesa driver interface - GL/glxext.h header file for GLX extensions - somewhat faster software texturing, fogging, depth testing - all color-index conformance tests now pass (only 8bpp tested) - SPARC assembly language TCL optimizations (David Miller) - GL_SGIS_generate_mipmap extension Bug Fixes: - fbiRev and tmuRev were unitialized when using Glide3 - fixed a few color index mode conformance failures; all pass now - now appling antialiasing coverage to alpha after texturing - colors weren't getting clamped to [0,1] before color table lookup - fixed RISC alignment errors caused by COPY_4UBV macro - drawing wide, flat-shaded lines could cause a segfault - vertices now snapped to 1/16 pixel to fix rendering of tiny triangles Changes: - SGI's Sample Implementation (SI) 1.3 GLU library replaces Mesa GLU - new libOSMesa.so library, contains the OSMesa driver interface New in 4.0: New: - Mesa 4.0 implements the OpenGL 1.3 specification - GL_IBM_rasterpos_clip extension - GL_EXT_texture_edge_clamp extension (aka GL_SGIS_texture_edge_clamp) - GL_ARB_texture_mirrored_repeat extension - WindML UGL driver (Stephane Raimbault) - added OSMESA_MAX_WIDTH/HEIGHT queries - attempted compiliation fixes for Solaris 5, 7 and 8 - updated glext.h and glxext.h files - updated Windows driver (Karl Schultz) Bug fixes: - added some missing GLX 1.3 tokens to include/GL/glx.h - GL_COLOR_MATRIX changes weren't recognized by teximage functions - glCopyPixels with scale and bias was broken - glRasterPos with lighting could segfault - glDeleteTextures could leave a dangling pointer - Proxy textures for cube maps didn't work - fixed a number of 16-bit color channel bugs - fixed a few minor memory leaks - GLX context sharing was broken in 3.5 - fixed state-update bugs in glPopClientAttrib() - fixed glDrawRangeElements() bug - fixed a glPush/PopAttrib() bug related to texture binding - flat-shaded, textured lines were broken - fixed a dangling pointer problem in the XMesa code (Chris Burghart) - lighting didn't always produce the correct alpha value - fixed 3DNow! code to not read past end of arrays (Andrew Lewycky) New in 4.0.1: New: - better sub-pixel sample positions for AA triangles (Ray Tice) - slightly faster blending for (GL_ZERO, GL_ONE) and (GL_ONE, GL_ZERO) Bug fixes: - added missing break statements in glGet*() for multisample cases - fixed uninitialized hash table mutex bug (display lists / texobjs) - fixed bad teximage error check conditional (bug 476846) - fixed demos readtex.c compilation problem on Windows (Karl Schultz) - added missing glGet() query for GL_MAX_TEXTURE_LOD_BIAS_EXT - silence some compiler warnings (gcc 2.96) - enable the #define GL_VERSION_1_3 in GL/gl.h - added GL 1.3 and GLX 1.4 entries to gl_mangle.h and glx_mangle.h - fixed glu.h typedef problem found with MSDev 6.0 - build libGL.so with -Bsymbolic (fixes bug found with Chromium) - added missing 'const' to glXGetContextIDEXT() in glxext.h - fixed a few glXGetProcAddress() errors (texture compression, etc) - fixed start index bug in compiled vertex arrays (Keith) - fixed compilation problems in src/SPARC/glapi_sparc.S - fixed triangle strip "parity" bug found in VTK medical1 demo (Keith) - use glXGetProcAddressARB in GLUT to avoid extension linking problems - provoking vertex of flat-shaded, color-index triangles was wrong - fixed a few display list bugs (GLUT walker, molecule, etc) (Keith) - glTexParameter didn't flush the vertex buffer (Ray Tice) - feedback attributes for glDraw/CopyPixels and glBitmap were wrong - fixed bug in normal length caching (ParaView lighting bug) New in 4.0.2: New: - New DOS (DJGPP) driver written by Daniel Borca - New driver interface functions for TCL drivers (such as Radeon DRI) - GL_RENDERER string returns "Mesa Offscreen16" or "Mesa Offscreen32" if using deep color channels - latest GL/glext.h and GL/glxext.h headers from SGI Bug fixes: - GL_BLEND with non-black texture env color wasn't always correct - GL_REPLACE with GL_RGB texture format wasn't always correct (alpha) - glTexEnviv( pname != GL_TEXTURE_ENV_COLOR ) was broken - glReadPixels was sometimes mistakenly clipped by the scissor box - glDraw/ReadPixels didn't catch all the errors that they should have - Fixed 24bpp rendering problem in Windows driver (Karl Schultz) - 16-bit GLchan mode fixes (m_trans_tmp.h, s_triangle.c) - Fixed 1-bit float->int conversion bug in glDrawPixels(GL_DEPTH_COMP) - glColorMask as sometimes effecting glXSwapBuffers() - fixed a potential bug in XMesaGarbageCollect() - N threads rendering into one window didn't work reliably - glCopyPixels didn't work for deep color channels - improved 8 -> 16bit/channel texture image conversion (Gerk Huisma) - glPopAttrib() didn't correctly restore user clip planes - user clip planes failed for some perspective projections (Chromium) New in 4.0.3: New: - updated GL/glext.h file (version 15) - corrected MMX blend code (Jose Fonseca) - support for software-based alpha planes in Windows driver - updated GGI driver (Filip Spacek) Bug fixes: - glext.h had wrong values for GL_DOT3_RGB[A]_EXT tokens - OSMesaMakeCurrent() didn't recognize buffer size changes - assorted conformance fixes for 16-bit/channel rendering - texcombine alpha subtraction mode was broken - fixed lighting bug with non-uniform scaling and display lists - fixed bug when deleting shared display lists - disabled SPARC cliptest assembly code (Mesa bug 544665) - fixed a couple Solaris compilation/link problems - blending clipped glDrawPixels didn't always work - glGetTexImage() didn't accept packed pixel types - glPixelMapu[is]v() could explode given too large of pixelmap - glGetTexParameter[if]v() didn't accept GL_TEXTURE_MAX_ANISOTROPY_EXT - glXCopyContext() could lead to segfaults - glCullFace(GL_FRONT_AND_BACK) didn't work (bug 572665) Changes: - lots of C++ (g++) code clean-ups - lots of T&L updates for the Radeon DRI driver Known bugs: - mipmap LOD computation (fixed for Mesa 4.1) New in 4.0.4: New: - GL_NV_texture_rectangle extension - updated glext.h header (version 17) - updated DOS driver (Daniel Borca) - updated BeOS R5 driver (Philippe Houdoin) - added GL_IBM_texture_mirror_repeat - glxinfo now takes -l option to print interesting OpenGL limits info - GL_MESA_ycbcr_texture extension - GL_APPLE_client_storage extension (for some DRI drivers only) - GL_MESA_pack_invert extension Bug fixes: - fixed GL_LINEAR fog bug by adding clamping - fixed FP exceptions found using Alpha CPU - 3dfx MESA_GLX_FX=window (render to window) didn't work - fixed memory leak in wglCreateContest (Karl Schultz) - define GLAPIENTRY and GLAPI if undefined in glu.h - wglGetProcAddress didn't handle all API functions - when testing for OpenGL 1.2 vs 1.3, check for GL_ARB_texture_cube_map - removed GL_MAX_CONVOLUTION_WIDTH/HEIGHT from glGetInteger/Float/etc() - error checking in compressed tex image functions had some glitches - fixed AIX compile problem in src/config.c - glGetTexImage was using pixel unpacking instead of packing params - auto-mipmap generation for cube maps was incorrect Changes: - max texture units reduced to six to accomodate texture rectangles - removed unfinished GL_MESA_sprite_point extension code - if you are reading this, I'm really surprised New in 4.1: New: - GL_NV_vertex_program extension - GL_NV_vertex_program1_1 extension - GL_ARB_window_pos extension - GL_ARB_depth_texture extension - GL_ARB_shadow extension - GL_ARB_shadow_ambient extension - GL_EXT_shadow_funcs extension - GL_ARB_point_parameters extension - GL_ARB_texture_env_crossbar - GL_NV_point_sprite extension - GL_NV_texture_rectangle extension - GL_EXT_multi_draw_arrays extension - GL_EXT_stencil_two_side extension - GLX_SGIX_fbconfig and GLX_SGIX_pbuffer extensions - GL_ATI_texture_mirror_once extension (Ian Romanick) - massive overhaul/simplification of software rasterizer module, many contributions from Klaus Niederkrueger - faster software texturing in some cases (i.e. trilinear filtering) - new OSMesaGetProcAddress() function - more blend modes implemented with MMX code (Jose Fonseca) - added glutGetProcAddress() to GLUT - added GLUT_FPS env var to compute frames/second in glutSwapBuffers() - pbinfo and pbdemo PBuffer programs - glxinfo -v prints transprent pixel info (Gerd Sussner) Bug fixes: - better mipmap LOD computation (prevents excessive blurriness) - OSMesaMakeCurrent() didn't recognize buffer size changes - assorted conformance fixes for 16-bit/channel rendering - texcombine alpha subtraction mode was broken - fixed some blend problems when GLchan==GLfloat (Gerk Huisma) - clamp colors to [0,1] in OSMesa if GLchan==GLfloat (Gerk Huisma) - fixed divide by zero error in NURBS tessellator (Jon Perry) - fixed GL_LINEAR fog bug by adding clamping - fixed FP exceptions found using Alpha CPU - 3dfx/glide driver render-to-window feature was broken - added missing GLX_TRANSPARENT_RGB token to glx.h - fixed error checking related to paletted textures - fixed reference count error in glDeleteTextures (Randy Fayan) Changes: - New spec file and Python code to generate some GL dispatch files - Glide driver defaults to "no" with autoconf/automake - floating point color channels now clamped to [0,inf) - updated demos/stex3d with new options New in 5.0: New: - OpenGL 1.4 support (glGetString(GL_VERSION) returns "1.4") - removed some overlooked debugging code - glxinfo updated to support GLX_ARB_multisample - GLUT now support GLX_ARB_multisample - updated DOS driver (Daniel Borca) Bug fixes: - GL_POINT and GL_LINE-mode polygons didn't obey cull state - fixed potential bug in _mesa_align_malloc/calloc() - fixed missing triangle bug when running vertex programs - fixed a few HPUX compilation problems - FX (Glide) driver didn't compile - setting GL_TEXTURE_BORDER_COLOR with glTexParameteriv() didn't work - a few EXT functions, like glGenTexturesEXT, were no-ops - a few OpenGL 1.4 functions like glFogCoord*, glBlendFuncSeparate, glMultiDrawArrays and glMultiDrawElements were missing - glGet*(GL_ACTIVE_STENCIL_FACE_EXT) was broken - Pentium 4 Mobile was mistakenly identified as having 3DNow! - fixed one-bit error in point/line fragment Z calculation - fixed potential segfault in fakeglx code - fixed color overflow problem in DOT3 texture env mode Phew!
Diffstat (limited to 'graphics/MesaLib')
-rw-r--r--graphics/MesaLib/PLIST13
-rw-r--r--graphics/MesaLib/distinfo10
-rw-r--r--graphics/MesaLib/patches/patch-aa12
-rw-r--r--graphics/MesaLib/patches/patch-ab38
4 files changed, 29 insertions, 44 deletions
diff --git a/graphics/MesaLib/PLIST b/graphics/MesaLib/PLIST
index 2f6c10b1b00..9c7c372e5d5 100644
--- a/graphics/MesaLib/PLIST
+++ b/graphics/MesaLib/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2002/08/25 18:38:56 jlam Exp $
+@comment $NetBSD: PLIST,v 1.4 2002/12/05 15:11:49 jschauma Exp $
etc/mesa.conf
include/GL/gl.h
include/GL/gl_mangle.h
@@ -9,9 +9,14 @@ include/GL/osmesa.h
include/GL/xmesa.h
include/GL/xmesa_x.h
include/GL/xmesa_xf86.h
-lib/libGL.so
-lib/libGL.so.3
-lib/libGL.so.3.4
lib/libGL.a
lib/libGL.la
+lib/libGL.so
+lib/libGL.so.5
+lib/libGL.so.5.500
+lib/libOSMesa.a
+lib/libOSMesa.la
+lib/libOSMesa.so
+lib/libOSMesa.so.4
+lib/libOSMesa.so.4.500
@unexec ${RMDIR} %D/include/GL >/dev/null 2>&1 || ${TRUE}
diff --git a/graphics/MesaLib/distinfo b/graphics/MesaLib/distinfo
index ebd128485d7..eab1632076d 100644
--- a/graphics/MesaLib/distinfo
+++ b/graphics/MesaLib/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2001/05/30 10:53:06 drochner Exp $
+$NetBSD: distinfo,v 1.5 2002/12/05 15:11:49 jschauma Exp $
-SHA1 (MesaLib-3.4.2.tar.bz2) = 1a41b61a29538127dbb0ab2882ac69554a0e9e37
-Size (MesaLib-3.4.2.tar.bz2) = 1380805 bytes
-SHA1 (patch-aa) = f8e311944bbd80bf3939196dbbe993f78b2f8c50
-SHA1 (patch-ab) = 8cf672d645f9681b0987e94d3692903a5314173e
+SHA1 (MesaLib-5.0.tar.bz2) = 098260c89c4109a8823c76a2c4d75cef8484819d
+Size (MesaLib-5.0.tar.bz2) = 1645037 bytes
+SHA1 (patch-aa) = 7fa63dca0edfc41812b5432cbabd861ec52cec33
+SHA1 (patch-ab) = 17d8f0508710fc03a75e736a3298ede72b953af7
diff --git a/graphics/MesaLib/patches/patch-aa b/graphics/MesaLib/patches/patch-aa
index 46fc86c23c3..23449707905 100644
--- a/graphics/MesaLib/patches/patch-aa
+++ b/graphics/MesaLib/patches/patch-aa
@@ -1,14 +1,14 @@
-$NetBSD: patch-aa,v 1.2 2000/12/12 17:22:39 drochner Exp $
+$NetBSD: patch-aa,v 1.3 2002/12/05 15:11:50 jschauma Exp $
---- src/X86/assyntax.h.orig Mon Sep 25 17:12:01 2000
-+++ src/X86/assyntax.h Sun Dec 10 23:45:34 2000
-@@ -954,7 +954,8 @@
+--- src/X86/assyntax.h.orig Tue Nov 19 15:17:48 2002
++++ src/X86/assyntax.h Tue Nov 19 15:18:34 2002
+@@ -965,7 +965,8 @@
#if defined(Lynx) || (defined(SYSV) || defined(SVR4)) \
- || (defined(linux) || defined(__OS2ELF__)) && defined(__ELF__) \
+ || (defined(__linux__) || defined(__OS2ELF__)) && defined(__ELF__) \
- || defined(__FreeBSD__) && __FreeBSD__ >= 3
+ || defined(__FreeBSD__) && __FreeBSD__ >= 3 \
+ || defined(__NetBSD__) && defined(__ELF__)
#define GLNAME(a) a
#else
- #define GLNAME(a) _ ## a
+ #define GLNAME(a) CONCAT(_, a)
diff --git a/graphics/MesaLib/patches/patch-ab b/graphics/MesaLib/patches/patch-ab
index f21d9b7e039..4f6e7185b0c 100644
--- a/graphics/MesaLib/patches/patch-ab
+++ b/graphics/MesaLib/patches/patch-ab
@@ -1,33 +1,13 @@
-$NetBSD: patch-ab,v 1.4 2001/05/30 07:53:03 drochner Exp $
+$NetBSD: patch-ab,v 1.5 2002/12/05 15:11:50 jschauma Exp $
---- configure.orig Thu May 17 00:28:58 2001
-+++ configure Fri May 18 14:16:44 2001
-@@ -823,8 +823,8 @@
- MESA_MAJOR=3
- MESA_MINOR=4
- MESA_TINY=2
--LIBGL_VERSION=1:2:0${MESA_MAJOR}0${MESA_MINOR}0${MESA_TINY}
--LIBGLU_VERSION=1:1:0${MESA_MAJOR}0${MESA_MINOR}0${MESA_TINY}
-+LIBGL_VERSION=${MESA_MAJOR}:${MESA_MINOR}:${MESA_TINY}
-+LIBGLU_VERSION=${MESA_MAJOR}:${MESA_MINOR}:${MESA_TINY}
- LIBGLUT_VERSION=3:7:0
-
-
-@@ -4635,7 +4635,7 @@
- if test -d $srcdir/src-glut; then
- have_glut_source=yes
- else
-- { echo "configure: error: GLUT sources missing; that is not supported at this point." 1>&2; exit 1; }
-+ { echo "configure: error: GLUT sources missing; that is not supported at this point." 1>&2; }
- fi
- echo "$ac_t""$have_glut_source" 1>&6
- need_glut=no
-@@ -4673,7 +4673,7 @@
- done
- echo "$ac_t""$have_demo_source" 1>&6
- if test "x$have_demo_source" != xyes; then
-- { echo "configure: error: Demo sources missing; that is not supported at this point." 1>&2; exit 1; }
-+ { echo "configure: error: Demo sources missing; that is not supported at this point." 1>&2; }
+--- configure.orig Wed Nov 13 22:18:19 2002
++++ configure Tue Nov 19 15:52:05 2002
+@@ -1532,7 +1532,7 @@
fi
+ MAINT=$MAINTAINER_MODE_TRUE
+-ac_config_files="$ac_config_files Makefile include/Makefile include/GL/Makefile src/Makefile src/array_cache/Makefile src/math/Makefile src/swrast/Makefile src/swrast_setup/Makefile src/tnl/Makefile src/Trace/Makefile src/FX/Makefile src/FX/X86/Makefile src/GGI/Makefile src/GGI/include/Makefile src/GGI/include/ggi/Makefile src/GGI/include/ggi/mesa/Makefile src/GGI/ggimesa.conf src/GGI/default/Makefile src/GGI/default/genkgi.conf src/GGI/display/Makefile src/GGI/display/fbdev.conf src/OSmesa/Makefile src/SVGA/Makefile src/X/Makefile src/X86/Makefile src/SPARC/Makefile util/Makefile ggi/demos/Makefile ggi/ggiglut/Makefile src-glu/Makefile si-glu/Makefile si-glu/include/Makefile si-glu/libnurbs/Makefile si-glu/libnurbs/interface/Makefile si-glu/libnurbs/internals/Makefile si-glu/libnurbs/nurbtess/Makefile si-glu/libtess/Makefile si-glu/libutil/Makefile"
++ac_config_files="$ac_config_files Makefile include/Makefile include/GL/Makefile src/Makefile src/array_cache/Makefile src/math/Makefile src/swrast/Makefile src/swrast_setup/Makefile src/tnl/Makefile src/Trace/Makefile src/FX/Makefile src/FX/X86/Makefile src/GGI/Makefile src/GGI/include/Makefile src/GGI/include/ggi/Makefile src/GGI/include/ggi/mesa/Makefile src/GGI/ggimesa.conf src/GGI/default/Makefile src/GGI/default/genkgi.conf src/GGI/display/Makefile src/GGI/display/fbdev.conf src/OSmesa/Makefile src/SVGA/Makefile src/X/Makefile src/X86/Makefile src/SPARC/Makefile util/Makefile src-glu/Makefile si-glu/Makefile si-glu/include/Makefile si-glu/libnurbs/Makefile si-glu/libnurbs/interface/Makefile si-glu/libnurbs/internals/Makefile si-glu/libnurbs/nurbtess/Makefile si-glu/libtess/Makefile si-glu/libutil/Makefile"
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'