summaryrefslogtreecommitdiff
path: root/graphics/MesaLib/PLIST
AgeCommit message (Collapse)AuthorFilesLines
2017-02-24MesaLib: split out VA-API and VDPAU availability checkmaya1-3/+3
so if libva is unavailable on your platform, VDPAU can still be used. if I didn't break your build before, this change should be cosmetic.
2017-02-24MesaLib: build VDPAU support if it's available.maya1-1/+19
Tested on NetBSD with nvidia GTX 770 (nouveau), running mpv with env VDPAU_DRIVER=nouveau. This may cause a PLIST mismatch/build issues on FreeBSD/Linux, as I expect libvdpau_nvidia.so to be created for those. we will find out the hard way. bump PKGREVISION
2016-02-23build & install broadcom and qualcomm DRI drivers on ARMtnn1-1/+4
2016-01-05Update to mesa-11.1.0 (2015-12-15)tnn1-1/+3
New features: OpenGL 3.1 support on freedreno (a3xx, a4xx) OpenGL 3.3 support for VMware guest VM driver (supported by Workstation 12 and Fusion 8). GL_AMD_performance_monitor on nv50 GL_ARB_arrays_of_arrays on i965 GL_ARB_blend_func_extended on freedreno (a3xx) GL_ARB_clear_texture on nv50, nvc0 GL_ARB_clip_control on freedreno/a4xx GL_ARB_copy_image on nv50, nvc0, radeonsi GL_ARB_depth_clamp on freedreno/a4xx GL_ARB_fragment_layer_viewport on i965 (gen6+) GL_ARB_gpu_shader_fp64 on r600 for Cypress/Cayman/Aruba chips GL_ARB_gpu_shader5 on r600 for Evergreen and later chips GL_ARB_seamless_cubemap_per_texture on freedreno/a4xx GL_ARB_shader_clock on i965 (gen7+) GL_ARB_shader_stencil_export on i965 (gen9+) GL_ARB_shader_storage_buffer_object on i965 GL_ARB_shader_texture_image_samples on i965, nv50, nvc0, r600, radeonsi GL_ARB_texture_barrier / GL_NV_texture_barrier on i965 GL_ARB_texture_buffer_range on freedreno/a3xx GL_ARB_texture_compression_bptc on freedreno/a4xx GL_ARB_texture_query_lod on softpipe GL_ARB_texture_view on radeonsi and r600 (for evergeen and newer) GL_ARB_vertex_type_2_10_10_10_rev on freedreno (a3xx, a4xx) GL_EXT_blend_func_extended on all drivers that support the ARB version GL_EXT_buffer_storage implemented for when ES 3.1 support is gained GL_EXT_draw_elements_base_vertex on all drivers GL_EXT_texture_compression_rgtc / latc on freedreno (a3xx & a4xx) GL_KHR_debug (GLES) GL_NV_conditional_render on freedreno GL_OES_draw_elements_base_vertex on all drivers EGL_KHR_create_context on softpipe, llvmpipe EGL_KHR_gl_colorspace on softpipe, llvmpipe new virgl gallium driver for qemu virtio-gpu 16x multisampling on i965 (gen9+) GL_EXT_shader_samples_identical on i965.
2015-09-27Experimentally support building with X11_TYPE=modular on OS X. This targetstnn1-4/+4
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-09-26Update to mesa-11.0.0 (2015-09-12)tnn1-2/+22
Tested on: - NetBSD 7.0/i386 EeePC 1001PXD with i915 (Pineview) - NetBSD 7.99.21/amd64 with Radeon HD 5450 (Evergreen/Cedar) pkgsrc changes: - make i386 & x86_64 glx-tls dispatch assembly stubs aware of that the dispatch table pointer may be NULL due to TLS implementation limitations - work around run time loader issue on NetBSD (#50277) - TLS dispatch support is now enabled again on NetBSD - llvm option now requires libLLVM 3.7.0 with AMDGPU target - build xatracker library on x86, useful for xf86-video-vmware acceleration - always use shared glapi - always include dri3 support (it will still use dri2 if dri3 not supported) New in Mesa 11: - New hardware support for AMD GCN 1.2 GPUs: Tonga, Iceland, Carrizo, Fiji - OpenGL 4.1 on radeonsi, nvc0 - OpenGL ES 3.0 on freedreno (a3xx, a4xx) - GL_AMD_vertex_shader_viewport_index on radeonsi - GL_ARB_conditional_render_inverted on r600, radeonsi - GL_ARB_depth_buffer_float on a4xx - GL_ARB_derivative_control on radeonsi - GL_ARB_draw_buffers, GL_ARB_draw_buffers_blend on a4xx - GL_ARB_fragment_layer_viewport on radeonsi - GL_ARB_framebuffer_no_attachments on i965 - GL_ARB_get_texture_sub_image for all drivers - GL_ARB_gpu_shader5 on radeonsi - GL_ARB_gpu_shader_fp64 on llvmpipe, radeonsi - GL_ARB_shader_image_load_store on i965 - GL_ARB_shader_precision on radeonsi, nvc0 - GL_ARB_shader_image_size on i965 - GL_ARB_shader_stencil_export on llvmpipe - GL_ARB_shader_subroutine on core profile all drivers - GL_ARB_tessellation_shader on nvc0, radeonsi - GL_ARB_transform_feedback2, GL_ARB_transform_feedback_instanced, GL_EXT_transform_feedback on a3xx, a4xx - GL_ARB_vertex_attrib_64bit on llvmpipe, radeonsi - GL_ARB_viewport_array on radeonsi - GL_EXT_depth_bounds_test on radeonsi, nv30, nv50, nvc0 - GL_EXT_texture_compression_s3tc on freedreno (a3xx) - GL_NV_read_depth (GLES) on all drivers - GL_NV_read_depth_stencil (GLES) on all drivers - GL_NV_read_stencil (GLES) on all drivers - GL_OES_texture_float on all r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe - GL_OES_texture_half_float on all r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe - GL_OES_texture_float_linear on all r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe - GL_OES_texture_half_float_linear on all r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe - GL_EXT_draw_buffers2 on a4xx - GLX_ARB_create_context_robustness on r600, radeonsi - EGL_EXT_create_context_robustness on r600, radeonsi - EGL_KHR_gl_colorspace on r600, radeonsi, nv50, nvc0 - EGL_KHR_gl_texture_3D_image on r600, radeonsi, nv50, nvc0 - EGL 1.5 on r600, radeonsi, nv50, nvc0
2015-09-11Must disable EGL when disabling DRI (PR pkg/50232)tnn1-9/+9
2015-09-11Update to MesaLib-10.6.7.tnn1-2/+2
Requested by David Shao in PR pkg/50202. Also as suggested add support for using libdevq for FreeBSD, from Ports. (Re the PR: I think we should have TLS GLX unconditionally enabled on platforms that support it, but needs more testing so not commited just yet.) New features in MesaLib 10.6: GL_AMD_pinned_memory on r600, radeonsi GL_ARB_clip_control on i965 GL_ARB_depth_buffer_float on freedreno GL_ARB_depth_clamp on freedreno GL_ARB_direct_state_access on all drivers that support GL 2.0+ GL_ARB_draw_indirect, GL_ARB_multi_draw_indirect on r600 GL_ARB_draw_instanced on freedreno GL_ARB_gpu_shader_fp64 on nvc0, softpipe GL_ARB_gpu_shader5 on i965/gen8+ GL_ARB_instanced_arrays on freedreno GL_ARB_pipeline_statistics_query on i965, nv50, nvc0, r600, radeonsi, softpipe GL_ARB_program_interface_query (all drivers) GL_ARB_texture_stencil8 on nv50, nvc0, r600, radeonsi, softpipe GL_ARB_texture_view on llvmpipe, softpipe GL_ARB_uniform_buffer_object on freedreno GL_ARB_vertex_attrib_64bit on nvc0, softpipe GL_ARB_viewport_array, GL_AMD_vertex_shader_viewport_index on i965/gen6 GL_EXT_draw_buffers2 on freedreno GL_OES_EGL_sync on all drivers EGL_KHR_fence_sync on i965, freedreno, nv50, nvc0, r600, radeonsi EGL_KHR_wait_sync on i965, freedreno, nv50, nvc0, r600, radeonsi EGL_KHR_cl_event2 on freedreno, nv50, nvc0, r600, radeonsi GL_AMD_performance_monitor on nvc0 Also many bugfixes.
2015-04-25Update to MesaLib-10.5.3.tnn1-34/+28
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-20Fixes for non-dri build:sbd1-2/+3
+ Build the x11 version libGL.so with version numbering major 1 and minor 2, the same a the glx version of libGL (simplifies PLIST handling). + PLIST changes.
2013-05-16upgrade to MesaLib-7.11.2richard1-19/+29
2009-06-19Attempt to make it build cleanly and to solve PLIST problems without drihasso1-2/+3
option (default for most of platforms). Tested on DragonFly only. Bump PKGREVISION.
2009-06-14Convert @exec/@unexec to @pkgdir or drop it.joerg1-3/+1
2009-06-14Remove @dirrm entries from PLISTsjoerg1-2/+1
2009-06-10Use correct macros for installation, from FUKAUMI Naoki in PR 41563.wiz1-1/+2
While here, fix .pc files (were missing -Wl,-R). Bump PKGREVISION.
2009-06-05Update Mesa and friends to 7.4.2.wiz1-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.
2008-09-06Reorder two unexec lines so they make more sense.wiz1-2/+2
PKGREVISION++
2008-07-27Update to Mesa-7.0.4 (the head of the 7.0 branch in GIT). Basically,bjs1-1/+4
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-16Remove ${PLIST.dri}lib/dri/i915tex_dri.la from PLISTabs1-2/+1
2008-04-24Welcome to Mesa-7.0.3.bjs1-3/+24
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.
2006-01-19Changes 6.4:adam1-2/+2
New: - Added a fast XOR line drawing function in Xlib driver - Added support for GL_ARB_texture_mirrored_repeat to savage driver (supported only on Savage4 hardware). Changes: - Mesa now packaged in three parts: Library, Demos and GLUT Bug fixes: - GLX_X_RENDERABLE token wasn't accepted by glXChooseFBConfig - Some files were present multiple times in the 6.3.2 tarballs - r200_vtxtmp_x86.S file was missing from 6.3.2 tarball (bug 4207) - glxgears_fbconfig demo didn't work (bug 4237) - fixed bug when bilinear sampling 2d textures with borders - glXCreatePbuffer() could segfault instead of returning 0 (bug 4235) - fixed undefined frexp and rand in X.org libGLcore.a (bug 4242) - fixed a few problems with proxy color tables (bug 4270) - fixed precision problem in Z clearing (bug 4395) - glBitmap, glDraw/CopyPixels mistakenly generated selection hits - fixed potential segfault caused by reading pixels outside of renderbuffer bounds - glGetTexLevelParameter didn't accept GL_TEXTURE_DEPTH_SIZE_ARB - fixed memory corruption bug involving software alpha buffers - glReadPixels clipped by window bounds was sometimes broken - glDraw/CopyPixels of stencil data ignored the stencil write mask - glReadPixels from a texture bound to a framebuffer object didn't work - glIsRender/FramebufferEXT weren't totally correct - fixed a number of point size attenuation/fade bugs - fixed glFogCoord bug 4729 - GLX encoding for transpose matrix functions was broken - fixed broken fragment program KIL and SWZ instructions - fragment programs that wrote result.depth.z didn't work Changes 6.4.1: Bug fixes: - redefining a vertex program string didn't take effect in TNL module - fixed occasional segfault upon vertex/fragment parsing error - vertex program LIT instruction didn't handle 0^0=1 correctly - fragment program fog option didn't work with glDrawPixels, glBitmap - USE_MGL_NAMESPACE didn't work for x86-64 - OSMesa demos were missing from previous release tarballs - fixed problem with float->ushort conversion in glClear (bug 4992) - popping of GL_EYE_PLANE texgen state was broken (bug 4996) - popping of GL_SPOT_DIRECTION light state was broken (bug 5005) - fixed occasional triangle color interpolation problem on VMS - work around invalid free() call (bug 5131) - fixed BSD X server compilation problem by including stdint.h
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-13/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-01-22Mesa-6.0 packages now use LIBTOOL and finally buildadam1-4/+7
2004-01-20Update Mesa and friends to version 6.0:jschauma1-9/+11
Changes since 5.2: New: - full OpenGL 1.5 support - updated GL/glext.h file to version 21 Changes: - changed max framebuffer size to 4Kx4K (MAX_WIDTH/HEIGHT in config.h) Bug fixes: - fixed bug in UNCLAMPED_FLOAT_TO_UBYTE macro; solves a color clamping issue - updated suno5-gcc configs - glColor3 functions sometimes resulted in undefined alpha values - fixed FP divide by zero error seen on VMS with xlockmore, others - fixed vertex/fragment program debug problem (bug 873011) - building on AIX with gcc works now - glDeleteProgramsARB failed for ARB fragment programs (bug 876160) - glDrawRangeElements tried to modify potentially read-only storage - updated files for building on Windows Changes since 5.0.2: New features: - reorganized directory tree - GL_ARB_vertex/fragment_program extensions (Michal Krol & Karl Rasche) - GL_ATI_texture_env_combine3 extension (Ian Romanick) - GL_SGI_texture_color_table extension (Eric Plante) - GL_NV_fragment_program extension - GL_NV_light_max_exponent extension - GL_EXT_texture_rectangle (identical to GL_NV_texture_rectangle) - GL_ARB_occlusion_query extension - GL_ARB_point_sprite extension - GL_ARB_texture_non_power_of_two extension - GL_IBM_multimode_draw_arrays extension - GL_EXT_texture_mirror_clamp extension (Ian Romanick) - GL_ARB_vertex_buffer_object extension - new X86 feature detection code (Petr Sebor) - less memory used for display lists and vertex buffers - demo of per-pixel lighting with a fragment program (demos/fplight.c) - new version (18) of glext.h header - new spriteblast.c demo of GL_ARB_point_sprite - faster glDrawPixels in X11 driver in some cases (see RELNOTES-5.1) - faster glCopyPixels in X11 driver in some cases (see RELNOTES-5.1) Bug fixes: - really enable OpenGL 1.4 features in DOS driver. - fixed issues in glDrawPixels and glCopyPixels for very wide images - glPixelMapf/ui/usv()'s size parameter is GLsizei, not GLint - fixed some texgen bugs reported by Daniel Borca - fixed wglMakeCurrent(NULL, NULL) bug (#835861) - fixed glTexSubImage3D z-offset bug (Cedric Gautier) - fixed RGBA blend enable bug (Ville Syrjala) - glAccum is supposed to be a no-op in selection/feedback mode - fixed texgen bug #597589 (John Popplewell) Changes: - dropped API trace feature (src/Trace/) - documentation overhaul. merged with website content. more html. - glxgears.c demo updated to use GLX swap rate extensions - glTexImage1/2/3D now allows width/height/depth = 0 - disable SPARC asm code on Linux (bug 852204)
2003-11-18Finally update Mesa and friends after the distfile changed on the websitejschauma1-5/+3
without a version bump. Changes made, according to the website, for libtool/autofoo fixes. Some changes from Ron Roskens: glut depends upon graphics/glu (otherwise its linked against X11R6 libs) MesaDemos: rather than using the pre-built distribution makefiles, use the automake/configure built makefiles which have the build dependencies all setup. This closes PR pkg/23476.
2003-09-29Update Mesa and friends to latest version 5.0.2:jschauma1-3/+3
- fixed texgen problem causing texcoord's Q to be zero (stex3d) - default GL_TEXTURE_COMPARE_MODE_ARB was wrong - GL_CURRENT_MATRIX_NV query was wrong - GL_CURRENT_MATRIX_STACK_DEPTH_NV query was off by one - GL_LIST_MODE query wasn't correct - GL_FOG_COORDINATE_SOURCE_EXT query wasn't supported - GL_SECONDARY_COLOR_ARRAY_SIZE_EXT query returned wrong value - blended, wide lines didn't always work correctly - glVertexAttrib4svNV w component was always 1 - fixed bug in GL_IBM_rasterpos_clip (missing return) - GL_DEPTH_TEXTURE_MODE = GL_ALPHA didn't work correctly - a few Solaris compilation fixes - fixed glClear() problem for DRI drivers (non-existant stencil, etc) - fixed int/REAL mixup in GLU NURBS curve evaluator (Eric Cazeaux) - fixed delete [] bug in SI GLU (bug 721765) (Diego Santa Cruz) - glFog() didn't clamp fog colors - fixed bad float/int conversion for GL_TEXTURE_PRIORITY in the gl[Get]TexParameteri[v] functions - fixed invalid memory references in glTexGen functions (bug 781602) - integer-valued color arrays weren't handled correctly - glDrawPixels(GL_DEPTH_COMPONENT) with glPixelZoom didn't work - GL_EXT_texture_lod_bias is part of 1.4, overlooked in 5.0.1 - build GLUT with -fexceptions so C++ apps propogate exceptions While here, fix PR pkg/23003 by moving the version number to version.mk and including that in the buildlink.
2003-05-10update to 5.0.1drochner1-3/+3
mostly a bugfix release other changes: - updated GL/gl_mangle.h file - use glPolygonOffset in gloss demo to avoid z-fighting artifacts - updated winpos and pointblast demos to use ARB extensions - disable SPARC normal transformation code
2003-04-17Move the installed mesa.conf file to the examples tree, and do not installjmmv1-2/+3
it into PKG_SYSCONFDIR (it's useless for now). Bump PKGREVISION to 2. Ok'ed by rh.
2003-03-24Also install glxext.h, as suggested by Joachim Koenig-Baltes injschauma1-1/+2
PR pkg/20878.
2003-03-09Update Mesa and friends to version 5.0, using patches provided in PR pkg/19302.jschauma1-4/+9
At the same time, move Mesa and friends to LOCALBASE rather than X11BASE, so that they can be installed regardless of XF version. Introduce MESA_REQD variable that can be set to 5.0, thus allowing systems with XF4 to indicate that the provided version is not good enough. All packages using Mesa, MesaLib, glu or glut will get a PKGREVISION bump over the next few days.
2002-12-06Back out update of Mesa, MesaLib, glu and glut to Mesa version 5.0,jschauma1-9/+4
until we figure out how to properly solve the conflict of XF4.x's own GL. As discussed with tron.
2002-12-05Update of Mesa, MesaLib, glu and glut to version 5.0 of Mesa.jschauma1-4/+9
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!
2002-08-25Merge changes in packages from the buildlink2 branch that havejlam1-2/+2
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
2002-02-15mkdir -> ${MKDIR}skrll1-2/+2
rmdir -> ${RMDIR} rm -> ${RM} (${RM} added to PLIST_SUBST) chmod -> ${CHMOD} chown -> ${CHOWN}
2001-10-31Move pkg/ files into package's toplevel directoryzuntum1-0/+17