The NetBSD Project

CVS log for pkgsrc/graphics/MesaLib/

[BACK] Up to [] / pkgsrc / graphics / MesaLib

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.83 / (download) - annotate - [select for diffs], Sun Mar 13 15:50:05 2022 UTC (6 months, 2 weeks ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, HEAD
Changes since 1.82: +15 -7 lines
Diff to previous 1.82 (colored)

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
  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_shader_atomic_int64 on radeonsi
  EGL_KHR_swap_buffers_with_damage on X11 (DRI3)
  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
  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.

Revision 1.82 / (download) - annotate - [select for diffs], Thu Jul 22 10:34:01 2021 UTC (14 months, 1 week ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.81: +2 -3 lines
Diff to previous 1.81 (colored)

MesaLib: remove unused PLIST.wayland variable

Revision 1.81 / (download) - annotate - [select for diffs], Thu Apr 9 16:54:22 2020 UTC (2 years, 5 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.80: +2 -1 lines
Diff to previous 1.80 (colored)

MesaLib: ELF TLS is broken on FreeBSD too

Revision 1.80 / (download) - annotate - [select for diffs], Thu Apr 9 16:48:08 2020 UTC (2 years, 5 months ago) by nia
Branch: MAIN
Changes since 1.79: +20 -2 lines
Diff to previous 1.79 (colored)

MesaLib: Make ELF TLS optional.

Revision 1.79 / (download) - annotate - [select for diffs], Sat Jan 4 01:53:55 2020 UTC (2 years, 8 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.78: +5 -7 lines
Diff to previous 1.78 (colored)

MesaLib: probably makes more sense to check wayland here

Revision 1.78 / (download) - annotate - [select for diffs], Sat Jan 4 01:50:32 2020 UTC (2 years, 8 months ago) by nia
Branch: MAIN
Changes since 1.77: +7 -1 lines
Diff to previous 1.77 (colored)

MesaLib: enable wayland where supported

Revision 1.77 / (download) - annotate - [select for diffs], Sun Dec 8 13:07:20 2019 UTC (2 years, 9 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.76: +11 -11 lines
Diff to previous 1.76 (colored)

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.

Revision 1.76 / (download) - annotate - [select for diffs], Mon Oct 21 20:47:55 2019 UTC (2 years, 11 months ago) by nia
Branch: MAIN
Changes since 1.75: +7 -6 lines
Diff to previous 1.75 (colored)

MesaLib: Add a and use it to detect the presence of DRI

No functional change (probably)

Revision 1.75 / (download) - annotate - [select for diffs], Mon Oct 21 12:30:36 2019 UTC (2 years, 11 months ago) by nia
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

MesaLib: Turn off some more "Mesa thinks SunOS is not DRI" hacks

Revision 1.74 / (download) - annotate - [select for diffs], Fri Oct 18 09:57:07 2019 UTC (2 years, 11 months ago) by nia
Branch: MAIN
Changes since 1.73: +15 -3 lines
Diff to previous 1.73 (colored)

MesaLib: Update to 19.2.1

Bug fixes in 19.2.1: 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

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/ 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

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.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Sep 1 09:36:16 2019 UTC (3 years, 1 month ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.72: +7 -3 lines
Diff to previous 1.72 (colored)

MesaLib: go back to disabling llvm on SunOS and non-dri platforms

Revision 1.72 / (download) - annotate - [select for diffs], Sat Aug 31 10:09:15 2019 UTC (3 years, 1 month ago) by nia
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

MesaLib: disable vdpau on SunOS for now

Revision 1.71 / (download) - annotate - [select for diffs], Fri Aug 30 13:00:56 2019 UTC (3 years, 1 month ago) by nia
Branch: MAIN
Changes since 1.70: +71 -238 lines
Diff to previous 1.70 (colored)

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.

- glvnd support (needs testing to figure out which platforms it builds on)
- make AMD drivers optional on platforms like aarch64


Revision 1.70 / (download) - annotate - [select for diffs], Sat Aug 24 20:01:01 2019 UTC (3 years, 1 month ago) by nia
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored)

MesaLib: disable egl/gbm on SunOS for now. failure reported by wilbury

Revision 1.69 / (download) - annotate - [select for diffs], Fri Aug 23 19:05:15 2019 UTC (3 years, 1 month ago) by nia
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

MesaLib: bump llvm requirement to one with RTTI

Revision 1.68 / (download) - annotate - [select for diffs], Fri Aug 23 11:37:48 2019 UTC (3 years, 1 month ago) by nia
Branch: MAIN
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 (colored)

MesaLib: resolving some build failures when built without LLVM

Revision 1.67 / (download) - annotate - [select for diffs], Fri Aug 23 11:07:37 2019 UTC (3 years, 1 month ago) by nia
Branch: MAIN
Changes since 1.66: +2 -5 lines
Diff to previous 1.66 (colored)

MesaLib: Disable llvm when not dri.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Aug 22 17:24:01 2019 UTC (3 years, 1 month ago) by nia
Branch: MAIN
Changes since 1.65: +59 -96 lines
Diff to previous 1.65 (colored)

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.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Aug 21 13:35:28 2019 UTC (3 years, 1 month ago) by nia
Branch: MAIN
Changes since 1.64: +175 -86 lines
Diff to previous 1.64 (colored)

Move graphics/MesaLib18 to graphics/MesaLib.

Move graphics/MesaLib to graphics/MesaLib11.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Jan 26 20:33:39 2019 UTC (3 years, 8 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.63: +2 -3 lines
Diff to previous 1.63 (colored)

point old mesa to libLLVM4 for now

Revision 1.63 / (download) - annotate - [select for diffs], Mon Dec 24 13:56:44 2018 UTC (3 years, 9 months ago) by sevan
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.62: +8 -1 lines
Diff to previous 1.62 (colored)

Only include libvdpau_nouveau if nouveau is actually supported otherwise build
succeeds but fails on checking file-check results.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Jun 20 12:28:42 2018 UTC (4 years, 3 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

mesalib: correct logic for disabling llvm on netbsd+native xorg

Follow the rest of the cases and use "not-CASE and not-CASE".
Sorry, I got confused.

Fix by wiz.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Jun 20 01:37:15 2018 UTC (4 years, 3 months ago) by maya
Branch: MAIN
Changes since 1.60: +4 -3 lines
Diff to previous 1.60 (colored)

mesalib: disable dri *and* llvm in the netbsd native xorg case.

It isn't feasible to build this version of MesaLib with this option and
netbsd's base libraries.

PR pkg/52686.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jun 1 14:54:43 2018 UTC (4 years, 4 months ago) by maya
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

mesalib: revert previous stopgap fix
I'm not sure what I tested, but it didn't work (since the llvm option
needs to be disabled as well).

Revision 1.59 / (download) - annotate - [select for diffs], Thu May 17 16:11:23 2018 UTC (4 years, 4 months ago) by maya
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored)

MesaLib: stopgap fix to allow netbsd wih base xorg to build this package.
disable dri option unless modular xorg is used.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Mar 24 22:11:14 2018 UTC (4 years, 6 months ago) by sevan
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.57: +4 -3 lines
Diff to previous 1.57 (colored)

Add NetBSD on mipsel family of system to skip building DRI drivers for PCI
graphics cards.
This allows MesaLib to complete the configure stage on NetBSD/cobalt where PCI
can be found but we don't ship with Nouveau support.
Drop reference to ARM in the comment as references to Darwin & mipsel invalidate

Revision 1.57 / (download) - annotate - [select for diffs], Sat Jul 1 12:48:10 2017 UTC (5 years, 3 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.56: +1 -1 lines
Diff to previous 1.56 (colored)

Revert previous. joerg thinks this will break too hard due to having two
libstdc++s in use.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jul 1 06:40:45 2017 UTC (5 years, 3 months ago) by maya
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

Require GCC 4.8 if using the dri option

Revision 1.55 / (download) - annotate - [select for diffs], Wed Mar 22 20:22:31 2017 UTC (5 years, 6 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored)

Backport patches to handle an API change in llvm4. Bump PKGREVISION.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Mar 20 23:59:01 2017 UTC (5 years, 6 months ago) by gdt
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

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.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Mar 9 09:51:04 2017 UTC (5 years, 6 months ago) by jperkin
Branch: MAIN
Changes since 1.52: +3 -2 lines
Diff to previous 1.52 (colored)

Disable llvm option on SunOS, it doesn't build.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Mar 2 06:00:03 2017 UTC (5 years, 7 months ago) by maya
Branch: MAIN
Changes since 1.51: +2 -13 lines
Diff to previous 1.51 (colored)

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.


Revision 1.51 / (download) - annotate - [select for diffs], Thu Mar 2 05:37:22 2017 UTC (5 years, 7 months ago) by maya
Branch: MAIN
Changes since 1.50: +13 -14 lines
Diff to previous 1.50 (colored)

MesaLib: the actual condition for vdpau should be llvm&dri, not just dri.

should fix plist mismatch for CentOS 6.8, for some reason we are not using
llvm option there, even though linux users are most likely to benefit from

Revision 1.50 / (download) - annotate - [select for diffs], Thu Mar 2 04:40:33 2017 UTC (5 years, 7 months ago) by maya
Branch: MAIN
Changes since 1.49: +15 -2 lines
Diff to previous 1.49 (colored)

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.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Feb 25 13:37:46 2016 UTC (6 years, 7 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.48: +2 -4 lines
Diff to previous 1.48 (colored)


Revision 1.48 / (download) - annotate - [select for diffs], Tue Feb 23 14:40:36 2016 UTC (6 years, 7 months ago) by tnn
Branch: MAIN
Changes since 1.47: +18 -7 lines
Diff to previous 1.47 (colored)

build & install broadcom and qualcomm DRI drivers on ARM

Revision 1.47 / (download) - annotate - [select for diffs], Mon Jan 18 19:27:45 2016 UTC (6 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

Disable DRI3 on Darwin, it currently causes build failure and is mutually
exclusive with Apple DRI.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jan 18 18:01:30 2016 UTC (6 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.45: +1 -2 lines
Diff to previous 1.45 (colored)

Remove --enable-dri2, it is no longer a valid argument.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jan 5 13:02:57 2016 UTC (6 years, 8 months ago) by tnn
Branch: MAIN
Changes since 1.44: +6 -2 lines
Diff to previous 1.44 (colored)

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.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Sep 27 21:58:03 2015 UTC (7 years ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.43: +26 -9 lines
Diff to previous 1.43 (colored)

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.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Sep 26 10:45:56 2015 UTC (7 years ago) by tnn
Branch: MAIN
Changes since 1.42: +2 -1 lines
Diff to previous 1.42 (colored)

fix link error on solaris

Revision 1.42 / (download) - annotate - [select for diffs], Sat Sep 26 08:45:02 2015 UTC (7 years ago) by tnn
Branch: MAIN
Changes since 1.41: +22 -10 lines
Diff to previous 1.41 (colored)

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,
- 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

Revision 1.41 / (download) - annotate - [select for diffs], Fri Sep 18 16:18:47 2015 UTC (7 years ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.40: +9 -4 lines
Diff to previous 1.40 (colored)

be more conservative about where we suggest llvmpipe on Linux.
It requires newish GCC.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Sep 16 17:03:28 2015 UTC (7 years ago) by tnn
Branch: MAIN
Changes since 1.39: +2 -4 lines
Diff to previous 1.39 (colored)

Turn off llvm option by default for FreeBSD & DragonFlyBSD.
There are conflicting reports regarding if it builds. It has been reported
to work in PR pkg/50172, but then again appears to have failed in
Sevan's bulk build.
(Need to find out exactly which FreeBSD versions this applies to.)

Revision 1.39 / (download) - annotate - [select for diffs], Tue Sep 15 00:24:26 2015 UTC (7 years ago) by tnn
Branch: MAIN
Changes since 1.38: +1 -3 lines
Diff to previous 1.38 (colored)

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.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Sep 13 12:32:14 2015 UTC (7 years ago) by bouyer
Branch: MAIN
Changes since 1.37: +9 -5 lines
Diff to previous 1.37 (colored)

Allow building Mesalib with option llvm on arm.
This requires disabling nouveau and radeon drivers.

The performance boost is appreciable, glxgears is twice as fast on
a cubieboard 2:

76 frames in 5.1 seconds = 15.022 FPS
75 frames in 5.0 seconds = 14.889 FPS
75 frames in 5.0 seconds = 14.979 FPS
69 frames in 5.1 seconds = 13.653 FPS
80 frames in 5.1 seconds = 15.831 FPS
78 frames in 5.0 seconds = 15.529 FPS
121 frames in 5.0 seconds = 24.076 FPS
184 frames in 5.0 seconds = 36.595 FPS
182 frames in 5.0 seconds = 36.072 FPS
175 frames in 5.0 seconds = 34.718 FPS
171 frames in 5.0 seconds = 34.053 FPS
169 frames in 5.0 seconds = 33.734 FPS

on the beaglebone the boost is nearly 2x too:
beagle:~> /usr/X11R7/bin/glxgears
47 frames in 5.0 seconds =  9.343 FPS
47 frames in 5.1 seconds =  9.246 FPS
47 frames in 5.1 seconds =  9.210 FPS
47 frames in 5.1 seconds =  9.253 FPS
47 frames in 5.1 seconds =  9.252 FPS
47 frames in 5.1 seconds =  9.236 FPS
beagle:~> /usr/pkg/bin/glxgears
2 frames in 7.3 seconds =  0.275 FPS
84 frames in 5.1 seconds = 16.613 FPS
84 frames in 5.0 seconds = 16.641 FPS
83 frames in 5.0 seconds = 16.482 FPS
83 frames in 5.0 seconds = 16.480 FPS
83 frames in 5.0 seconds = 16.436 FPS

Revision 1.37 / (download) - annotate - [select for diffs], Sun Sep 13 01:20:05 2015 UTC (7 years ago) by tnn
Branch: MAIN
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

interim fix for PR pkg/50173 (devel/libelf include directory)
XXX shouldn't devel/libelf in fact have a

Revision 1.36 / (download) - annotate - [select for diffs], Sat Sep 12 16:50:24 2015 UTC (7 years ago) by tnn
Branch: MAIN
Changes since 1.35: +22 -14 lines
Diff to previous 1.35 (colored)

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.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Sep 11 16:27:30 2015 UTC (7 years ago) by tnn
Branch: MAIN
Changes since 1.34: +7 -3 lines
Diff to previous 1.34 (colored)

Add workaround for non-zero initialized initial-exec TLS variables.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Sep 11 15:30:35 2015 UTC (7 years ago) by tnn
Branch: MAIN
Changes since 1.33: +12 -3 lines
Diff to previous 1.33 (colored)

Must disable EGL when disabling DRI (PR pkg/50232)

Revision 1.33 / (download) - annotate - [select for diffs], Fri Sep 11 00:03:36 2015 UTC (7 years ago) by tnn
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

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.

Revision 1.32 / (download) - annotate - [select for diffs], Thu May 28 21:09:07 2015 UTC (7 years, 4 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.31: +1 -4 lines
Diff to previous 1.31 (colored)

PR pkg/49923: pull in libxshmfence via bl3 for Linux.
Needed for linking packages that use gl.pc because it lists libxshmfence
as dependency.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Apr 29 14:36:36 2015 UTC (7 years, 5 months ago) by tnn
Branch: MAIN
Changes since 1.30: +14 -1 lines
Diff to previous 1.30 (colored)

Fix DRI3 build on Linux

Revision 1.30 / (download) - annotate - [select for diffs], Tue Apr 28 21:06:32 2015 UTC (7 years, 5 months ago) by tnn
Branch: MAIN
Changes since 1.29: +1 -5 lines
Diff to previous 1.29 (colored)

PR pkg/49867: circular dependency between MesaLib and libva on Linux.
I probably added libva as a dependency at some point in wip/ since
configure wanted it. Not sure what it's used for so just remove it.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Apr 26 08:00:40 2015 UTC (7 years, 5 months ago) by tnn
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

drop llvm as suggested option until build issues can be figured out

Revision 1.28 / (download) - annotate - [select for diffs], Sat Apr 25 11:19:18 2015 UTC (7 years, 5 months ago) by tnn
Branch: MAIN
Changes since 1.27: +110 -53 lines
Diff to previous 1.27 (colored)

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,
  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,
  A new software rasterizer driver ( 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 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_viewport_array on i965.
  GL_ARB_map_buffer_alignment on all drivers that did not previously support it.
  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_transform_feedback2, GL_ARB_transform_feedback3, and
    GL_ARB_transform_feedback_instanced on i965/Gen7 (with appropriate kernel
  GL_ARB_sample_shading on i965.
  GL_ARB_shader_atomic_counters on i965.
  GL_ARB_vertex_type_10f_11f_11f_rev on i965 and r600g

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_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:
  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_invalidate_subdata - Currently a "no-op" implementation. This
    extension is always enabled in all drivers.
  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
  EGL_KHR_surfaceless_context - This replaces the
    EGL_KHR_surfaceless_{gles1,gles2,opengl} extensions that were never
    approved by Khronos.

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.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Mar 9 19:54:44 2015 UTC (7 years, 6 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

Force a full dependency on libpciaccess in situations where we definitely
need to link with it but might have included x11/xf86driproto's first,
because we have:
x11/xf86driproto/  build

(This issue appears only on non-x86 because on x86 we get libpciaccess
 through libdrm)

Bump PKGREVISION to get the dependency expressed.

Revision / (download) - annotate - [select for diffs], Fri Mar 14 13:59:47 2014 UTC (8 years, 6 months ago) by tron
Branch: pkgsrc-2013Q4
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pullup ticket #4346 - requested by obache
graphics/MesaLib: build fix for depending packages

Revisions pulled up:
- graphics/MesaLib/                                       1.8
- graphics/MesaLib/                                   1.26

   Module Name:	pkgsrc
   Committed By:	obache
   Date:		Fri Mar 14 07:19:36 UTC 2014

   Modified Files:

   Log Message:
   Overall dri related dependency clean up.
   * move dri related API_DEPENDS into
   * add missing API_DEPENDS.
   * only define such API_DEPENDS only not using builtin MesaLib.

   Fixes following issues on platforms that builtin one is older than required
   version (ex. NetBSD-5).
   * build issue of MesaLib
   * unwanted dependency on MesaLib from pkgsrc even if builtin one is

Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 14 07:19:36 2014 UTC (8 years, 6 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Overall dri related dependency clean up.
* move dri related API_DEPENDS into
* add missing API_DEPENDS.
* only define such API_DEPENDS only not using builtin MesaLib.

Fixes following issues on platforms that builtin one is older than required
version (ex. NetBSD-5).
* build issue of MesaLib
* unwanted dependency on MesaLib from pkgsrc even if builtin one is sufficient.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Sep 23 01:51:55 2013 UTC (9 years ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Branch point for: pkgsrc-2013Q4
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Suggest DRI option for FreeBSD.
This lets the build fail further.

Revision 1.24 / (download) - annotate - [select for diffs], Tue May 28 11:27:09 2013 UTC (9 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.23: +4 -1 lines
Diff to previous 1.23 (colored)

Mark the package as broken on NetBSD when dri is not enabled.
The build will fail anyway.
Addresses PR 47862 by Jörn Clausen.

Revision 1.23 / (download) - annotate - [select for diffs], Mon May 27 06:45:30 2013 UTC (9 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.22: +5 -12 lines
Diff to previous 1.22 (colored)

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.


Revision 1.22 / (download) - annotate - [select for diffs], Mon May 20 07:04:35 2013 UTC (9 years, 4 months ago) by sbd
Branch: MAIN
Changes since 1.21: +4 -1 lines
Diff to previous 1.21 (colored)

Make dri a suggested option on Linux i386 and x86_64.

Revision 1.21 / (download) - annotate - [select for diffs], Mon May 20 01:43:05 2013 UTC (9 years, 4 months ago) by sbd
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

The configure arg --with-driver= takes 'xlib' OR 'osmesa' not 'xlib,osmesa'.

Revision 1.20 / (download) - annotate - [select for diffs], Thu May 16 05:22:02 2013 UTC (9 years, 4 months ago) by richard
Branch: MAIN
Changes since 1.19: +14 -13 lines
Diff to previous 1.19 (colored)

upgrade to MesaLib-7.11.2

Revision 1.19 / (download) - annotate - [select for diffs], Wed Oct 17 11:36:02 2012 UTC (9 years, 11 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Don't enable dri on Solaris 10 and lower.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Sep 28 11:33:47 2012 UTC (10 years ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Enable dri by default on Solaris.  The 'vmware' driver from modular-xorg is
still non-functional, but this at least gets us further along.

Revision 1.17 / (download) - annotate - [select for diffs], Wed May 9 07:53:04 2012 UTC (10 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

Move libpciaccess to dri option section.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Mar 13 13:24:36 2012 UTC (10 years, 6 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

Unlock the 'dri' option for SunOS, since x11/libdrm now builds there.


Revision 1.15 / (download) - annotate - [select for diffs], Tue Aug 25 05:27:57 2009 UTC (13 years, 1 month ago) by hasso
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.14: +5 -1 lines
Diff to previous 1.14 (colored)

- 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.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Aug 8 15:03:18 2009 UTC (13 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

As suggested by Tom Spindler, remove the libdrm version requirement
from where it is pulled in from The minimum version
is only necessary if a new MesaLib is built, we don't need to force
users of older ones to update libdrm.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Oct 26 21:03:40 2008 UTC (13 years, 11 months ago) by bjs
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

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 <>
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.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jul 29 13:56:15 2008 UTC (14 years, 2 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Since PKG_SUPPORTED_OPTIONS is conditionally added to, initialise it
to empty first. Should fix PR pkg/39246.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jul 28 02:12:57 2008 UTC (14 years, 2 months ago) by bjs
Branch: MAIN
Changes since 1.10: +5 -4 lines
Diff to previous 1.10 (colored)

Change 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.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 27 00:03:42 2008 UTC (14 years, 2 months ago) by bjs
Branch: MAIN
Changes since 1.9: +1 -41 lines
Diff to previous 1.9 (colored)

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.


 - 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.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 3 11:06:17 2008 UTC (14 years, 4 months ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper
Changes since 1.8: +5 -4 lines
Diff to previous 1.8 (colored)

Don't offer "dri" as an option on systems which use XFree86 because it
breaks the build. This fixes PR pkg/38676 by Roland Sieker.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 3 06:59:12 2008 UTC (14 years, 4 months ago) by dsainty
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

Add Linux to DRI platforms.  Add a patch to fix compilation under Linux.  Bump PKGREVISION.

Revision 1.7 / (download) - annotate - [select for diffs], Sat May 31 20:43:29 2008 UTC (14 years, 4 months ago) by tnn
Branch: MAIN
Changes since 1.6: +3 -4 lines
Diff to previous 1.6 (colored)

disable asm targets for Darwin too, breaks build for unknown reasons.
Reported by Mark E. Perkins on pkgsrc-users@

Revision 1.6 / (download) - annotate - [select for diffs], Fri May 30 14:25:30 2008 UTC (14 years, 4 months ago) by tnn
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

PR pkg/38795: Hasso Tepper: Add dri option to MesaLib for DragonFly

Revision 1.5 / (download) - annotate - [select for diffs], Wed May 28 02:31:56 2008 UTC (14 years, 4 months ago) by bjs
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Fix embarassing lack of '3' in a conditional.

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 1 15:37:13 2008 UTC (14 years, 5 months ago) by bjs
Branch: MAIN
Changes since 1.3: +5 -1 lines
Diff to previous 1.3 (colored)

Remove second -o argument in libOSMesa link command (which was obviously
my mistake).  Set MAKE_JOBS_SAFE=no when building libOSMesa because
it breaks the build.  Non-dri builds should work now.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 27 09:43:12 2008 UTC (14 years, 5 months ago) by tnn
Branch: MAIN
Changes since 1.2: +5 -3 lines
Diff to previous 1.2 (colored)

The "pkgsrc-i386" target doesn't seem to work on SunOS, so for now fall back
to the "pkgsrc" target which is intended to be portable.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 25 20:33:08 2008 UTC (14 years, 5 months ago) by bjs
Branch: MAIN
Changes since 1.1: +11 -1 lines
Diff to previous 1.1 (colored)

Build dri by default on i386/amd64 NetBSD >=4.0.  It is important we see
what kind of lossage occurs before the next release branch, and this is
the best way to do it.

NOTE: The X server should probably be upgraded to the 1.4 branch now,
as the current ( server uses Mesa 6.5.3 (a development release
whose time has long since passed).

Revision 1.1 / (download) - annotate - [select for diffs], Thu Apr 24 07:40:24 2008 UTC (14 years, 5 months ago) by bjs
Branch: MAIN

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  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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>