Up to [cvs.NetBSD.org] / pkgsrc / graphics / MesaLib
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
MesaLib: Don't enable lld workaround on Darwin.
MesaLib: pkglint cleanup
MesaLib: Add workaround for issues with lld.
*: Drop maintainership.
Fix compiling graphics/MesaLib on Darwin without X11
MesaLib: fix build with Python 3.12
*: update for Python base package change Instead of depending on one of the removed packages (that are now included in the base Python packages), include batteries-included.mk to require a Python version that supplies them. Remove now included packages. Bump PKGREVISION.
*: recursive bump for Python 3.11 as new default
graphics: Adapt packages to USE_(CC|CXX)_FEATURES
graphics/MesaLib: Work around an issue with xf86-video-vmware
graphics/MesaLib/features.mk: New variable MESALIB_SUPPORTS_XA The variables is set to "yes" if Mesa provides libxatracker, which is used by some video drivers to make use of DRM/KMS and its 3D acceleration capability.
Bump all dependent packages of wayland (belatedly) The package changed with the addition of its libepoll-shim dependency. Otherwise, we can get: ERROR: libepoll-shim>=0.0.20210418 is not installed; can't buildlink files.
graphics/MesaLib: after atomic64, remove now-redundant CFLAGS for i386. Thanks to tnn@ for hint.
graphics/MesaLib: convert to using mk/atomic64.mk.
MesaLib: fix PLIST.xa; PLIST_VARS should not be conditionally assigned
graphics/MesaLib: make this build & install on NetBSD/powerpc. * Add hacks.mk to make -latomic visible for 64-bit atomics. * Turn off nouveau build, as we do not have the DRI libs for that. * Introduce PLIST.xa, turned off on powerpc, apparently this requires one of nouveau, freedreno, i815 or svga gallium drivers.
MesaLib: update to 21.3.9. Mesa 21.3.9 is a bug fix release which fixes bugs found since the 21.3.8 release. Mesa 21.3.8 is a bug fix release which fixes bugs found since the 21.3.7 release.
MesaLib: update to 21.3.7 Of particular note is this change in Mesa 21.2: "32-bit x86 builds now default disable x87 math and use sse2." This might need to be revisited in pkgsrc. Bugfixes omitted from ChangeLog. New features in Mesa 21.3: VK_EXT_color_write_enable on lavapipe GL_ARB_texture_filter_anisotropic in llvmpipe Anisotropic texture filtering in lavapipe VK_EXT_shader_atomic_float2 on Intel and RADV. VK_EXT_vertex_input_dynamic_state on RADV. VK_KHR_timeline_semaphore on lavapipe VK_EXT_external_memory_host on lavapipe GL_AMD_pinned_memory on llvmpipe GL 4.5 compatibility on llvmpipe VK_EXT_primitive_topology_list_restart on RADV and lavapipe. ES 3.2 on zink VK_KHR_depth_stencil_resolve on lavapipe VK_KHR_shader_integer_dot_product on RADV. OpenGL FP16 support on llvmpipe VK_KHR_shader_float16_int8 on lavapipe VK_KHR_shader_subgroup_extended_types on lavapipe VK_KHR_spirv_1_4 on lavapipe Experimental raytracing support on RADV VK_KHR_synchronization2 on Intel NGG shader based culling is now enabled by default on GFX10.3 on RADV. VK_KHR_maintenance4 on RADV VK_KHR_format_feature_flags2 on RADV. EGL_EXT_present_opaque on wayland New features in Mesa 21.2: zink supports GL_ARB_texture_filter_minmax, GL_ARB_shader_clock VK_EXT_provoking_vertex on RADV. VK_EXT_extended_dynamic_state2 on RADV. VK_EXT_global_priority_query on RADV. VK_EXT_physical_device_drm on RADV. VK_KHR_shader_subgroup_uniform_control_flow on Intel and RADV. VK_EXT_color_write_enable on RADV. 32-bit x86 builds now default disable x87 math and use sse2. GL ES 3.1 on GT21x hardware. VK_EXT_acquire_drm_display on RADV and ANV. VK_EXT_vertex_input_dynamic_state on lavapipe wideLines on lavapipe VK_EXT_line_rasterization on lavapipe VK_EXT_multi_draw on ANV, lavapipe, and RADV VK_KHR_separate_depth_stencil_layouts on lavapipe VK_EXT_separate_stencil_usage on lavapipe VK_EXT_extended_dynamic_state2 on lavapipe NGG shader based primitive culling is now supported by RADV. Panfrost supports OpenGL ES 3.1 New Asahi driver for the Apple M1 GL_ARB_sample_locations on zink GL_ARB_sparse_buffer on zink GL_ARB_shader_group_vote on zink DRM format modifiers on zink freedreno+turnip: Initial support for a6xx gen4 (a660, a635) New features in Mesa 21.1: VK_KHR_workgroup_memory_explicit_layout on Intel, RADV DRM format modifiers for AMD. VK_KHR_zero_initialize_workgroup_memory on Intel, RADV Zink exposes GL 4.6 and ES 3.1 GL_EXT_depth_bounds_test on softpipe, zink GL_EXT_texture_filter_minmax on nvc0 (gm200+) GL_ARB_texture_filter_minmax on nvc0 (gm200+) GL_ARB_post_depth_coverage on zink VK_KHR_copy_commands2 on lavapipe lavapipe exposes Vulkan 1.1 VRS attachment on RADV New features in Mesa 21.0: GL_EXT_demote_to_helper_invocation on radeonsi GL_NV_compute_shader_derivatives on radeonsi EGL_MESA_platform_xcb Removed GL_NV_point_sprite for classic swrast. driconf: remove glx_disable_oml_sync_control, glx_disable_sgi_video_sync, and glx_disable_ext_buffer_age Removed support for loading DRI drivers older than Mesa 8.0, including all DRI1 support Add support for VK_VALVE_mutable_descriptor_type on RADV Removed classic OSMesa in favor of the newly improved gallium OSMesa VK_KHR_fragment_shading_rate on RADV (RDNA2 only) Freedreno a6xx exposes GL 3.3 Classic swrast dri driver removed in favor of gallium swrast (llvmpipe or softpipe) Panfrost g31/g52/g72 exposes ES 3.0 Panfrost t760+ exposes GL 3.1 (including on Bifrost) Sparse memory support on RADV Rapid packed math (16bit-vectorization) on RADV New features in Mesa 20.3: GL 4.5 on llvmpipe GL_INTEL_blackhole_render on radeonsi GL_NV_copy_depth_to_color for NIR GL_NV_half_float GL_NV_shader_atomic_int64 on radeonsi EGL_KHR_swap_buffers_with_damage on X11 (DRI3) VK_PRESENT_MODE_FIFO_RELAXED on X11 GLX_EXT_swap_control for DRI2 and DRI3 GLX_EXT_swap_control_tear for DRI3 VK_KHR_copy_commands2 on RADV VK_KHR_shader_terminate_invocation on RADV NGG GS support in ACO VK_KHR_shader_terminate_invocation on ANV driconf: add glx_extension_override driconf: add indirect_gl_extension_override VK_AMD_mixed_attachment_samples on RADV (GFX6-GFX7). GL_MESA_pack_invert on r100 and vieux GL_ANGLE_pack_reverse_row_order VK_EXT_shader_image_atomic_int64 on RADV New features in mesa 20.2: GL_ARB_compute_variable_group_size on Iris. GL_ARB_gpu_shader5 on llvmpipe GL_ARB_post_depth_coverage on llvmpipe GLES 3.2 on llvmpipe GL_EXT_shader_group_vote on GLES3. GL_EXT_texture_shadow_lod on llvmpipe VK_AMD_texture_gather_bias_lod on RADV. VK_AMD_gpu_shader_half_float on RADV/ACO. VK_AMD_gpu_shader_int16 on RADV/ACO. VK_EXT_extended_dynamic_state on ANV and RADV. VK_EXT_image_robustness on RADV. VK_EXT_private_data on ANV and RADV. VK_EXT_custom_border_color on ANV and RADV. VK_EXT_pipeline_creation_cache_control on ANV and RADV. VK_EXT_shader_demote_to_helper_invocation on RADV/LLVM. VK_EXT_subgroup_size_control on RADV/ACO. VK_GOOGLE_user_type on ANV and RADV. VK_KHR_shader_subgroup_extended_types on RADV/ACO. GL_ARB_gl_spirv on nvc0/nir. GL_ARB_spirv_extensions on nvc0/nir. RADV now uses ACO per default as backend RADV_DEBUG=llvm option to enable LLVM backend for RADV VK_EXT_image_robustness for ANV VK_EXT_shader_atomic_float on ANV VK_EXT_4444_formats on ANV and RADV. VK_KHR_memory_model on RADV. GL 4.5 on llvmpipe EGL_KHR_swap_buffers_with_damage on X11 (DRI3) New features in mesa 20.1: GL_ARB_compute_variable_group_size on i965. GL_EXT_depth_bounds_test on Iris. GL_EXT_texture_shadow_lod on radeonsi, nvc0. GL_NV_alpha_to_coverage_dither_control on radeonsi GL_NV_copy_image on all gallium drivers. GL_NV_pixel_buffer_object on all gallium drivers, i915, i965, swrast. GL_NV_viewport_array2 on nvc0 (GM200+). GL_NV_viewport_swizzle on nvc0 (GM200+). VK_AMD_memory_overallocation_behavior on RADV. VK_KHR_shader_non_semantic_info on Intel, RADV. GL_EXT_draw_instanced on gles2 VK_KHR_8bit_storage for ACO on GFX8+ VK_KHR_16bit_storage for ACO on GFX8+ (storageInputOutput16 is still unsupported) shaderInt16 for ACO on GFX9+ VK_KHR_shader_float16_int8 for ACO on GFX8+ (shaderFloat16 is still unsupported) VK_EXT_robustness2 on Intel, RADV. Add Rocket Lake (RKL) support on anvil and iris.
revbump for icu and libffi
various fixes for arm64 big endian support. most of these simply extend matching from "aarch64" to "aarch64eb" in various forms of code. most remaining uses in pkgsrc of "MACHINE_ARCH == aarch64" are because of missing aarch64eb support, such as most of the binary-bootstrap requiring languages like rust, go, and java. no pkg-bump because this shouldn't change packages on systems that could already build all of these.
MesaLib: unset USE_LIBTOOL, this uses meson
MesaLib: Fix build with Python 3.9 Apply patches from upstream to remove getchildren() in some generation scripts. This deprecated call has been removed in Python 3.9.
MesaLib: Explicitly disable dri3 support when using an old X11_TYPE=native Should help NetBSD 8 builds.
Mesa 20.0.6 dEQP-VK.subgroups.size_control.compute.* crashes on HSW and TGL piglit spec.!opengl 1.0.gl-1.0-fpexceptions crash on Iris SPIR-V: OpConvertUToPtr from spec constant fails to compile radv: Reading ViewportIndex in fragment shader returns garbage radeonsi: GL_LINES rendering is affected by GL_POINT_SPRITE [ANV] gfxbench Aztec Ruins misrenders on gen11+ glxinfo cmd crashed Mesa 20.0.5 nir: nir_lower_returns can't handle nested loops Graphic artifacts with Mesa 20.0.4 on intel HD 510 GPU Mesa 20 regression makes Lightsprint demos crash Build Fails with Clang Shared Library dri_common.h:58:8: error: unknown type name '__GLXDRIdrawable' Graphical glitches on Intel Graphics when Xorg started on Iris driver SIGSEGV src/compiler/glsl/ast_function.cpp:53 manywin aborts with "i965: Failed to submit batchbuffer: Invalid argument" v3d: transform feedback issue radv: dEQP-VK.binding_model.descriptorset_random.sets4.noarray.ubolimitlow.sbolimitlow.imglimitlow.noiub.comp.noia.0 segfault radv: RAVEN fails dEQP-VK.pipeline.timestamp.misc_tests.reset_query_before_copy https://gitlab.freedesktop.org/mesa/mesa/-/issues/2727 enable storageBuffer16BitAccess feature in radv for SI and CIK Weston drm-backend.so seems to fail with Mesa master and LIBGL_ALWAYS_SOFTWARE=1 vaapi bob deinterlacer produces wrong output height on AMD
MesaLib: Make ELF TLS optional.
MesaLib: Update to 20.0.4 Mesa 20.0.4 reverts a serious SPIR-V regression in the 20.0.3 release. Here is the changelog for 20.0.3: Caio Marcelo de Oliveira Filho (1): mesa/main: Fix overflow in validation of DispatchComputeGroupSizeARB Dylan Baker (6): docs/relnotes: Add sha256 sums for 20.0.2 .pick_status.json: Update to cf62c2b2ac69637785f55b790fdd601c17e7e9d5 .pick_status.json: Mark 672d10619980687acec329742f055f7f3796c1b8 as backported .pick_status.json: Mark c923de68dd0ab10a5a5fb3196f539707d046d897 as backported .pick_status.json: Mark 56de6f698e3f164d97f132203e8159ef0b8e9bb8 as denominated .pick_status.json: Update to aee004a7c8900938d1c17f0ac299d40001b383b0 Eric Engestrom (8): .pick_status.json: Update to 3252041a7872c49e53bb02ffe8b079b5fc43f15e .pick_status.json: Update to 12711939320e4fcd3a0d86af22da1042ad92035f .pick_status.json: Update to 05069e1f0794aadd40ce9269f858e50c64254388 .pick_status.json: Update to 8970b7839aebefa7207c9535ac34ab4e8cc0ae25 .pick_status.json: Update to 5f4d9b419a1c931ad468b8b22b8a95b1216891e4 .pick_status.json: Update to 70ac7f5b0c46370075a35067c9f7dfe78e84b16d docs: add release notes for 20.0.3 VERSION: bump to 20.0.3 Erik Faye-Lund (3): rbug: do not return void-value pipebuffer: clean up cast-warnings vtn/opencl: fully enable OpenCLstd_Clz Francisco Jerez (1): intel/fs/gen12: Fix interaction of SWSB dependency combination with EU fusion workaround. Greg V (1): amd/addrlib: fix build on non-x86 platforms Ian Romanick (2): soft-fp64/fsat: Correctly handle NaN soft-fp64: Split a block that was missing a cast on a comparison Jason Ekstrand (5): intel/blorp: Add support for swizzling fast-clear colors anv: Swizzle fast-clear values nir/lower_int64: Lower 8 and 16-bit downcasts with nir_lower_mov64 anv: Account for the header in anv_state_stream_alloc spirv: Implement OpCopyObject and OpCopyLogical as blind copies John Stultz (2): gallium: hud_context: Fix scalar initializer warning. vc4_bufmgr: Remove duplicative VC definition Jordan Justen (2): intel: Update TGL PCI strings intel: Add TGL PCI ID Lionel Landwerlin (5): isl: implement linear tiling row pitch requirement for display isl: properly filter supported display modifiers on Gen9+ isl: only apply main surface ccs pitch constraint with CCS isl: drop min row pitch alignment when set by the driver intel: add new TGL pci ids Marek Olšák (3): nir: fix clip/cull_distance_array_size in nir_lower_clip_cull_distance_arrays ac: fix fast division st/mesa: fix use of uninitialized memory due to st_nir_lower_builtin Marek Vasut (1): etnaviv: Emit PE.ALPHA_COLOR_EXT* on GPUs with half-float support Neil Armstrong (1): Revert "ci: Remove T820 from CI temporarily" Pierre-Eric Pelloux-Prayer (1): st/mesa: disallow deferred flush if there are multiple contexts Rhys Perry (11): nir/gather_info: handle emit_vertex_with_counter aco: set has_divergent_branch for discards in loops aco: handle missing second predecessors at merge block phis aco: skip NIR in unreachable merge blocks aco: improve check for unreachable loop continue blocks aco: emit IR in IF's merge block instead if the other side ends in a jump aco: fix boolean undef regclass nir/gather_info: fix per-vertex handling in try_mask_partial_io aco: implement 64-bit VGPR constant copies in handle_operands() glsl: fix race in instance getters util/u_queue: fix race in total_jobs_size access Rob Clark (2): freedreno/ir3/ra: fix array liveranges util: fix u_fifo_pop() Samuel Pitoiset (7): radv/gfx10: fix required subgroup size with VK_EXT_subgroup_size_control radv/gfx10: fix required ballot size with VK_EXT_subgroup_size_control radv: fix optional pSizes parameter when binding streamout buffers radv: enable VK_KHR_8bit_storage on GFX6-GFX7 ac/nir: use llvm.amdgcn.rcp for nir_op_frcp ac/nir: use llvm.amdgcn.rsq for nir_op_frsq ac/nir: use llvm.amdgcn.rcp in ac_build_fdiv() Tapani Pälli (1): glsl: set error_emitted true if type not ok for assignment Thomas Hellstrom (1): svga, winsys/svga: Fix persistent memory discard maps Timothy Arceri (3): glsl: fix varying packing for 64bit integers nir: fix packing of TCS varyings not read by the TES nir: fix crash in varying packing on interface mismatch Timur Kristóf (1): radv/llvm: fix subgroup shuffle for chips without bpermute
MesaLib: Update to 20.0.2 Bug fixes * RPCS3 / Persona 5 - Performance regression [RADV / Navi] * [CTS] dEQP-VK.descriptor_indexing.* fails on RADV/LLVM * [RadeonSI][gfx10/navi] Kerbal Space Program crash: si_draw_vbo: Assertion `0' failed * src/compiler/glsl/glcpp/glcpp-parse.y:1297: _token_print: Assertion `!"Error: Don't know how to print token."' failed. * Budget Cuts hits VK_AMD_shader_fragment_mask assert Changes Andreas Baierl (1): * gitlab-ci: Add add a set of lima flakes Bas Nieuwenhuizen (2): * amd/llvm: Fix divergent descriptor indexing. (v3) * amd/llvm: Fix divergent descriptor regressions with radeonsi. Danylo Piliaiev (2): * glsl: do not crash if string literal is used outside of #include/#line * st/mesa: Fix signed integer overflow when using util_throttle_memory_usage Dave Airlie (1): * gallium: fix build with latest meson and gcc10 Dylan Baker (8): * docs: Add sha256sums for 20.0.1 * .pick_status.json: Update to 07f1ef5656e0721282d01a8421eaca056348137d * .pick_status.json: Update to 70341d7746c177a4cd7377ef633e9f85afd11d54 * .pick_status.json: Update to 625d8705f02e211e2733c3fe12845505725c37d4 * .pick_status.json: Mark b83c9aca4a5fd02d920c90c1799137fed52dc1d9 as backported * .pick_status.json: Update to ee9e0d1ecae307fa48200d2604d3114070253299 * .pick_status.json: Update to 3dd0d12aa5fefa94123269a541c94cdf57599e34 * .pick_status.json: Update to 94e37859a96cc56cf0c5418a5af00a3e9f5a1bf5 Eric Anholt (1): * glsl/tests: Fix waiting for disk_cache_put() to finish. Eric Engestrom (7): * bin/gen_release_notes.py: fix commit list command * .pick_status.json: Update to 24db276d11976905b2e8a44965c684bb48c3d49f * gen_release_notes: fix vulkan version reported * docs/relnotes/20.0: fix vulkan version reported * .pick_status.json: Update to ba03e308b66b0b88f60b99d9d47851a5e1522e6e * vulkan/wsi: fix cleanup when dup() fails * gen_release_notes: fix version in "you should wait" message Francisco Jerez (1): * intel/fs: Fix workaround for VxH indirect addressing bug under control flow. Jason Ekstrand (9): * isl: Set 3DSTATE_DEPTH_BUFFER::Depth correctly for 3D surfaces * iris: Don't skip fast depth clears if the color changed * anv: Parse VkPhysicalDeviceFeatures2 in CreateDevice * vulkan/wsi: Don't leak the FD when GetImageDrmFormatModifierProperties fails * vulkan/wsi: Return an error if dup() fails * anv: Use the PIPE_CONTROL instead of bits for the CS stall W/A * anv: Use a proper end-of-pipe sync instead of just CS stall * anv: Do end-of-pipe sync around MCS/CCS ops instead of CS stall * anv: Do an end-of-pipe sync before updating AUX table entries José Fonseca (1): * meson: Avoid duplicate symbols. Kristian Høgsberg (2): * Revert "glsl: Use a simpler formula for tanh" * Revert "spirv: Use a simpler and more correct implementaiton of tanh()" Marek Olšák (4): * Revert "mesa: check for z=0 in _mesa_Vertex3dv()" * radeonsi: add a bug workaround for NGG - LATE_ALLOC_GS * ac: add a bug workaround for the 100% NGG culling case * gallium/cso_context: remove cso_delete_xxx_shader helpers to fix the live cache Martin Fuzzey (3): * freedreno: android: fix build failure on android due to python version * freedreno: android: add a6xx-pack.xml.h generation to android build * freedreno: android: fix build of perfcounters. Michel Dänzer (1): * llvmpipe: Use uintptr_t for pointer values Rafael Antognolli (3): * anv: Wait for the GPU to be idle before invalidating the aux table. * iris: Split aux map initialization from invalidation. * iris: Wait for the GPU to be idle before invalidating the aux table. Rob Clark (1): * freedreno: fix FD_MESA_DEBUG=inorder Samuel Pitoiset (5): * aco: fix image load/store with lod and 1D images * nir/lower_input_attachments: remove bogus assert in try_lower_input_texop() * ac/llvm: add missing optimization barrier for 64-bit readlanes * radv: only inject implicit subpass dependencies if necessary * radv: fix random depth range unrestricted failures due to a cache issue Timur Kristóf (2): * nir: Add ability to lower non-const quad broadcasts to const ones. * radv: Enable lowering dynamic quad broadcasts. Vinson Lee (1): * st/nine: Fix incompatible-pointer-types-discards-qualifiers errors.
MesaLib: bump libdrm requirement
*: recursive bump for libffi
MesaLib: update to mesa-20.0.1 New features in mesa 20: OpenGL 4.6 on radeonsi. GL_ARB_gl_spirv on radeonsi. GL_ARB_spirv_extensions on radeonsi. GL_EXT_direct_state_access for compatibility profile. VK_AMD_device_coherent_memory on RADV. VK_AMD_mixed_attachment_samples on RADV. VK_AMD_shader_explicit_vertex_parameter on RADV. VK_AMD_shader_image_load_store_lod on RADV. VK_AMD_shader_fragment_mask on RADV. VK_EXT_subgroup_size_control on RADV/LLVM. VK_KHR_separate_depth_stencil_layouts on Intel, RADV. VK_KHR_shader_subgroup_extended_types on RADV. VK_KHR_swapchain_mutable_format on RADV. VK_KHR_shader_float_controls on RADV/ACO. GFX6 (Southern Islands) and GFX7 (Sea Islands) support on RADV/ACO. Wave32 support for GFX10 (Navi) on RADV/ACO. Compilation of Geometry Shaders on RADV/ACO. Vulkan 1.2 on Intel, RADV. GL_INTEL_shader_integer_functions2 and VK_INTEL_shader_integer_functions2 on Intel. As usual many bugfixes also.
MesaLib: port x86_64 tls dispatch changes to i386 also
MesaLib: assorted fixes - must use march=i586 on i386 for 64-bit atomic CAS - call through @plt from position independent code - put back the stock STUB_ASM_CODE for non-NetBSD
MesaLib: fix issues in TLS dispatch code on NetBSD/amd64. Bump. - workaround for toolchain/50277 had bitrotted after meson switch - make tls dispatch stub template behave correct (with input from joerg@) - double alignment of stubs to accommodate slightly larger code size Fixes among other things Xorg crash in glamor_egl_init().
MesaLib: Revert upstream commit causing symbol ref errors with libEGL Bump PKGREVISION
MesaLib: bump revision
MesaLib: fix PR 54823 pkgsrc changes: --------------- * Undefine ALIGN symbol as close as possible to the ALIGN function since it is defined in machine/param.h on FreeBSD. * Add test to verify there is at least one needed gallium driver for VA. On FreeBSD, nouveau is disabled and r600 and radeonsi are enabled only if llvm option is activated.
MesaLib: enable wayland where supported
MesaLib: Update to 19.2.7 This is a bugfix release. EGL platform selection was reworked so we have to move X11 to always be the first fallback because Mesa is apparently bad at detecting X11 now.
MesaLib: Fix name of manually constructed library on Darwin.
MesaLib: Attempt to fix PLIST for darwin throw a bunch of variables into one big KMS variable
MesaLib: Update to 19.2.4 Mesa 19.2.4 is an emergency bug fix release to fix one ciritcal bug in 19.2.3. New features None Bug fixes Dirt Rally: Menu system doesn't show up with Mesa 19.2.3 Changes Lionel Landwerlin (1): mesa: check framebuffer completeness only after state update
MesaLib: Needs c++14
MesaLib: Remove patch for strnlen on old macOS, use USE_FEATURES instead
MesaLib: Update to 19.2.2 New features * None Bug fixes * Vulkan version of "Middle-earth: Shadow of Mordor" has graphics glitches on RADV driver (part 2) * Vulkan version of "Middle-earth: Shadow of Mordor" has graphics glitches on RADV driver * [amdgpu][Navi][llvm] Minimap problem in Nier Automata * Black ground in Dirt 4 * Superbibles examples crashing Mesa drivers (radeonsi) and causing gpu reset * [CTS] dEQP-VK.graphicsfuzz.write-red-in-loop-nest crashes * mesa and libglvnd install the same headers * Regression: Doom (2016) crashes on Mesa 19.2 and above and Radeon 380 with Vulkan (worked on Mesa 19.1) * Rocket League displays corruption when the game starts Changes Alan Coopersmith (6): * c99_compat.h: Don't try to use 'restrict' in C++ code * util: Make Solaris implemention of p_atomic_add work with gcc * util: Workaround lack of flock on Solaris * util: Solaris has linux-style pthread_setname_np * meson: recognize "sunos" as the system name for Solaris * intel/common: include unistd.h for ioctl() prototype on Solaris Alejandro Piñeiro (1): * v3d: take into account prim_counts_offset Bas Nieuwenhuizen (3): * radv: Disallow sparse shared images. * nir/dead_cf: Remove dead control flow after infinite loops. * radv: Fix single stage constant flush with merged shaders. Clément Guérin (1): * radeonsi: enable zerovram for Rocket League Connor Abbott (2): * nir/sink: Rewrite loop handling logic * nir/sink: Don't sink load_ubo to outside of its defining loop Dylan Baker (1): * docs: Add SHA256 sum for 19.2.1 Eric Engestrom (7): * GL: drop symbols mangling support * meson: rename `glvnd_missing_pc_files` to `not glvnd_has_headers_and_pc_files` * meson: move a couple of include installs around * meson: split headers one per line * meson: split Mesa headers as a separate installation * meson: skip installation of GLVND-provided headers * util/u_atomic: fix return type of p_atomic_{inc,dec}_return() and p_atomic_{cmp,}xchg() Ian Romanick (2): * nir/search: Fix possible NULL dereference in is_fsign * intel/vec4: Don't try both sources as immediates for DPH James Xiong (1): * iris: finish aux import on get_param Kenneth Graunke (2): * iris: Properly unreference extra VBOs for draw parameters * iris: Implement the Gen < 9 tessellation quads workaround Lepton Wu (1): * egl/android: Remove our own reference to buffers. Lionel Landwerlin (3): * etnaviv: remove variable from global namespace * anv: fix vkUpdateDescriptorSets with inline uniform blocks * anv: fix memory leak on device destroy Lucas Stach (3): * etnaviv: fix vertex buffer state emission for single stream GPUs * rbug: fix transmitted texture sizes * rbug: unwrap index buffer resource Pierre-Eric Pelloux-Prayer (1): * mesa: fix invalid target error handling for teximage Roland Scheidegger (1): * gallivm: Fix saturated signed psub/padd intrinsics on llvm 8 Samuel Pitoiset (6): * drirc: enable vk_x11_override_min_image_count for DOOM * radv: bump minTexelBufferOffsetAlignment to 4 * radv: fix DCC fast clear code for intensity formats * Revert "radv: do not emit PKT3_CONTEXT_CONTROL with AMDGPU 3.6.0+" * radv: fix DCC fast clear code for intensity formats (correctly) * radv: fix updating bound fast ds clear values with different aspects Timothy Arceri (1): * glsl: fix crash compiling bindless samplers inside unnamed UBOs
MesaLib: Add a features.mk and use it to detect the presence of DRI No functional change (probably)
MesaLib: Fix DRM build on SunOS.
MesaLib: strip more errors
MesaLib: Update to 19.2.1 Bug fixes in 19.2.1: meson.build:1447:6: ERROR: Problem encountered: libdrm required for gallium video statetrackers when using x11 Mesa doesn't build with current Scons version (3.1.0) libXvMC-1.0.12 breaks mesa build Meson can't find 32-bit libXvMCW in non-standard path Mesa installs gl.pc and egl.pc even with libglvnd >= 1.2.0 Changes in 19.2.0: Adam Jackson (1): docs: Update bug report URLs for the gitlab migration Alex Smith (1): radv: Change memory type order for GPUs without dedicated VRAM Alyssa Rosenzweig (1): pan/midgard: Fix writeout combining Andres Gomez (1): docs: Add the maximum implemented Vulkan API version in 19.2 rel notes Andres Rodriguez (1): radv: additional query fixes Arcady Goldmints-Orlov (1): anv: fix descriptor limits on gen8 Bas Nieuwenhuizen (6): radv: Use correct vgpr_comp_cnt for VS if both prim_id and instance_id are needed. radv: Emit VGT_GS_ONCHIP_CNTL for tess on GFX10. radv: Disable NGG for geometry shaders. Revert "ac/nir: Lower large indirect variables to scratch" tu: Set up glsl types. radv: Add workaround for hang in The Surge 2. Caio Marcelo de Oliveira Filho (2): nir/lower_explicit_io: Handle 1 bit loads and stores glsl/nir: Avoid overflow when setting max_uniform_location Connor Abbott (1): radv: Call nir_propagate_invariant() Danylo Piliaiev (3): nir/loop_unroll: Prepare loop for unrolling in wrapper_unroll nir/loop_analyze: Treat do{}while(false) loops as 0 iterations tgsi_to_nir: Translate TGSI_INTERPOLATE_COLOR as INTERP_MODE_NONE Dave Airlie (2): virgl: fix format conversion for recent gallium changes. gallivm: fix atomic compare-and-swap Dave Stevenson (1): broadcom/v3d: Allow importing linear BOs with arbitrary offset/stride. Dylan Baker (9): bump version to 19.2-rc2 nir: Add is_not_negative helper function Bump version for rc3 meson: don't generate file into subdirs add patches to be ignored Bump version for 19.2.0-rc4 cherry-ignore: Add patches rehardcode from origin/master to upstream/master bin/get-pick-list: use --oneline=pretty instead of --oneline Emil Velikov (1): Update version to 19.2.0-rc1 Eric Engestrom (14): ttn: fix 64-bit shift on 32-bit `1` egl: fix deadlock in malloc error path util/os_file: fix double-close() anv: fix format string in error message freedreno/drm-shim: fix mem leak nir: fix memleak in error path anv: add support for driconf wsi: add minImageCount override anv: add support for vk_x11_override_min_image_count amd: move adaptive sync to performance section, as it is defined in xmlpool radv: add support for vk_x11_override_min_image_count drirc: override minImageCount=2 for gfxbench gl: drop incorrect pkg-config file for glvnd meson: re-add incorrect pkg-config files with GLVND for backward compatibility Erik Faye-Lund (2): gallium/auxiliary/indices: consistently apply start only to input util: fix SSE-version needed for double opcodes Haihao Xiang (1): i965: support AYUV/XYUV for external import only Hal Gentz (2): glx: Fix SEGV due to dereferencing a NULL ptr from XCB-GLX. gallium/osmesa: Fix the inability to set no context as current. Iago Toral Quiroga (1): v3d: make sure we have enough space in the CL for the primitive counts packet Ian Romanick (8): nir/algrbraic: Don't optimize open-coded bitfield reverse when lowering is enabled intel/compiler: Request bitfield_reverse lowering on pre-Gen7 hardware nir/algebraic: Mark some value range analysis-based optimizations imprecise nir/range-analysis: Adjust result range of exp2 to account for flush-to-zero nir/range-analysis: Adjust result range of multiplication to account for flush-to-zero nir/range-analysis: Fix incorrect fadd range result for (ne_zero, ne_zero) nir/range-analysis: Handle constants in nir_op_mov just like nir_op_bcsel nir/algebraic: Do not apply late DPH optimization in vertex processing stages Ilia Mirkin (1): gallium/vl: use compute preference for all multimedia, not just blit Jason Ekstrand (9): anv: Bump maxComputeWorkgroupSize nir: Handle complex derefs in nir_split_array_vars nir: Don't infinitely recurse in lower_ssa_defs_to_regs_block nir: Add a block_is_unreachable helper nir/repair_ssa: Repair dominance for unreachable blocks nir/repair_ssa: Insert deref casts when needed nir/dead_cf: Repair SSA if the pass makes progress intel/fs: Handle UNDEF in split_virtual_grfs nir/repair_ssa: Replace the unreachable check with the phi builder Jonathan Marek (1): freedreno/a2xx: ir2: fix lowering of instructions after float lowering Jose Maria Casanova Crespo (1): mesa: recover target_check before get_current_tex_objects Juan A. Suarez Romero (1): bin/get-pick-list.sh: sha1 commits can be smaller than 8 chars Kenneth Graunke (20): gallium/ddebug: Wrap resource_get_param if available gallium/trace: Wrap resource_get_param if available gallium/rbug: Wrap resource_get_param if available gallium/noop: Implement resource_get_param iris: Replace devinfo->gen with GEN_GEN iris: Fix broken aux.possible/sampler_usages bitmask handling iris: Update fast clear colors on Gen9 with direct immediate writes. iris: Drop copy format hacks from copy region based transfer path. iris: Avoid unnecessary resolves on transfer maps iris: Fix large timeout handling in rel2abs() isl: Drop UnormPathInColorPipe for buffer surfaces. isl: Don't set UnormPathInColorPipe for integer surfaces. util: Add a _mesa_i64roundevenf() helper. mesa: Fix _mesa_float_to_unorm() on 32-bit systems. iris: Fix partial fast clear checks to account for miplevel. iris: Report correct number of planes for planar images iris: Fix constant buffer sizes for non-UBOs gallium: Fix util_format_get_depth_only iris: Initialize ice->state.prim_mode to an invalid value intel: Increase Gen11 compute shader scratch IDs to 64. Lepton Wu (1): virgl: Fix pipe_resource leaks under multi-sample. Lionel Landwerlin (9): util/timespec: use unsigned 64 bit integers for nsec values util: fix compilation on macos egl: fix platform selection vulkan/overlay: bounce image back to present layout radv: store engine name driconfig: add a new engine name/version parameter vulkan: add vk_x11_strict_image_count option util/xmlconfig: fix regexp compile failure check drirc: include unreal engine version 0 to 23 Marek Olšák (23): radeonsi/gfx10: fix the legacy pipeline by storing as_ngg in the shader cache radeonsi: move some global shader cache flags to per-binary flags radeonsi/gfx10: fix tessellation for the legacy pipeline radeonsi/gfx10: fix the PRIMITIVES_GENERATED query if using legacy streamout radeonsi/gfx10: create the GS copy shader if using legacy streamout radeonsi/gfx10: add as_ngg variant for VS as ES to select Wave32/64 radeonsi/gfx10: fix InstanceID for legacy VS+GS radeonsi/gfx10: don't initialize VGT_INSTANCE_STEP_RATE_0 radeonsi/gfx10: always use the legacy pipeline for streamout radeonsi/gfx10: finish up Navi14, add PCI ID radeonsi/gfx10: add AMD_DEBUG=nongg winsys/amdgpu+radeon: process AMD_DEBUG in addition to R600_DEBUG radeonsi: add PKT3_CONTEXT_REG_RMW radeonsi/gfx10: remove incorrect ngg/pos_writes_edgeflag variables radeonsi/gfx10: set PA_CL_VS_OUT_CNTL with CONTEXT_REG_RMW to fix edge flags radeonsi: consolidate determining VGPR_COMP_CNT for API VS radeonsi: unbind blend/DSA/rasterizer state correctly in delete functions radeonsi: fix scratch buffer WAVESIZE setting leading to corruption radeonsi/gfx10: don't call gfx10_destroy_query with compute-only contexts radeonsi/gfx10: fix wave occupancy computations radeonsi: add Navi12 PCI ID amd: add more PCI IDs for Navi14 ac/addrlib: fix chip identification for Vega10, Arcturus, Raven2, Renoir Mauro Rossi (2): android: mesa: revert "Enable asm unconditionally" android: anv: libmesa_vulkan_common: add libmesa_util static dependency Paulo Zanoni (2): intel/fs: grab fail_msg from v32 instead of v16 when v32->run_cs fails intel/fs: fix SHADER_OPCODE_CLUSTER_BROADCAST for SIMD32 Pierre-Eric Pelloux-Prayer (1): glsl: replace 'x + (-x)' with constant 0 Rafael Antognolli (1): anv: Only re-emit non-dynamic state that has changed. Rhys Perry (1): radv: always emit a position export in gs copy shaders Samuel Iglesias Gonsálvez (1): intel/nir: do not apply the fsin and fcos trig workarounds for consts Samuel Pitoiset (11): radv: allow to enable VK_AMD_shader_ballot only on GFX8+ radv: add a new debug option called RADV_DEBUG=noshaderballot radv: force enable VK_AMD_shader_ballot for Wolfenstein Youngblood ac: fix exclusive scans on GFX8-GFX9 radv/gfx10: don't initialize VGT_INSTANCE_STEP_RATE_0 radv/gfx10: do not use NGG with NAVI14 radv: fix getting the index type size for uint8_t nir: do not assume that the result of fexp2(a) is always an integral radv: fix allocating number of user sgprs if streamout is used radv: fix loading 64-bit GS inputs radv/gfx10: fix VK_KHR_pipeline_executable_properties with NGG GS Sergii Romantsov (2): intel/dri: finish proper glthread nir/large_constants: more careful data copying Tapani Pälli (5): util: fix os_create_anonymous_file on android iris/android: fix build and link with libmesa_intel_perf egl: reset blob cache set/get functions on terminate iris: close screen fd on iris_destroy_screen egl: check for NULL value like eglGetSyncAttribKHR does Thong Thai (1): Revert "radeonsi: don't emit PKT3_CONTEXT_CONTROL on amdgpu" Timur Kristóf (1): st/nine: Properly initialize GLSL types for NIR shaders. Vinson Lee (2): swr: Fix build with llvm-9.0 again. travis: Fail build if any command in if statement fails.
Rename py-meson to meson. The motivation is to consider meson as an application, so there is only one copy on the system, and as a python 3 program, it can build python 2 packages.
MesaLib: Allow dri3 to be autodetected
MesaLib: Enable lima and panfrost drivers on arm and aarch64. based on a patch by rjs. both lima and panfrost gallium drivers apparently build fine on NetBSD-current. bump PKGREVISION
MesaLib: Update to 19.1.6 Bug fixes Bug 104395 - [CTS] GTF-GL46.gtf32.GL3Tests.packed_pixels.packed_pixels tests fail on 32bit Mesa Bug 111213 - VA-API nouveau SIGSEGV and asserts Bug 111241 - Shadertoy shader causing hang Bug 111411 - SPIR-V shader leads to GPU hang, sometimes making machine unstable Changes Andres Rodriguez (1): radv: additional query fixes Daniel Schürmann (1): nir/lcssa: handle deref instructions properly Danylo Piliaiev (1): nir/loop_unroll: Prepare loop for unrolling in wrapper_unroll Ian Romanick (2): nir/algrbraic: Don't optimize open-coded bitfield reverse when lowering is enabled intel/compiler: Request bitfield_reverse lowering on pre-Gen7 hardware Ilia Mirkin (1): gallium/vl: use compute preference for all multimedia, not just blit Jonas Ådahl (1): wayland/egl: Ensure correct buffer size when allocating Juan A. Suarez Romero (6): docs: add sha256 checksums for 19.1.5 cherry-ignore: add explicit 19.2 only nominations cherry-ignore: iris: Replace devinfo->gen with GEN_GEN cherry-ignore: iris: Update fast clear colors on Gen9 with direct immediate writes. cherry-ignore: iris: Avoid unnecessary resolves on transfer maps Update version to 19.1.6 Kenneth Graunke (6): iris: Fix broken aux.possible/sampler_usages bitmask handling iris: Drop copy format hacks from copy region based transfer path. iris: Fix large timeout handling in rel2abs() util: Add a _mesa_i64roundevenf() helper. mesa: Fix _mesa_float_to_unorm() on 32-bit systems. intel/compiler: Fix src0/desc setter ordering Marek Olšák (1): radeonsi: fix scratch buffer WAVESIZE setting leading to corruption Paulo Zanoni (1): intel/fs: grab fail_msg from v32 instead of v16 when v32->run_cs fails Pierre-Eric Pelloux-Prayer (1): glsl: replace 'x + (-x)' with constant 0 Tapani Pälli (1): egl: reset blob cache set/get functions on terminate
MesaLib: another merge request link, for why we need to disable some of -Werror.
MesaLib: add link to upstream merge request so we know when the workaroudn can be removed.
MesaLib: build-id is a linker arg so needs -Wl, oops
MesaLib: remove --build-id=sha1 linker arg on SunOS
MesaLib: add xgettext to USE_TOOLS, no gallium-xa on sunos
MesaLib: remove some patches for unsupported NetBSD versions. pointed out by maya. bump PKGREVISION
MesaLib: various changes to how this is built - Try to appease the Darwin build. - Simplify and reduce the number of options to make testing easier. - Silence lots of pkglint warnings. - Enable the surfaceless platform as recommended by Mesa. - Switch to gallium swrast as recommended by Mesa. - Switch to gallium osmesa as recommended by Mesa. - Support building without X11. todo: - glvnd support (needs testing to figure out which platforms it builds on) - make AMD drivers optional on platforms like aarch64 Bump PKGREVISION.
MesaLib: Add flex to USE_TOOLS
MesaLib: Needs bison.
MesaLib: Update to 19.1.5 Bug fixes Bug 109630 - vkQuake flickering geometry under Intel Bug 110395 - Shadows are flickering in SuperTuxKart Bug 111113 - ANGLE BlitFramebufferTest.MultisampleDepthClear/ES3_OpenGL fails on Intel Ubuntu19.04 Bug 111267 - [CM246] Flickering with multiple draw calls within the same graphics pipeline if a compute pipeline is present Changes Bas Nieuwenhuizen (4): radv: Do non-uniform lowering before bool lowering. ac/nir: Use correct cast for readfirstlane and ptrs. radv: Avoid binning RAVEN hangs. radv: Avoid VEGA/RAVEN scissor bug in binning. Danylo Piliaiev (1): i965: Emit a dummy MEDIA_VFE_STATE before switching from GPGPU to 3D Eric Engestrom (1): util: fix mem leak of program path Erik Faye-Lund (2): gallium/dump: add missing query-type to short-list gallium/dump: add missing query-type to short-list Greg V (2): anv: remove unused Linux-specific include intel/perf: use MAJOR_IN_SYSMACROS/MAJOR_IN_MKDEV Jason Ekstrand (1): anv: Emit a dummy MEDIA_VFE_STATE before switching from GPGPU to 3D Juan A. Suarez Romero (3): docs: add sha256 checksums for 19.1.4 cherry-ignore: panfrost: Make ctx->job useful Update version to 19.1.5 Marek Olšák (2): radeonsi: disable SDMA image copies on dGPUs to fix corruption in games radeonsi: fix an assertion failure: assert(!res->b.is_shared) Matt Turner (1): meson: Test for program_invocation_name Sergii Romantsov (1): i965/clear: clear_value better precision
MesaLib: strip out -Werror=return-type Mesa has some switch statements that do assert(0) for the default case and return on all the other cases. Some versions of GCC count these functions as not terminating with the right return value and are erroring. reported by wilbury.
MesaLib: resolving some build failures when built without LLVM
MesaLib: Update to 19.1.4 Upstream has replaced their autotools-based build system with Meson. Thanks to fox@ for testing on Linux. New features: * GL_AMD_texture_texture4 on all GL 4.0 drivers. * GL_EXT_shader_implicit_conversions on all drivers (ES extension). * GL_EXT_texture_compression_bptc on all GL 4.0 drivers (ES extension). * GL_EXT_texture_compression_rgtc on all GL 3.0 drivers (ES extension). * GL_EXT_render_snorm on gallium drivers (ES extension). * GL_EXT_texture_view on drivers supporting texture views (ES extension). * GL_OES_texture_view on drivers supporting texture views (ES extension). * GL_NV_shader_atomic_float on nvc0 (Fermi/Kepler only). * Shader-based software implementations of GL_ARB_gpu_shader_fp64, GL_ARB_gpu_shader_int64, GL_ARB_vertex_attrib_64bit, and GL_ARB_shader_ballot on i965. * VK_ANDROID_external_memory_android_hardware_buffer on Intel * Fixed and re-exposed VK_EXT_pci_bus_info on Intel and RADV * VK_EXT_scalar_block_layout on Intel and RADV * VK_KHR_depth_stencil_resolve on Intel * VK_KHR_draw_indirect_count on Intel * VK_EXT_conditional_rendering on Intel * VK_EXT_memory_budget on RADV * GL_ARB_parallel_shader_compile on all drivers. * GL_EXT_gpu_shader4 on all GL 3.1 drivers. * GL_EXT_shader_image_load_formatted on radeonsi. * GL_EXT_texture_buffer_object on all GL 3.1 drivers. * GL_EXT_texture_compression_s3tc_srgb on Gallium drivers and i965 (ES extension). * GL_NV_compute_shader_derivatives on iris and i965. * GL_KHR_parallel_shader_compile on all drivers. * VK_EXT_buffer_device_address on Intel and RADV. * VK_EXT_depth_clip_enable on Intel and RADV. * VK_KHR_ycbcr_image_arrays on Intel. * VK_EXT_inline_uniform_block on Intel and RADV. * VK_EXT_external_memory_host on Intel. * VK_EXT_host_query_reset on Intel and RADV. * VK_KHR_surface_protected_capabilities on Intel and RADV. * VK_EXT_pipeline_creation_feedback on Intel and RADV. * VK_KHR_8bit_storage on RADV. * VK_AMD_gpu_shader_int16 on RADV. * VK_AMD_gpu_shader_half_float on RADV. * VK_NV_compute_shader_derivatives on Intel. * VK_KHR_shader_float16_int8 on Intel and RADV (RADV only supports int8). * VK_KHR_shader_atomic_int64 on Intel. * VK_EXT_descriptor_indexing on Intel. * VK_KHR_shader_float16_int8 on Intel and RADV. * GL_INTEL_conservative_rasterization on iris. * VK_EXT_memory_budget on Intel.
Use http MASTER_SITES for Mesa
MesaLib*: Update DESCR and COMMENT.
Move graphics/MesaLib18 to graphics/MesaLib. Move graphics/MesaLib to graphics/MesaLib11.
Omit mentions of python 34 and 35, after those were removed. - Includes some whitespace changes, to be handled in a separate commit.
PKGREVISION bump for anything using python without a PYPKGPREFIX. This is a semi-manual PKGREVISION bump.
point old mesa to libLLVM4 for now
MesaLib: add headers for major()/minor() on Linux Bump revision
Recursive revbump from multimedia/libva
MesaLib: remove workaround for pkgsrc GCC already fixed in GCC (upstream and in pkgsrc)
MesaLib: remove obsolete patch. Bump PKGREVISION. Ok riastradh.
extend PYTHON_VERSIONS_ for Python 3.7
MesaLib: Use -D__EXTENSIONS__ on SunOS for strict compilers.
Follow some redirects.
Never use writable text segments on i386. Bump revision.
Backport patches to handle an API change in llvm4. Bump PKGREVISION.
Do not suggest llvm option on Darwin With llvm, the build fails, as apparently llvm turns on including multiple libraries that do not build. (Until recently, this option was not enabled by default, so this change is essentially omitting Darwin from the change to default to llvm in i386/x86_64.) Thanks to maya@ for explaining/suggesting.
MesaLib: enable llvm option on all x86 platforms, and not on non-x86. It's for the AMDGPU driver. I don't know of any ARM boards, but that may change in the future. highly unlikely for SPARC. Also lift the minimum GCC requirement for linux llvm option - we use GCC_REQD for the llvm package, and gcc48 works at least on CentOS 6.8 builds, so it'll build fine. Linux is will benefit from the AMDGPU driver, although it requires a new kernel anyway. bump PKGREVISION.
MesaLib: pull in vdpau and vaapi only if dri option is selected. This fixes a PLIST mismatch in the -dri -llvm case, pointed out by Joern Clausen in PR pkg/52021.
MesaLib: split out VA-API and VDPAU availability check 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.
MesaLib: build VDPAU support if it's available. 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
Avoid double-free. Bump PKGREVISION.
Add python-3.6 to incompatible versions.
Update python-3.x comment.
Remove python33: adapt all packages that refer to it.
Updated MesaLib to 11.2.2. Mesa 11.2.2 Release Notes / May 9, 2016 Mesa 11.2.2 is a bug fix release which fixes bugs found since the 11.2.1 release. Mesa 11.2.2 implements the OpenGL 4.1 API, but the version reported by glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / glGetIntegerv (GL_MINOR_VERSION) depends on the particular driver being used. Some drivers don't support all the features required in OpenGL 4.1. OpenGL 4.1 is only available if requested at context creation because compatibility contexts are not supported. Bug fixes This list is likely incomplete. • Bug 92850 - Segfault loading War Thunder • Bug 93767 - Glitches with soft shadows and MSAA in Knights of the Old Republic 2 • Bug 94955 - Uninitialized variables leads to random segfaults (valgrind log, apitrace attached) • Bug 94994 - OSMesaGetProcAdress always fails on mangled OSMesa • Bug 95026 - Alien Isolation segfault after initial loading screen/video • Bug 95133 - X-COM Enemy Within crashes when entering tactical mission with Bonaire • Bug 95164 - GLSL compiler (linker I think) emits assertion upon call to glAttachShader • Bug 95251 - vdpau decoder capabilities: not supported
Update MesaLib to 11.2.1. The first stable release for the 11.2 branch - Mesa 11.2.1 is now available. It fixes crashes in VAAPI, some build problems in Nine has been addressed, adds a drirc workaround for Warsow and resolves issues in the nouveau, radeonsi and i965 drivers. Brian Paul (2): st/mesa: fix glReadBuffer() assertion failure st/mesa: fix memleak in glDrawPixels cache code Christian Schmidbauer (1): st/nine: specify WINAPI only for i386 and amd64 Emil Velikov (4): docs: add sha256 checksums for 11.2.0 configure.ac: update the path of the generated files Update version to 11.2.1 docs: add release notes for 11.2.1 Ilia Mirkin (1): glsl: allow usage of the keyword buffer before GLSL 430 / ESSL 310 Iurie Salomov (1): va: check null context in vlVaDestroyContext Jason Ekstrand (2): i965/tiled_memcopy: Add aligned mem_copy parameters to the [de]tiling functions i965/tiled_memcpy: Rework the RGBA -> BGRA mem_copy functions Kenneth Graunke (3): i965: Fix textureSize() depth value for 1 layer surfaces on Gen4-6. i965: Use brw->urb.min_vs_urb_entries instead of 32 for BLORP. glsl: Lower variable indexing of system value arrays unconditionally. Marek Olšák (1): drirc: add a workaround for blackness in Warsow Nicolai Hähnle (1): radeonsi: fix bounds check in si_create_vertex_elements Samuel Pitoiset (1): nv50/ir: do not try to attach JOIN ops to ATOM Thomas Hindoe Paaboel Andersen (1): st/va: avoid dereference after free in vlVaDestroyImage
Use flex instead of lex. PR 51073 by David Shao.
According to a Linux bulk build, this needs a lex. Add it to tools.
Update MesaLib to 11.2.0. Mesa 11.2.0 is a new development release. People who are concerned with stability and reliability should stick with a previous release or wait for Mesa 11.2.1. Mesa 11.2.0 implements the OpenGL 4.1 API, but the version reported by glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / glGetIntegerv (GL_MINOR_VERSION) depends on the particular driver being used. Some drivers don't support all the features required in OpenGL 4.1. OpenGL 4.1 is only available if requested at context creation because compatibility contexts are not supported. New features Note: some of the new features are only available with certain drivers. • GL_ARB_arrays_of_arrays on all gallium drivers that provide GLSL 1.30 • GL_ARB_base_instance on freedreno/a4xx • GL_ARB_compute_shader on i965 • GL_ARB_copy_image on r600 • GL_ARB_indirect_parameters on nvc0 • GL_ARB_query_buffer_object on nvc0 • GL_ARB_shader_atomic_counters on nvc0 • GL_ARB_shader_draw_parameters on i965, nvc0 • GL_ARB_shader_storage_buffer_object on nvc0 • GL_ARB_tessellation_shader on i965 and r600 (evergreen/cayman only) • GL_ARB_texture_buffer_object_rgb32 on freedreno/a4xx • GL_ARB_texture_buffer_range on freedreno/a4xx • GL_ARB_texture_query_lod on freedreno/a4xx • GL_ARB_texture_rgb10_a2ui on freedreno/a4xx • GL_ARB_texture_view on freedreno/a4xx • GL_ARB_vertex_type_10f_11f_11f_rev on freedreno/a4xx • GL_KHR_texture_compression_astc_ldr on freedreno/a4xx • GL_AMD_performance_monitor on radeonsi (CIK+ only) • GL_ATI_meminfo on r600, radeonsi • GL_NVX_gpu_memory_info on r600, radeonsi • New OSMesaCreateContextAttribs() function (for creating core profile contexts) Bug fixes • Bug 27512 - Illegal instruction _mesa_x86_64_transform_points4_general • Bug 75165 - compute.c:464:49: error: function definition is not allowed here • Bug 79783 - Distorted output in obs-studio where other vendors "work" • Bug 89330 - piglit glsl-1.50 invariant-qualifier-in-out-block-01 regression • Bug 89969 - nouveau: add support for chunk decoding in order to support vaapi (st/va) • Bug 90348 - Spilling failure of b96 merged value • Bug 91526 - World of Warcraft (on Wine) has UI corruption with nouveau • Bug 91596 - EGL_KHR_gl_colorspace (v2) causes problem with Android-x86 GUI • Bug 91806 - configure does not test whether assembler supports sse4.1 • Bug 91927 - [SKL] [regression] piglit compressed textures tests fail with kernel upgrade • Bug 92193 - [SKL] ES2-CTS.gtf.GL2ExtensionTests.compressed_astc_texture.compressed_astc_texture fails • Bug 92229 - [APITRACE] SOMA have serious graphical errors • Bug 92233 - Unigine Heaven 4.0 silhuette run • Bug 92363 - [BSW/BDW] ogles1conform Gets test fails • Bug 92438 - Segfault in pushbuf_kref when running the android emulator (qemu) on nv50 • Bug 92589 - [BDW BSW SKL CTS] ES31-CTS.texture_gather.* GPU_HANG • Bug 92595 - [HSW,BDW,SKL][GLES 3.1 CTS] Big difference in the results for the ES31-CTS.shader_bitfield_operation.* tests • Bug 92609 - [BDW, BSW] piglit sampling-2d-array-as-2d-layer fails • Bug 92687 - Add support for ARB_internalformat_query2 • Bug 92706 - glBlitFramebuffer refuses to blit RGBA to RGB with MSAA • Bug 92709 - "LLVM triggered Diagnostic Handler: unsupported call to function ldexpf in main" when starting race in stuntrally • Bug 92743 - Centroid shouldn't have to match between the FS and the VS • Bug 92759 - [Regression, bisected] Visuals without alpha bits are not sRGB-capable • Bug 92849 - [IVB HSW BDW] piglit image load/store load-from-cleared-image.shader_test fails • Bug 92909 - Offset/alignment issue with layout std140 and vec3 • Bug 93004 - Guild Wars 2 crash on nouveau DX11 cards • Bug 93048 - [CTS regression] mesa af2723 breaks GL Conformance for debug extension • Bug 93063 - drm_helper.h:227:1: error: static declaration of ‘pipe_virgl_create_screen’ follows non-static declaration • Bug 93091 - [opencl] segfault when running any opencl programs (like clinfo) • Bug 93092 - lp_test_format regression • Bug 93126 - wrongly claim supporting GL_EXT_texture_rg • Bug 93180 - [regression] arb_separate_shader_objects.active sampler conflict fails • Bug 93189 - "./util/u_inlines.h", line 83: operands have incompatible types: void ":" int • Bug 93215 - [Regression bisected] Ogles1conform Automatic mipmap generation test is fail • Bug 93235 - [regression] dispatch sanity broken by GetPointerv • Bug 93257 - [SKL, bisected] ASTC dEQP tests segfault • Bug 93264 - Tonga VM Faults since llvm ScheduleDAGInstrs: Rework schedule graph builder. • Bug 93266 - gl_arb_shading_language_420pack does not allow binding of image variables • Bug 93300 - Two Worlds 2 renders water incorrectly • Bug 93312 - [SKL][GLES 3.1 CTS] ES31-CTS.layout_binding* GPU_HANG • Bug 93320 - [HSW,BDW,SKL][GLES 3.1 CTS] ES31-CTS.vertex_attrib_binding.advanced-bindingUpdate fail • Bug 93322 - [HSW,BDW,SKL][GLES 3.1 CTS] ES31-CTS.compute_shader.resource-ubo fail • Bug 93323 - [HSW,BDW,SKL][GLES 3.1 CTS] ES31-CTS.shader_image_load_store.basic-allTargets-store-fs fail • Bug 93325 - [HSW,BDW,SKL]ES31-CTS.explicit_uniform_location.uniform-loc-* 2 tests fail • Bug 93339 - glLinkProgram() should fail when a varying is never written to in a previous stage • Bug 93348 - [HSW,BDW,SKL][GLES 3.1 CTS] ES31-CTS.compute_shader.* segfault • Bug 93358 - [HSW] Unreal Elemental demo - assertion error in copy_image_with_blitter • Bug 93387 - inverse() shouldn’t be exposed in GLSL 1.20 and 1.30 • Bug 93388 - [i965, regression, bisection] MESA_FORMAT_B8G8R8X8_SRGB changes break kwin • Bug 93407 - [SKL][GLES 3.1 CTS]ES31-CTS.compute_shader.resources-texture fail • Bug 93410 - [BDW,SKL][GLES 3.1 CTS] ES31-CTS.shader_image_load_store.negative-linkErrors fail • Bug 93418 - Geometry Shaders output wrong vertices on Sandy Bridge • Bug 93426 - [SKL,BDW,BSW,BXT] CTS regression: es2-cts.gtf.gl2fixedtests.buffer_objects.buffer_object,s • Bug 93524 - Clover doesn't build • Bug 93526 - GfxBench 4 tessellation demos misrender • Bug 93532 - [HSW,BDW,SKL][GLES 3.1 CTS] ES31-CTS.compute_shader.*. Regression, bisected. • Bug 93540 - [BISECTED, HSW] Rendering issue in Heaven (and other benchmarks) • Bug 93560 - opt_combine_constants failing fabsf(reg->f) == table.imm[i].val assertion • Bug 93599 - Strange green flashes with "Metro: Last Light Redux" + "Metro 2033 Redux" with Intel Mesa driver • Bug 93648 - Random lines being rendered when playing Dolphin (geometry shaders related, w/ apitrace) • Bug 93650 - GL_ARB_separate_shader_objects is buggy (PCSX2) • Bug 93667 - Crash in eglCreateImageKHR with huge texture size • Bug 93696 - [HSW,BDW;SKL][GLES 3.1 CTS] ES31-CTS.explicit_uniform_location.uniform-loc-mix-with-implicit-max-* fail • Bug 93700 - [SKL, regression] deqp-gles2.functional.texture.completeness • Bug 93717 - Meta mipmap generation can corrupt texture state • Bug 93722 - Segfault when compiling shader with a subroutine that takes a parameter • Bug 93725 - [HSW, regression, bisected] ES31-CTS.texture_gather.*depth* • Bug 93731 - glUniformSubroutinesuiv segfaults when subroutine uniform is bound to a specific location • Bug 93761 - A conditional discard in a fragment shader causes no depth writing at all • Bug 93790 - [HSW] Use after free with compute programs • Bug 93792 - [HSW] intel_mipmap_tree.c:1325: intel_miptree_copy_slice: Assertion `src_mt->format == dst_mt->format • Bug 93813 - Incorrect viewport range when GL_CLIP_ORIGIN is GL_UPPER_LEFT • Bug 93840 - [i965] Alien: Isolation fails with GL_ARB_compute_shader enabled • Bug 93862 - [Bisected] "drm/amdgpu: fix amdgpu_bo_pin_restricted VRAM placing v2" is bad • Bug 93878 - [llvmpipe][softpipe] piglit arb_gpu_shader_fp64-double-gettransformfeedbackvarying regression • Bug 93957 - [HSW] Mishandling of sample count when using an attachment-less framebuffer (assertion error) • Bug 93961 - virgl build failure after 2016-02-01 changes - no previous prototype for 'virgl_drm_winsys_create' • Bug 93962 - [HSW, regression, bisected, CTS] ES2-CTS.gtf.GL2FixedTests.scissor.scissor - segfault/asserts • Bug 93989 - build: flex-2.5.39 seems to be failing for glsl_lexer.ll • Bug 94016 - make check MesaExtensionsTest.AlphabeticallySorted regression • Bug 94019 - [bisected] 3D acceleration broken with gallium/radeon: just get num_tile_pipes from the winsys • Bug 94050 - test_vec4_register_coalesce regression • Bug 94073 - Miscompilation of abs_vec3_vert_xvary_ref.vert in WebGL conformance • Bug 94081 - [HSW] compute shader shared var + atomic op = fail • Bug 94088 - [llvmpipe] SIGFPE pthread_barrier_destroy.c:40 • Bug 94091 - Tonga unreal elemental segfault since radeonsi: put image, fmask, and sampler descriptors into one array • Bug 94100 - [HSW] compute indirect dispatch with 0 work groups causes gpu hang • Bug 94134 - [regression] piglit.spec.arb_texture_view.sampling-2d-array-as-2d-layer assertion • Bug 94139 - [regression, HSW, IVB] piglit.spec.arb_compute_shader.minmax • Bug 94150 - UE4 Suntemple rendering errors • Bug 94186 - Crash when launching glxinfo and World of Warcraft with RV790 • Bug 94188 - define (or undef) defined behaves stupidly • Bug 94193 - [llvmpipe] Line antialiasing looks different when GL_LINE_STIPPLE is enabled with pattern 0xffff • Bug 94199 - Shader abort/crash • Bug 94253 - [llvmpipe] piglit gl-1.0-swapbuffers-behavior regression • Bug 94254 - [llvmpipe] [softpipe] piglit read-front regression • Bug 94257 - [softpipe] piglit glx-copy-sub-buffer regression • Bug 94274 - [swrast] piglit arb_occlusion_query2-render regression • Bug 94284 - [radeonsi] outlast segfault on start • Bug 94388 - r600_blit.c:281: r600_decompress_depth_textures: Assertion `tex->is_depth && !tex->is_flushing_texture' failed. • Bug 94412 - Trine 3 misrender • Bug 94481 - softpipe - access violation in img_filter_2d_nearest • Bug 94524 - Wrong gl_TessLevelOuter interpretation for isolines • Bug 94595 - [Mesa AMD&swrast] Texture views attached as framebuffers return their viewed tecture's color encoding and render incorrectly
Bump revision because of libLLVM shared library bump.
Update MesaLib to 11.1.2. Remove patch that was merged upstream. Changes: Mesa 11.1.2 is a bug fix release which fixes bugs found since the 11.1.1 release. Mesa 11.1.2 implements the OpenGL 4.1 API, but the version reported by glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / glGetIntegerv (GL_MINOR_VERSION) depends on the particular driver being used. Some drivers don't support all the features required in OpenGL 4.1. OpenGL 4.1 is only available if requested at context creation because compatibility contexts are not supported. Bug fixes This list is likely incomplete. • Bug 91596 - EGL_KHR_gl_colorspace (v2) causes problem with Android-x86 GUI • Bug 93628 - Exception: attempt to use unavailable module DRM when building MesaGL 11.1.0 on windows • Bug 93648 - Random lines being rendered when playing Dolphin (geometry shaders related, w/ apitrace) • Bug 93650 - GL_ARB_separate_shader_objects is buggy (PCSX2) • Bug 93717 - Meta mipmap generation can corrupt texture state • Bug 93722 - Segfault when compiling shader with a subroutine that takes a parameter • Bug 93731 - glUniformSubroutinesuiv segfaults when subroutine uniform is bound to a specific location • Bug 93761 - A conditional discard in a fragment shader causes no depth writing at all Changes Ben Widawsky (1): • i965/bxt: Fix conservative wm thread counts. Dave Airlie (1): • glsl: fix subroutine lowering reusing actual parmaters Emil Velikov (6): • docs: add sha256 checksums for 11.1.1 • cherry-ignore: drop the i965/kbl .num_slices patch • i915: correctly parse/set the context flags • targets/dri: android: use WHOLE static libraries • egl/dri2: expose srgb configs when KHR_gl_colorspace is available • Update version to 11.1.2 Eric Anholt (2): • vc4: Don't record the seqno of a failed job submit. • vc4: Throttle outstanding rendering after submission. François Tigeot (1): • gallium: Add DragonFly support Grazvydas Ignotas (1): • r600g: don't leak driver const buffers Ian Romanick (2): • meta/blit: Restore GL_DEPTH_STENCIL_TEXTURE_MODE state for GL_TEXTURE_RECTANGLE • meta: Use internal functions to set texture parameters Ilia Mirkin (6): • st/mesa: use surface format to generate mipmaps when available • glsl: always compute proper varying type, irrespective of varying packing • nvc0: avoid crashing when there are holes in vertex array bindings • nv50,nvc0: fix buffer clearing to respect engine alignment requirements • nv50/ir: fix false global CSE on instructions with multiple defs • st/mesa: treat a write as a read for range purposes Jason Ekstrand (3): • i965/vec4: Use UW type for multiply into accumulator on GEN8+ • i965/fs/generator: Take an actual shader stage rather than a string • i965/fs: Always set channel 2 of texture headers in some stages Jose Fonseca (2): • scons: Conditionally use DRM module on pipe-loader. • pipe-loader: Fix PATH_MAX define on MSVC. Karol Herbst (1): • nv50/ir: fix memory corruption when spilling and redoing RA Kenneth Graunke (2): • glsl: Make bitfield_insert/extract and bfi/bfm non-vectorizable. • glsl: Allow implicit int -> uint conversions for bitwise operators (&, ^, |). Leo Liu (2): • vl: add zig zag scan for list 4x4 • st/omx/dec/h264: fix corruption when scaling matrix present flag set Marek Olšák (1): • radeonsi: don't miss changes to SPI_TMPRING_SIZE Nicolai Hähnle (11): • mesa/bufferobj: make _mesa_delete_buffer_object externally accessible • st/mesa: use _mesa_delete_buffer_object • radeon: use _mesa_delete_buffer_object • i915: use _mesa_delete_buffer_object • i965: use _mesa_delete_buffer_object • util/u_pstipple.c: copy immediates during transformation • radeonsi: extract the VGT_GS_MODE calculation into its own function • radeonsi: ensure that VGT_GS_MODE is sent when necessary • radeonsi: add DCC buffer for sampler views on new CS • st/mesa: use the correct address generation functions in st_TexSubImage blit • radeonsi: fix discard-only fragment shaders (11.1 version) Timothy Arceri (4): • glsl: fix segfault linking subroutine uniform with explicit location • mesa: fix segfault in glUniformSubroutinesuiv() • glsl: fix interface block error message • glsl: create helper to remove outer vertex index array used by some stages
Update MesaLib to 11.1.1. Add patches from xsrc: atexit() is not a good idea in shared libraries. Changes: Bug fixes This list is likely incomplete. Bug 91806 - configure does not test whether assembler supports sse4.1 Bug 92229 - [APITRACE] SOMA have serious graphical errors Bug 92233 - Unigine Heaven 4.0 silhuette run Bug 93004 - Guild Wars 2 crash on nouveau DX11 cards Bug 93215 - [Regression bisected] Ogles1conform Automatic mipmap generation test is fail Bug 93257 - [SKL, bisected] ASTC dEQP tests segfault Changes Brian Paul (1): st/mesa: check state->mesa in early return check in st_validate_state() Dave Airlie (6): mesa/varray: set double arrays to non-normalised. mesa/shader: return correct attribute location for double matrix arrays glsl: pass stage into mark function glsl/fp64: add helper for dual slot double detection. glsl: fix count_attribute_slots to allow for different 64-bit handling glsl: only update doubles inputs for vertex inputs. Emil Velikov (4): docs: add sha256 checksums for 11.0.1 cherry-ignore: drop the "re-enable" DCC on Stoney cherry-ignore: don't pick a specific i965 formats patch Update version to 11.1.1 Eric Anholt (2): vc4: Warn instead of abort()ing on exec ioctl failures. vc4: Keep sample mask writes from being reordered after TLB writes Grazvydas Ignotas (1): r600: fix constant buffer size programming Ian Romanick (1): meta/generate_mipmap: Work-around GLES 1.x problem with GL_DRAW_FRAMEBUFFER Ilia Mirkin (9): nv50/ir: can't have predication and immediates gk104/ir: simplify and fool-proof texbar algorithm glsl: assign varying locations to tess shaders when doing SSO glx/dri3: a drawable might not be bound at wait time nvc0: don't forget to reset VTX_TMP bufctx slot after blit completion nv50/ir: float(s32 & 0xff) = float(u8), not s8 nv50,nvc0: make sure there's pushbuf space and that we ref the bo early nv50,nvc0: fix crash when increasing bsp bo size for h264 nvc0: scale up inter_bo size so that it's 16M for a 4K video Jonathan Gray (2): configure.ac: use pkg-config for libelf configure: check for python2.7 for PYTHON2 Kenneth Graunke (5): ralloc: Fix ralloc_adopt() to the old context's last child's parent. drirc: Disable ARB_blend_func_extended for Heaven 4.0/Valley 1.0. glsl: Fix varying struct locations when varying packing is disabled. nvc0: Set winding order regardless of domain. nir: Add a lower_fdiv option, turn fdiv into fmul/frcp. Marek Olšák (7): tgsi/scan: add flag colors_written r600g: write all MRTs only if there is exactly one output (fixes a hang) radeonsi: don't call of u_prims_for_vertices for patches and rectangles radeonsi: apply the streamout workaround to Fiji as well gallium/radeon: fix Hyper-Z hangs by programming PA_SC_MODE_CNTL_1 correctly program: add _mesa_reserve_parameter_storage st/mesa: fix GLSL uniform updates for glBitmap & glDrawPixels (v2) Mark Janes (1): Add missing platform information for KBL Miklós Máté (1): mesa: Don't leak ATIfs instructions in DeleteFragmentShader Neil Roberts (3): i965: Add MESA_FORMAT_B8G8R8X8_SRGB to brw_format_for_mesa_format i965: Add B8G8R8X8_SRGB to the alpha format override i965: Fix crash when calling glViewport with no surface bound Nicolai Hähnle (2): gallium/radeon: only dispose locally created target machine in radeon_llvm_compile gallium/radeon: fix regression in a number of driver queries Oded Gabbay (1): configura.ac: fix test for SSE4.1 assembler support Patrick Rudolph (2): nv50,nvc0: fix use-after-free when vertex buffers are unbound gallium/util: return correct number of bound vertex buffers Rob Herring (1): freedreno/ir3: fix 32-bit builds with pointer-to-int-cast error enabled Samuel Pitoiset (3): nvc0: free memory allocated by the prog which reads MP perf counters nv50,nvc0: free memory allocated by performance metrics nv50: free memory allocated by the prog which reads MP perf counters Sarah Sharp (1): mesa: Add KBL PCI IDs and platform information.
Update to mesa-11.1.0 (2015-12-15) 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.
Extend PYTHON_VERSIONS_INCOMPATIBLE to 35
Update to mesa-11.0.5. "With this release we have some driver patches for i965 and nouveau, a couple of llvm 3.7 related fixes and a some bugfixes in the VA state-tracker. Additionally we have a few new PCI ids for i965 and radeonsi."
Update to mesa-11.0.4. "With this release we have a wide selection of core mesa, glsl and driver fixes, a few build related patches and an omx bugfix."
Update to mesa-11.0.3 (2015-10-10) "In the current release we have a bunch of EGL patches, mangledGL build fixes and a healthy amount of driver bugfixes - radeonsi, nouveau, i915 and i965. Last but not least, the KDE/Weston regression introduced with 11.0.2 has also been resolved."
Try harder to not pick up system python. Might fix joyent Linux build.
Update to mesa-11.0.2. This fixes mesa 11 regressions found by dEQP tool.
Experimentally support building with X11_TYPE=modular on OS X. This targets 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.
update to mesa-11.0.1. "With this release we have mostly nouveau and i965 fixes, although there is the odd llvmpipe (big endian) and gbm bugfix."
Update to mesa-11.0.0 (2015-09-12) 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
Back out enablement of glx-tls for NetBSD. The x86_64 assembler code for the tls dispatch table (entry_x86-64_tls.h) needs some additional fixes, but although I know the issue it is too hairy to attempt during freeze.
The LLVM option enables JIT accelerated software rendering and is also required to support the latest RADEON GPUs, so enable it by default on platforms where such GPUs might be encountered. Also enable thread local storage support in GLX for those platforms. Part of PR pkg/50172.
NetBSD 5.x build fix
Mark as not ready for python-3.x SyntaxError: Missing parentheses in call to print
Update to MesaLib-10.6.7. 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.
Update to MesaLib-10.5.7. MesaLib-10.5.7 2015-06-07 "The current release includes over a dozen nouveau fixes (mostly targeting nv30/nv40 era hardware), i965 patches and a crash fix common to all the gallium dri modules." MesaLib-10.5.6 2015-05-24 "This time around we have fixes from all over mesa - core mesa, driver specific patches (i965, nouveau, freedreno), reentrancy improvements in Clover (OpenCL), GLX and EGL loader patches, and Darwin build fixes."
Moved define of _KERNEL_STRUCTURES to patch instead of setting it in the Makefile.
Fix build on DragonFlyBSD. -D_KERNEL_STRUCTURES are needed for ERESTART on DragonFlyBSD.
Update to MesaLib-10.5.5. MesaLib-10.5.5 2015-05-11 "This release includes a selection of i965 and nouveau driver fixes. Everyone using a gallium driver (r300, r600 and others) is also encouraged to update." MesaLib-10.5.4 2015-04-24 "This release includes fixes for the mesa state-tracker used by all the gallium drivers, a drirc workaround for Second Life, plus i965 fixes."
Update to MesaLib-10.5.3. 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.
fold "common" makefile fragments back into MesaLib/Makefile since all previous consumers are now standalone.
Force a full dependency on libpciaccess in situations where we definitely need to link with it but might have included x11/xf86driproto's bl3.mk first, because we have: x11/xf86driproto/buildlink3.mk:BUILDLINK_DEPMETHOD.libpciaccess?= build (This issue appears only on non-x86 because on x86 we get libpciaccess through libdrm) Bump PKGREVISION to get the dependency expressed.
Use __attribute__((__destructor__)) instead of magic __dso_handle, and fix another place. Patches from Taylor R Campbell (NetBSD xsrc). Bump PKGREVISION.
Bump PKGREVISION * Fix exit time segfault of qt5 applications
Fix for the integer overflow possibility reported in http://secunia.com/advisories/53558 / CVE 2013-1993 taken from upstream: http://lists.freedesktop.org/archives/mesa-dev/2013-May/039720.html http://lists.freedesktop.org/archives/mesa-dev/2013-May/039722.html but with s/calloc/(char *) Xcalloc/
Fix build of MesaLib on MirBSD. The mklib script needed some prodding, and configure mis-detects -fvisibility=hidden for some reason.
Check for symbol existence with #ifdef, not #if. Needed since some other files only #define the symbol without a value. Bump PKGREVISION since this changes an installed header file.
Allow the dri option on NetBSD even with native x (compile-tested by Patrick Welche) and enable it by default there too; bump libdrm requirement (from Patrick Welche). Also enable dri on Linux by default, not only for Linux with modular X. Bump PKGREVISION.
upgrade to MesaLib-7.11.2
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Expose glXGetProcAddress. The consequences of not making this patch are platform dependent - some build chains will still expose the symbols, but some will not. The API expects them to be exposed. Fixes Cairo 1.12.2 build on Ubuntu 11.10 and CentOS 6.3, presumably due to later versions of gcc (4.6.1 in the Ubuntu case). Bump PKGREVISION.
Needs libpciaccess now when pulling in libdrm. Bump PKGREVISION.
Unlock the 'dri' option for SunOS, since x11/libdrm now builds there. Bump PKGREVISION.
Disable integrated assembler for clang and force default visiblity to hidden, otherwise some assembler relocations don't work on AMD64.
Ensure PTHREAD_STUBLIB is set in MAKE_ENV not just PKGSRC_MAKE_ENV - fixes clean env build on Linux
The BUILDLINK API dependency should be for xf86driproto not driproto. I noticed this when it built with old xf86driproto that had conflicting file. So add a CONFLICTS too.
revision bump for libdrm update.
Look for libGL.so, not any particular libGL.so.<X>, on NetBSD. Bump PKGREVISION. From mrg@
- Fix MESA_TINY missed in last version bump. - 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.
Update to 7.4.4. Make software ratserizer actually work. Add one patch from upstream repo to fix null pointer dereference. Changes in 7.4.4: * Fixed i965/i915 segfault in screen destruction (bug 22408) Changes in 7.4.3: * Fixed texture object reference counting bug (bug 21756) * Allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENT point (SF bug 2793846) * Added missing glGet case for GL_VERTEX_ARRAY_BINDING_APPLE * Fixed some OSMesa build issues * Fixed a vertex buffer object crash * Fixed broken glTexImage3D() when image type = GL_BITMAP * Fixed some GLSL preprocessor bugs * Fixed framebuffer mem leak in i945/i965 DRI drivers * Fixed texture coordinate repeat bug in swrast (bug 21872) * Fixed incorrect viewport clamping (lower bound is zero, not one) * GLX fix for glean's makeCurrent test case
Attempt to make it build cleanly and to solve PLIST problems without dri option (default for most of platforms). Tested on DragonFly only. Bump PKGREVISION.
Use correct macros for installation, from FUKAUMI Naoki in PR 41563. While here, fix .pc files (were missing -Wl,-R). Bump PKGREVISION.
Fix "freeze on exit" issue with many GL games. Bump PKGREVISION.
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.
Add the following patch from upstream as a new distribution patch and bump MesaLib's PKGREVISION. While here, make a few small changes to appease pkglint. commit 2b8d8989fb6f9c36baf166fc715182a1407ebadb Author: Ian Romanick <ian.d.romanick@intel.com> Date: Sun Sep 28 20:31:46 2008 -0700 Use 3Dnow! x86-64 routines only on processors that support 3Dnow! Added an x86-64 CPUID function and use it to detect 3Dnow! [...] This fixes long standing bug #8724.
Sync MesaLib with upstream mesa_7_0_branch. While here, patch the r300 dri driver so that the __driConfigOptions symbol is visible. This is necessary for xdriinfo and driconf to work. Bump MesaLib's PKGREVISION.
Add Makefile.version and glx-config.mk so that x11/modular-xorg-server can share this information in lieu of us duplicating it by hand.
Reorder two unexec lines so they make more sense. PKGREVISION++
Bump PKGREVISION to reflect that MesaLib-7.0.4.1 and the current package are built from different sources, with the current package being the official 7.0.4 release. Updates between the two versions' change logs are: - This is a bug-fix release. - Including the latest glext.h and glxext.h header files from Khronos
#define bswap_32 bswap32 for NetBSD in the mach64 driver; also, for the sis driver, use either NetBSD's atomic ops if we have them, else check for gcc's __sync_synchronize. I suppose the right thing to do is split the dri drivers out of this package, but hopefully this will resolve [pkg/39359]. No revision bump, as I just updated the package a few hours ago.
Update to Mesa-7.0.4 proper, which takes us to pkgsrc version 7.0.4.1. Many of our patches are now upstream; there have also been a significant amount of bug fixes even since our last interim update from the 7.0 branch. ------------------------------------------------------------------------- *** Mesa 7.0.4 is a stable release with bug fixes since version 7.0.3 *** ------------------------------------------------------------------------- Bug fixes * define #extension GL_ARB_texture_rectangle in shading language * fixed WIN32 compile problem in libGLU * Fixed a per-vertex glMaterial bug which could cause bad lighting * Fixed potential crash in AA/smoothed triangle rendering when using a fragment shader * Fixed glDrawElement + VBO segfault (bug 16156) * Fixed GLSL linker bug causing generic vertex attributes to get aliased * Fixed stack overflow when using glPixelZoom on Windows * Fixed broken all(bvec2) GLSL function, added misc missing bvec constructors * ARB program "state.clip[n].plane" didn't parse correctly * Fixed broken glGetUniformiv() (bug 13774) Changes * Added support for DragonFly OS * Added a build config for FreeBSD static libs (Anatolij Shkodin) * Enabled GL_EXT_multi_draw_arrays extension in R200/R300 drivers * Enabled GL_ARB_point_sprite extension in I965 driver * Enabled GL_EXT_texture_sRGB extension in I965 driver * Added support for GL shading language in I965 driver 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
Don't pull in pthread.buildlink3.mk on NetBSD, since we have determined that we'll be using either libc stubs or devel/pthread-stublib, depending on age. Tested on NetBSD 4.99. No PKGREVISION bump, there should be no functional change. Suggested by bjs@
Use new-fangled :Q technology instead of yesteryear's quote characters. 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.
Change options.mk to build plain 'pkgsrc' target for libOSMesa. The assembler dispatch code is only for indirect or direct rendering, anyway--I apologize for not noticing this sooner. This should fix the recent non-dri build problems people were having. Thanks to Matthias Scheler and others for reporting this problem to me. NOTE: Direct/indirect rendering support is still default for i386 and amd64 on NetBSD 4+, but only if you're using modular Xorg.
Update to Mesa-7.0.4 (the head of the 7.0 branch in GIT). Basically, 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.
libdrm-2.3.1 does not include the TTM interface, which will cause the build of the i915tex driver to break (this driver was never supported on any OS aside from linux, anyway). Bump PKGREVISION.
graphics/MesaLib/hacks.mk: revert to rev 1.8 graphics/MesaLib/patches/patch-aw: export glXGetProcAddressARB graphics/MesaLib/Makefile: bump PKGREVISION graphics/glu/Makefile: bump PKGREVISION Please help out by giving this change as extensive testing as possible before 2008Q2 is branched.
Fix broken hack which instead of removing the "-fvisibility=hidden" compiler flag actually added it. This causes all the link failures in packages using the "glut" library (e.g. "gle"). Bump package revision because of this fix. Error analysis provided by Raymond Meyer on "pkgsrc-users" mailing list.
Add Linux to DRI platforms. Add a patch to fix compilation under Linux. Bump PKGREVISION.
Remove IGNORE_CCACHE, this was just me debugging. Thanks to wiz@.
Mesa
Add some SUBST magic for NetBSD to change the name of the function called in the x86/x86_64 assembler dispatch routine to __thr_getspecific to avoid an unresolved symbol error from ld at link-time. This is a weak alias in libc and a strong alias in libpthread, so everything should work fine. This could probably be fixed in a better way, but for now, I think "it works" is a plus. Bump rev.
Welcome to Mesa-7.0.3. 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.
Added MAKE_JOBS_SAFE as suggested in PR 35043.
Add remaining glue for cross-compilation.
As discussed on tech-pkg@ revert for now the last updates of the Mesa packages. Downgraded graphics/MesaLib to 6.4.2nb3 Downgraded graphics/glu to 6.4.2 Downgraded graphics/glut to 6.4.2 Downgraded graphics/glx-utils to 6.4.2 Downgraded graphics/MesaDemos to 6.4.2 Downgraded graphics/Mesa to 6.4.2 Approved byg agc@.
Changes 7.0.1: New features: * Added a bluegene-osmesa build config Bug fixes: * Added a few missing OpenGL 2.0 API entrypoints * Fixed glDrawPixels(GL_STENCIL_INDEX) pixel transfer * GLSL bug fix: added vec2(vec4) constructor * GLSL bug fix: .strq and .rgba writemasks didn't always work * Stencil pixel map didn't always work for glDrawPixels * Fixed polygon stipple bug in i915 driver * Binding a zero-sized texture didn't disable texturing * Queries of GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH didn't include the terminating zero * glXChooseFBConfig() in Xlib driver didn't handle GLX_STEREO flag properly * Fixed a GLSL function call bug * glPointParameteriv(GL_DISTANCE_ATTENUATION_EXT) didn't work * glGetAttribLocation() always returned 1 * Fixed a few memory-related bugs in GLU library Changes 7.0.0: New features: * OpenGL 2.0 and 2.1 API support. Bug fixes: * Fixed a few fog-related bugs. * Fixed broken GLSL mix() function. * Fixed broken GLSL exp() functions. * Fixed GLSL mod4(vec4, vec4) bug. * Implemented GLSL asin(), acos(), atan() functions. * Fixed an R300 driver bug that caused Xorg composite manager to crash * Fixed R300 vertex program/matrix bug * GLSL dFdx() and dFdy() work for fragment program inputs now (texcoords) * Specifying an invalid texture unit as a sampler could lead to a crash * The GLX protocol request for glXDestroyPBuffer() was incorrect * ARB vp state.light[n].half value was incorrect * Fixed a positional light source bug * Fixed point size attenuation problem * glPopAttrib didn't restore texture object's LOD bias * Fixed a TLS / TEXTREL problem
Fix the Interix fix. gcc 3.3 supplies its own <stddef.h>, which shadows the one in the OS (which happens to be where [u]intptr_t is defined). Interix 5.2 should fix this, but to support Interix 3.5, a special case is needed here. Since this changes glheader.h for all platforms, bump PKGREVISION (but only for the MesaLib package).
Flag a number of packages I use as supporting (user-)destdir. apg is a bit special as it has some hardcoded ownership, so mark that as "destdir".
Split Mesa/Makefile.common into Makefile.common and Makefile.lib. The latter is used by packages that build libraries from the Mesa sources, while the former is only if the package builds from the Mesa sources. Modify the various Mesa packages to include the proper Makefile, and add some documentation to the Makefiles. As a side effect, this suppresses the "duplicate target" warning in graphics/glx-utils that was caused by having the same distfile listed in DISTFILES more than once.
"BUILD_ENV" was misnamed. It's actually the environment that is passed to all internal recursive make processes. As such, rename it to "PKGSRC_MAKE_ENV". XXX Note, some of the usage of this variable in package Makefiles seems XXX incorrect. They probably want "MAKE_ENV", which is the environment XXX passed to the make process when running "make" within ${WRKSRC}.
On Solaris with "gcc -m64" make sure int64_t defined correctly. Bump PKGREVISION
Compensate for lossage I've caused by not explicitely linking against libpthread: link against a stub lib on systems which need it (NetBSD<=2). Thanks to mlh@goathill.org for testing and reports.
don't link libGL explicitely against libpthread, it is not used by the library itself, the version which comes with X11 doesn't do it, and it fixes some cases where GL is loaded dynamically bump PKGREVISION
6.4.2 February 2, 2006 New: - added OSMesaColorClamp() function/feature - added wglGetExtensionStringARB() function Bug fixes: - fixed some problems when building on Windows - GLw header files weren't installed by installmesa script (bug 5396) - GL/glfbdev.h file was missing from tarballs - fixed TNL initialization bug which could lead to crash (bug 5791)
Recursive revision bump / recommended bump for gettext ABI change.
Changes 6.4: 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
Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
Create template config file for Interix 3.x. As part of this, do something special for xmesaP.h: Because XShm.h does exist on the Interix platform, and Mesa binaries were already buildable, preserve the ABI by including XShm.h there and keeping the XShmSegmentInfo field (with -DUSE_XSHM_HDRONLY) -- thus avoiding both flag day and revbump sweep. However, all XShm-using code remains turned off (no -DUSE_XSHM) so that libGL will work. Bump PKGREVISION of MesaLib only.
Enable the pthread-based thread-safety code in pkgsrc MesaLib. Bump the PKGREVISION to 2. This fixes PR pkg/30537.
Link against required libraries explicitly, so that dependency_libs in .la files is set correctly. Bump PKGREVISION.
Move PKG_INSTALLATION_TYPES to Makefile.common so that it is defined before including bsd.prefs.mk.
Define USE_BUILDLINK3 before including compiler.mk. Otherwise, buildink3.mk of gcc* packages is not included.
Mesa has optimisations for SunPro so use them when SPARC_TARGET_ARCH is set appropriately (sparcv7, sparcv8, sparcv9).
Changes 6.2: New: - enabled GL_ARB_texture_rectangle (same as GL_NV_texture_rectangle) - updated Doxygen support (Jose Fonseca) Changes: - some GGI driver updates (Christoph Egger, bug 1025977) Bug fixes: - Omit GL_ARB_texture_non_power_of_two from list of OpenGL 1.5 features - fixed a few compilation issues on IRIX - fixed a matrix classification bug (reported by Wes Bethel) - we weren't reseting the vertex/fragment program error state before parsing (Dave Reveman) - adjust texcoords for sampling texture rectangles (Dave Reveman) - glGet*(GL_MAX_VERTEX_ATTRIBS_ARB) wasn't implemented - repeated calls to glDeleteTexture(t) could lead to a crash - fixed potential ref count bugs in VBOs and vertex/fragment programs - spriteblast demo didn't handle window size changes correctly - glTexSubImage didn't handle pixels=NULL correctly for PBOs - fixed color index mode glDrawPixels bug (Karl Schultz) Changes 6.1: New: - Revamped Makefile system - glXUseRotatedXFont() utility (see xdemos/xuserotfont.c) - internal driver interface changes related to texture object allocation, vertex/fragment programs, BlendEquationSeparate, etc. - option to walk triangle edges with double-precision floats (Justin Novosad of Discreet) (see config.h file) - support for AUX buffers in software GLX driver - updated glext.h to version 24 and glxext.h to version 6 - new MESA_GLX_FORCE_ALPHA and MESA_GLX_DEPTH_BITS env vars - updated BeOS support (Philippe Houdoin) Changes: - fragment fog interpolation is perspective corrected now - new glTexImage code, much cleaner, may be a bit faster Bug fixes: - glArrayElement in display lists didn't handle generic vertex attribs - glFogCoord didn't always work properly - ARB_fragment_program fog options didn't work - frag prog TEX instruction no longer incorrectly divides s,t,r by q - ARB frag prog TEX and TEXP instructions now use LOD=0 - glTexEnviv in display lists didn't work - glRasterPos didn't do texgen or apply texture matrix - GL_DOUBLE-valued vertex arrays were broken in some cases - fixed texture rectangle edge/border sampling bugs - sampling an incomplete texture in a fragment program would segfault - glTexImage was missing a few error checks - fixed some minor glGetTexParameter glitches - GL_INTENSITY was mistakenly accepted as a to glTexImage - fragment program writes to RC/HC register were broken - fixed a few glitches in GL_HP_occlusion_test extension - glBeginQueryARB and glEndQueryARB didn't work inside display lists - vertex program state references were broken - fixed triangle color interpolation bug on AIX (Shane Blackett) - fixed a number of minor memory leaks (bug #1002030)
INSTALL_DATA -> INSTALL_LIB.
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
Use the new BUILDLINK_TRANSFORM commands to more precisely state the intended transformation: use "rm" to remove an option, "rmdir" to remove all options containing a path starting with a given directory name, and "rename" to rename options to something else.
Work around what seems to be an optimization bug in gcc3 by transforming -O[23] out of existence.
Mesa-6.0 packages now use LIBTOOL and finally build
Move WRKSRC definition away from the first paragraph in a Makefile.
Update Mesa and friends to version 6.0: 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)
bl3ify
Finally update Mesa and friends after the distfile changed on the website 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.
Patch Mesa's Makefile to use '-fno-strict-aliasing' rather than '-fstrict-aliasing', as the code contains unsafe use of aliased pointers. As suggested by tls@ in PR pkg/23381, closing said PR.
Update Mesa and friends to latest version 5.0.2: - 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.
Specify the category when including other files and when depending on other packages. From PR pkg/21864 by ccatrian at eml.cc.
Finally remove support of Mesa 3.4.1 completely as discussed at length on tech-pkg@ at various times. This means that regardless of what kind of GL support comes with X11, if a package depends on GL, Mesa 5.0.1 (or higher) will be installed into ${LOCALBASE}. Some troubleshooting after the latest patches by Krister Walfridsson.
s/netbsd.org/NetBSD.org/
do not use the included sparc asm on sparc64, as it doesn't build.
update to 5.0.1 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
Move the installed mesa.conf file to the examples tree, and do not install it into PKG_SYSCONFDIR (it's useless for now). Bump PKGREVISION to 2. Ok'ed by rh.
"PKGREVISION++, since more files are installed..." - Wiz
Also install glxext.h, as suggested by Joachim Koenig-Baltes in PR pkg/20878.
Update Mesa and friends to version 5.0, using patches provided in PR pkg/19302. 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.
Replace IGNORE with PKG_FAIL_REASON or PKG_SKIP_REASON as appropriate.
Alter Mesa/GL packages so that they may always be installed if X11PREFIX != X11BASE (xpkgwedge is installed). Introduce a new variable MESA_REQD that defaults to "3.4.2" and represents the version of Mesa/GL needed by a package. MESA_REQD is intended to be used by package Makefiles or by buildlink2.mk files. It should now be possible to update this package to the latest release (5.0), and have it work on: * XF86-3.x with or without xpkgwedge * XF86-4.x with xpkgwedge
MesaLib is part of XFree 4 on solaris too.
Fix problem with XFree86 checks under Solaris.
Merge changes in packages from the buildlink2 branch that have 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.
Rename USE_BUILDLINK2_ONLY to USE_BUILDLINK2 for less verbosity. Also convert a few more packages to use the buildlink2 framework.
First pass at conversion of various packages to use the buildlink2 framework. Add many buildlink2.mk files to add to the framework. Please see buildlink2.txt for more details.
Remove "ftp.mesa3d.org" from master list because it is an alias name for "download.sourceforge.net" these days.
update Mesa to 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
Trivia - What's wrong in this picture: smaug% grep 'MesaLib.*3.4' */*/Makefile* graphics/Mesa/Makefile:DEPENDS+= MesaLib-3.4:../../graphics/MesaLib graphics/MesaLib/Makefile:DISTNAME= MesaLib-3.4.1 Invent a variable MESA_VERSION in Mesa/Makefile.common and use it.
update to 3.4.1 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
Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
update HOMEPAGE need to install GL/glext.h explicitely
update to Mesa 3.4 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
Use "${MASTER_SITE_SOURCEFORGE}".
Initial import of MesaLib-3.2.1, the library part of the new split-up Mesa system. This is the part of Mesa that's present on XFree86-4.x and therefore only required for XFree86-3.x
Initial revision