Commit graph

108 commits

Author SHA1 Message Date
triaxx
be9320ca04 MesaLib: add headers for major()/minor() on Linux
Bump revision
2018-12-29 13:38:53 +00:00
wiz
8cf3ee9e3d MesaLib: remove obsolete patch.
Bump PKGREVISION.

Ok riastradh.
2018-08-31 08:26:42 +00:00
jperkin
19e9f5aabc MesaLib: Fix "C++11 requires a space between literal and identifier". 2018-01-16 15:49:47 +00:00
markd
fbb80ae662 Backport patches to handle an API change in llvm4. Bump PKGREVISION. 2017-03-22 20:22:31 +00:00
wiz
90e31ad9d0 Comment patch. 2017-01-15 00:14:21 +00:00
wiz
395d7f1638 Avoid double-free. Bump PKGREVISION. 2017-01-15 00:13:44 +00:00
wiz
9fa2b5fb71 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
2016-05-18 12:55:28 +00:00
wiz
593f3f1424 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
2016-04-17 00:03:00 +00:00
jperkin
7f812e339d Provide compat strndup/strnlen for older Darwin. 2016-02-23 11:16:55 +00:00
wiz
ed9416363d 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
2016-02-13 11:45:17 +00:00
tnn
617626eaec remove our fix for mesa bug 91806; was resolved in 11.1.1 2016-02-12 11:49:53 +00:00
wiz
c0ef074d16 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.
2016-01-27 07:39:54 +00:00
tnn
53cf287a1d 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.
2016-01-05 13:02:57 +00:00
tnn
e74a916fce 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.
2015-09-27 21:58:03 +00:00
tnn
0629a35743 netbsd-5 build fix 2015-09-26 11:01:13 +00:00
tnn
7fc9f783fd 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
2015-09-26 08:45:02 +00:00
tnn
e8e4347f67 Add workaround for non-zero initialized initial-exec TLS variables. 2015-09-11 16:27:30 +00:00
tnn
0d8586e949 NetBSD 5.x build fix 2015-09-11 12:38:27 +00:00
tnn
c6defe103f 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.
2015-09-11 00:03:36 +00:00
tnn
e315510387 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."
2015-06-07 15:48:12 +00:00
tnn
c11fd333d4 Fix OSX build errors. patches from FDO bug 66346 and 90249.
Reported on IRC by Youri Mouton.
2015-05-16 16:39:52 +00:00
nros
ebfd60d0d7 Moved define of _KERNEL_STRUCTURES to patch instead of setting
it in the Makefile.
2015-05-15 14:27:42 +00:00
tnn
a211b00aa4 Assume that __GNUC__ implies that it has __builtin_ffsll as a last
ditch resort in case ffsll(3) is found to be not available.
2015-05-11 21:33:58 +00:00
sevan
bc393dbb77 Unbreak on FreeBSD by also ensuring that ERSTART is defined and set to the
expected value for it.

Reviewed by bsiegert@
2015-04-29 14:12:54 +00:00
tnn
d1e3fb144a 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.
2015-04-25 11:19:18 +00:00
tnn
9ff61264c9 Assume that whatever problems this patch set fixed are fixed upstream in
Mesa 10.5.3. There are no patch comments or CVS history for these and
the original author couldn't provide details.
2015-04-25 11:13:23 +00:00
nat
aaeea725bf Fix segfaults and crashing with applications that use libGLU.
This commit was approved by wiz@
2015-01-29 22:35:43 +00:00
wiz
fc7241ed17 Use __attribute__((__destructor__)) instead of magic __dso_handle, and
fix another place.
Patches from Taylor R Campbell (NetBSD xsrc).
Bump PKGREVISION.
2014-08-06 10:25:14 +00:00
ryoon
801643bb87 Fix build under OpenBSD/amd64 5.5 2014-05-03 19:03:59 +00:00
obache
c800fa3b72 inlucde machine/endian.h on NetBSD and OpenBSD to detect endian for neigher
x86 nor ppc.

PR pkg/48548
2014-02-04 10:51:30 +00:00
ryoon
5127070361 Bump PKGREVISION
* Fix exit time segfault of qt5 applications
2014-01-24 23:00:15 +00:00
pho
172c709fdd Fix build of MesaLib on PowerPC platforms without GCC >= 4.1 (like MacOS X 10.5). 2014-01-10 07:21:16 +00:00
is
7cba2b09c2 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/
2013-12-12 14:44:10 +00:00
bsiegert
c1229d4a7c Fix build of MesaLib on MirBSD. The mklib script needed some prodding, and
configure mis-detects -fvisibility=hidden for some reason.
2013-11-29 15:27:19 +00:00
asau
9d91ed160b Treat FreeBSD and NetBSD uniformly. This fixes building the package on FreeBSD. 2013-09-23 02:07:00 +00:00
obache
a1c4924bf1 Change MESA_BIG_ENDIAN condition check for PR pkg/47919. 2013-06-16 04:16:59 +00:00
wiz
485d44ac56 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.
2013-06-13 14:16:21 +00:00
mef
a38c7cd4c9 PR pkg/47913, fix build problem on powerpc
(example was NetBSD/macppc 6.1) as:
#error Unknown Endianness
2013-06-10 12:29:54 +00:00
sbd
08f0396618 Fixes for non-dri build:
+ Build the x11 version libGL.so with version numbering major 1 and minor 2,
  the same a the glx version of libGL (simplifies PLIST handling).
+ PLIST changes.
2013-05-20 06:59:18 +00:00
obache
1af5035ea2 Add band-aid patch for missing exp2f(3) on NetBSD<6, inspired by wiz@. 2013-05-19 02:03:57 +00:00
obache
32a20fbfc9 Fixes build on big endian FreeBSD and DragonFly.
related to PR pkg/47821.
2013-05-18 05:57:10 +00:00
obache
adf287ea1a make sure MESA_{BIG,LITTLE}_ENDIAN are defined correctly on *BSD.
related to PR pkg/47821
2013-05-18 05:55:41 +00:00
richard
26d1462852 upgrade to MesaLib-7.11.2 2013-05-16 05:22:02 +00:00
dsainty
d6b84a39f7 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.
2012-09-12 14:12:28 +00:00
hans
94c0d65e3e Explicitly tell CPP that it should parse stdin as C-header when building glu.exports. 2012-02-16 18:56:23 +00:00
tnn
beca9188a3 another sparc64-only build fix; define memory barrier macro in sis_context.h 2010-03-27 12:55:00 +00:00
tnn
f5c141deec fix a wrong #include in patch-aa which caused sparc64 build to fail. 2010-03-27 12:26:19 +00:00
wiz
36c66c8e31 Look for libGL.so, not any particular libGL.so.<X>, on NetBSD.
Bump PKGREVISION.

From mrg@
2009-09-02 22:30:34 +00:00
wiz
71ffec3056 Fix symbol handling in glu. Patch from upstream via Jörn Clausen
in PR 41613.

Bump glu PKGREVISION.
2009-08-08 08:25:50 +00:00
hasso
1e744f5d32 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
2009-07-08 20:00:57 +00:00