summaryrefslogtreecommitdiff
path: root/graphics/MesaLib/files
AgeCommit message (Collapse)AuthorFilesLines
2016-01-18Update the manual Darwin patch to apply against current MesaLib.jperkin1-12/+12
2015-09-27Experimentally support building with X11_TYPE=modular on OS X. This targetstnn1-0/+111
the Apple DRI platform instead of libpciaccess & libdrm. It is a step towards packaging XQuartz and towards a future goal of migrating the platform away from the so called "native" X11 which is no longer native by the usual definition.
2015-04-25Update to MesaLib-10.5.3.tnn3-156/+0
Apologies in advance for any fallout. I have tested this as extensively as I could in wip but the fact is we were 5 years and 50+ releases behind so there will undoubtably still be issues. Users of software rendering should see a nice performance boost with this package as it now comes with the llvmpipe software rasterizer. Users who currently enjoy working DRI1 rendering with X11_TYPE=modular should switch to x11/modular-xorg-server112 now as x11/modular-xorg-server will from now on only support DRI2 and up. New features in MesaLib 10.5: Mesa 10.5.0 implements the OpenGL 3.3 API GL_ARB_framebuffer_sRGB on freedreno GL_ARB_texture_rg on freedreno GL_EXT_packed_float on freedreno GL_EXT_polygon_offset_clamp on i965, nv50, nvc0, r600, radeonsi, llvmpipe GL_EXT_texture_shared_exponent on freedreno GL_EXT_texture_snorm on freedreno Changes in MesaLib 10.5: Removed support for GCC versions earlier than 4.2.0. New features in MesaLib 10.4: GL_ARB_conditional_render_inverted on nv50 GL_ARB_sample_shading on r600 GL_ARB_texture_view on nv50, nvc0 GL_ARB_clip_control on nv50, nvc0, r300, r600, radeonsi, llvmpipe, softpipe GL_KHR_context_flush_control on all drivers Changes in MesaLib 10.4: The environment variable GALLIUM_MSAA that forced a multisample GLX visual was removed. New features in MesaLib 10.3: GL_ARB_ES3_compatibility on nv50, nvc0, r600, radeonsi, softpipe, llvmpipe GL_ARB_clear_texture on i965 GL_ARB_compressed_texture_pixel_storage on all drivers GL_ARB_conditional_render_inverted on i965, nvc0, softpipe, llvmpipe GL_ARB_derivative_control on i965, nv50, nvc0, r600 GL_ARB_draw_indirect on nvc0, radeonsi GL_ARB_explicit_uniform_location (all drivers that support GLSL) GL_ARB_fragment_layer_viewport on nv50, nvc0, llvmpipe, r600 GL_ARB_gpu_shader5 on i965/gen7, nvc0 GL_ARB_multi_draw_indirect on nvc0, radeonsi GL_ARB_sample_shading on radeonsi GL_ARB_seamless_cubemap_per_texture on i965, llvmpipe, nvc0, r600, radeonsi, softpipe GL_ARB_stencil_texturing on nv50, nvc0, r600, and radeonsi GL_ARB_texture_barrier on nv50, nvc0, r300, r600, radeonsi GL_ARB_texture_compression_bptc on i965/gen7+, nvc0, r600/evergreen+, radeonsi GL_ARB_texture_cube_map_array on radeonsi GL_ARB_texture_gather on r600, radeonsi GL_ARB_texture_query_levels on nv50, nvc0, llvmpipe, r600, radeonsi, softpipe GL_ARB_texture_query_lod on r600, radeonsi GL_ARB_viewport_array on nvc0 GL_AMD_vertex_shader_viewport_index on i965/gen7+, r600 GL_OES_compressed_ETC1_RGB8_texture on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe GLX_MESA_query_renderer on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe A new software rasterizer driver (kms_swrast_dri.so) that works with DRM drivers that don't have a full-fledged GEM (such as qxl or simpledrm) Distribute the Khronos GL/glcorearb.h header file. Changes in MesaLib 10.3: Removed support for the GL_ATI_envmap_bumpmap extension The hacky --enable-32/64-bit is no longer available in configure. To build 32/64 bit mesa refer to the default method recommended by your distribution New features in MesaLib 10.2: GL_ARB_buffer_storage on i965, nv30, nv50, nvc0, r300, r600, and radeonsi GL_ARB_multi_bind on all drivers GL_ARB_sample_shading on nv50 (GT21x only), nvc0 GL_ARB_separate_shader_objects (desktop OpenGL) and GL_EXT_separate_shader_objects (OpenGL ES 2.0 and 3.0) on all drivers GL_ARB_stencil_texturing on i965/gen8+ GL_ARB_texture_cube_map_array on nv50 (GT21x only) GL_ARB_texture_gather on nv50 (GT21x only), nvc0 GL_ARB_texture_query_lod on nv50 (GT21x only), nvc0 GL_ARB_texture_view on i965/gen7 GL_ARB_vertex_type_10f_11f_11f_rev on nv50, nvc0, radeonsi GL_ARB_viewport_array on nv50, r600 GL_INTEL_performance_query on i965/gen5+ Changes in MesaLib 10.2: Renamed --with-llvm-shared-libs to --enable-llvm-shared-libs Split libxatracker.so into a standalone library which can be used with any gallium driver. New features in MesaLib 10.1: GL_ARB_draw_indirect on i965. GL_ARB_clear_buffer_object GL_ARB_viewport_array on i965. GL_ARB_map_buffer_alignment on all drivers that did not previously support it. GL_AMD_shader_trinary_minmax. GL_EXT_framebuffer_blit on r200 and radeon. Reduced memory usage for display lists. OpenGL 3.3 support on nv50, nvc0, r600 and radeonsi Changes in MesaLib 10.1: Removed support for the GL_MESA_texture_array extension. This extension enabled the use of texture array with fixed-function and assembly fragment shaders. No applications are known to use this extension. New features in MesaLib 10.0: GL_AMD_seamless_cubemap_per_texture on i965. GL_ARB_conservative_depth on i965. GL_ARB_texture_gather on i965. GL_ARB_texture_query_levels on i965. GL_ARB_texture_mirror_clamp_to_edge. GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, and GL_ARB_transform_feedback_instanced on i965/Gen7 (with appropriate kernel support). GL_ARB_sample_shading on i965. GL_ARB_shader_atomic_counters on i965. GL_ARB_vertex_attrib_binding GL_ARB_vertex_type_10f_11f_11f_rev on i965 and r600g GL_KHR_debug GLX_MESA_query_renderer Changes in MesaLib 10.0: Removed X.Org state tracker (unmaintained and broken) Removed the video-accel r300 targets Removed the video-accel softpipe targets New features in MesaLib 9.2: GL_ARB_shading_language_420pack in all drivers that support GLSL 1.30. GL_ARB_texture_buffer_range GL_ARB_texture_multisample GL_ARB_texture_storage_multisample GL_ARB_texture_query_lod GL_ARB_texture_storage on radeon, r200, and nouveau GL_EXT_discard_framebuffer in all OpenGL ES (all versions) drivers GL_EXT_framebuffer_multisample_blit_scaled on i965 Added new freedreno gallium driver OSMesa interface for gallium llvmpipe/softpipe drivers Gallium Heads-Up Display (HUD) feature for performance monitoring Added support for UVD (2.2 and 3.0) video decoding on r600g and radeonsi through VDPAU (requires Kernel 3.10 or later) Changes in MesaLib 9.2: Removed d3d1x state tracker (unused, unmaintained and broken) Removed GL_EXT_clip_volume_hint because no driver had enabled it since 2007. Removed GL_MESA_resize_buffers because it was only really implemented by the (unsupported) GDI driver. GL_EXT_separate_shader_objects has been removed from all Gallium drivers, because it disallows a critical GLSL shader optimization. GL_ARB_separate_shader_objects doesn't have this issue. i965 Gen6+ requires Kernel 3.6 or later. (92d2f5a) New features in MesaLib 9.1: GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_ES3_compatibility GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shading_language_packing GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_EXT_color_buffer_float GL_OES_depth_texture_cube_map OpenGL 3.1 core profile support on Radeon HD2000 up to HD6000 series Multisample anti-aliasing support on Radeon X1000 series OpenGL ES 3.0 support on Intel HD Graphics 2000, 2500, 3000, and 4000 Changes in MesaLib 9.1: Removed VAAPI state tracker (unmaintained and broken) Removed i965's broken hardware implementation of GL_NV_vertex_program Removed swrast support for GL_NV_vertex_program Removed swrast support for GL_NV_fragment_program Removed OpenVMS support (unmaintained and broken) Removed makedepend build dependency New features in MesaLib 9: Added new Gallium3D - nv30 driver Added new Gallium3D - radeonsi driver Added OpenCL state tracker Clover Completed VDPAU state tracker (video decoding support is currently limited to MPEG1 and MPEG2) GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_invalidate_subdata - Currently a "no-op" implementation. This extension is always enabled in all drivers. GL_ARB_shader_bit_encoding GL_ARB_texture_buffer_object GL_ARB_timer_query GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_uniform_buffer_object GL_EXT_unpack_subimage for ES 2.0 GL_EXT_read_format_bgra for ES 1.1 and 2.0 GL_EXT_texture_rg for ES 2.x GL_NV_read_buffer for ES 2.0 GLX_ARB_create_context_robustness EGL_KHR_create_context EGL_KHR_surfaceless_context - This replaces the EGL_KHR_surfaceless_{gles1,gles2,opengl} extensions that were never approved by Khronos. EGL_EXT_create_context_robustness Changes in Mesalib 9: The legacy/static Makefile system (ex: 'make linux-dri') has been removed. The two supported build methods are now autoconf/automake and SCons. Removed support for GL_ARB_shadow_ambient extension Removed Gallium3D - nvfx driver (use nv30 instead) libGLU has been moved into its own repository New features in MesaLib 8: GL_ARB_ES2_compatibility (r300g, r600g) GL_ARB_depth_buffer_float (r600g) GL_ARB_vertex_type_2_10_10_10_rev (r600g) GL_ARB_texture_storage (gallium drivers and swrast) GL_EXT_packed_float (i965) GL_EXT_texture_array (r600g, i965) GL_EXT_texture_shared_exponent (i965) GL_NV_fog_distance (all gallium drivers, nouveau classic) GL_NV_primitive_restart (r600g) GL_OES_EGL_image_external (gallium drivers) GL_OES_compressed_ETC1_RGB8_texture (softpipe, llvmpipe) ARB_texture_rgb10_a2ui (softpipe, r600g) Many updates to the VMware svga Gallium driver Changes in MesaLib 8: Removed all DRI drivers that did not support DRI2. Specifically, i810, mach64, mga, r128, savage, sis, tdfx, and unichrome were removed. Removed support for BeOS. Removed the obsolete (and unmaintained) Windows "gldirect" and "ICD" drivers. Removed the linux-fbdev software driver. Removed all remnants of paletted texture support. As required by desktop OpenGL, GL_COLOR_INDEX data can still be uploaded to a color (e.g., RGBA) texture. However, the data cannot be stored internally as color-index. Removed support for GL_APPLE_client_storage extension. Removed the classic Mesa r300 and r600 drivers, which are superseded by the gallium drivers for this hardware. Removed the dead Gallium i965, cell and failover drivers, which were either broken and with nobody in sight to fix the situation or deprecated.
2013-05-16upgrade to MesaLib-7.11.2richard11-242/+27
2009-08-25- Fix MESA_TINY missed in last version bump.hasso1-2/+5
- Add INSTALL_LIB_DIR and INSTALL_INC_DIR to fix *.pc files. This should address issues mentioned in the PR 41895. While there make dri default for DragonFly. Bump PKGREVISION.
2009-06-05Update Mesa and friends to 7.4.2.wiz3-7/+7
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.
2008-07-30Use new-fangled :Q technology instead of yesteryear's quote characters.dsainty1-2/+2
Use the PTHREAD_XXX variables to set up the linking, otherwise libGL.so isn't linked with libpthread.so under Linux, and so things that link with libGL.so but don't themselves use threads are likely to not link themselves, failing to resolve pthread_getspecific, pthread_once, pthread_key_create and pthread_setspecific. There should be no change on NetBSD platforms, but there is change on other platforms, notably Linux. Bump PKGREVISION to communicate that. Should fix PR36207, does fix Linux build of glx-utils, and allows mission critical software like "bzflag" to build under Linux.
2008-07-27Update to Mesa-7.0.4 (the head of the 7.0 branch in GIT). Basically,bjs2-9/+5
lots of bug fixes; the intent of my update was mostly to fix problems with i915 and r300 dri drivers and to provide the best environment possible for the xorg server update to the 1.4 branch. Morever, many of our patches from pkgsrc, i.e. those removed in this commit, are now included upstream. Additionally, MesaDemos now builds. NOTES: - MesaLib now requires xf86driproto 2.0.4, as earlier versions install dri_interface.h, which is not correct. - glu now exports its symbols via libtool's -export-symfile. The symfile is generated pre-build--see glu/Makefile. - glxinfo/glxgears do not seem to need to be linked to libpthread, and this seems to cause problems on NetBSD with the new drm code. If I am wrong about this, please let me know. The only program that seems to need libpthread is glthreads in MesaDemos.
2008-07-16libdrm-2.3.1 does not include the TTM interface, which will cause thebjs1-2/+2
build of the i915tex driver to break (this driver was never supported on any OS aside from linux, anyway). Bump PKGREVISION.
2008-06-26This is supposed to have a CONFIG_NAME of pkgsrc-x86_64, not pkgsrc-dri-x86_64.bjs1-2/+2
2008-04-24Welcome to Mesa-7.0.3.bjs10-0/+243
Changes from 6.4.2 are (obviously) far too numerous to mention! This package brings with it support for the Direct Rendering Infrastructure (DRI) on NetBSD-current; the kernel DRM was committed approximately one year ago. Patches for NetBSD 4.0 are available in the mailing list archives (I think), but are _not supported_. Developers and other interested parties are encouraged to read the TODO file, as well as my remarks in options.mk. There is still a significant amount of work to be done. Users of NetBSD/i386 (-current) shouldn't have much trouble getting mainstream cards (Intel i915 and Radeon 9600- R430 are by far the most tested) to work. I have taken great pains to ensure that this works properly, but inevitably there will be problems--especially on heretofore untested (read: non-x86) hardware. Your questions, comments, problem reports, and of course bug fixes are welcome. NOTE: There are currently problems (on NetBSD, at least) linking some executables, e.g. compiz, due to unresolved symbols for libpthread functions. This is due to libX11's thread stubs, which should not be enabled on NetBSD >= 2.0; see the TODO For more information and the URL of an interim patch.
2007-08-06Allow MesaLib to be cross-compiled. This is horrible slow, but workingjoerg2-0/+129
magic.
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc2-7/+0
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-03-23update to 3.4.1drochner2-5/+5
Changes: New: - fixed some Linux build problems - fixed some Windows build problems - GL_EXT_texture_env_dot3 extension (Gareth Hughes) Bug fixes: - added RENDER_START/RENDER_FINISH macros for glCopyTexImage in DRI - various state-update code changes needed for DRI bugs - disabled pixel transfer ops in glColorTable commands, not needed - fixed bugs in glCopyConvolutionFilter1D/2D, glGetConvolutionFilter - updated sources and fixed compile problems in widgets-mesa/ - GLX_PBUFFER enum value was wrong in glx.h - fixed a glColorMaterial lighting bug - fixed bad args to Read/WriteStencilSpan in h/w stencil clear function - glXCopySubBufferMESA() Y position was off by one - Error checking of glTexSubImage3D() was broken (bug 128775) - glPopAttrib() didn't restore all derived Mesa state correctly - Better glReadPixels accuracy for 16bpp color - fixes lots of OpenGL conformance problems at 16bpp. - clearing depth buffer with scissoring was broken, would segfault - OSMesaGetDepthBuffer() returned bad bytesPerValue value - fixed a line clipping bug (reported by Craig McDaniel) - fixed RGB color over/underflow bug for very tiny triangles Known problems: - NURBS or evaluator surfaces inside display lists don't always work
2000-12-12update to Mesa 3.4drochner2-5/+5
Changes: New: - optimized glDrawPixels for glPixelZoom(1,-1) Bug Fixes: - widgets-mesa/src/*.c files were missing from 3.3 distro - include/GL/mesa_wgl.h file was missing from 3.3 distro - fixed some Win32 compile problems - texture object priorities weren't getting initialized to 1.0 - glAreTexturesResident return value was wrong when using hardware - glXUseXFont segfaulted when using 3dfx driver (via MESA_GLX_FX) - glReadPixels with GLushort packed types was broken - fixed a few bugs in the GL_EXT_texture_env_combine texture code - glPush/PopAttrib(GL_ENABLE_BIT) mishandled multi-texture enables - fixed some typos/bugs in the VB code - glDrawPixels(GL_COLOR_INDEX) to RGB window didn't work - optimized glDrawPixels paths weren't being used - per-fragment fog calculation didn't work without a Z buffer - improved blending accuracy, fixes Glean blendFunc test failures - glPixelStore(GL_PACK/UNPACK_SKIP_IMAGES) wasn't handled correctly - glXGetProcAddressARB() didn't always return the right address - gluBuild[12]DMipmaps() didn't grok the GL_BGR pixel format - texture matrix changes weren't always detected (GLUT projtex demo) - fixed random color problem in vertex fog code - fixed Glide-related bug that let Quake get a 24-bit Z buffer Changes: - finished internal support for compressed textures for DRI
2000-10-15Initial import of MesaLib-3.2.1, the library part of the new split-up Mesarh2-0/+7
system. This is the part of Mesa that's present on XFree86-4.x and therefore only required for XFree86-3.x