head 1.1; branch 1.1.1; access; symbols netbsd-11-0-RC6:1.1.1.3 netbsd-11-0-RC5:1.1.1.3 netbsd-11-0-RC4:1.1.1.3 netbsd-11-0-RC3:1.1.1.3 netbsd-11-0-RC2:1.1.1.3 netbsd-11-0-RC1:1.1.1.3 netbsd-11:1.1.1.3.0.4 netbsd-11-base:1.1.1.3 netbsd-10-1-RELEASE:1.1.1.3 netbsd-9-4-RELEASE:1.1.1.1 netbsd-10-0-RELEASE:1.1.1.3 netbsd-10-0-RC6:1.1.1.3 netbsd-10-0-RC5:1.1.1.3 netbsd-10-0-RC4:1.1.1.3 netbsd-10-0-RC3:1.1.1.3 netbsd-10-0-RC2:1.1.1.3 netbsd-10-0-RC1:1.1.1.3 netbsd-10:1.1.1.3.0.2 netbsd-10-base:1.1.1.3 netbsd-9-3-RELEASE:1.1.1.1 mesa-21-3-7:1.1.1.3 netbsd-9-2-RELEASE:1.1.1.1 netbsd-9-1-RELEASE:1.1.1.1 netbsd-9-0-RELEASE:1.1.1.1 netbsd-9-0-RC2:1.1.1.1 netbsd-9-0-RC1:1.1.1.1 mesalib-19-1-7:1.1.1.2 netbsd-9:1.1.1.1.0.2 netbsd-9-base:1.1.1.1 mesa-18-3-6:1.1.1.1 mesa-18-3-4:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.1 date 2019.03.10.03.42.32; author mrg; state Exp; branches 1.1.1.1; next ; commitid r12jo1Nf3ebQKLeB; 1.1.1.1 date 2019.03.10.03.42.32; author mrg; state Exp; branches; next 1.1.1.2; commitid r12jo1Nf3ebQKLeB; 1.1.1.2 date 2019.09.24.16.30.01; author maya; state Exp; branches; next 1.1.1.3; commitid KJXusGl8fi9AAhEB; 1.1.1.3 date 2022.05.09.01.23.24; author mrg; state Exp; branches; next ; commitid UEBs6hNk81DdQjDD; desc @@ 1.1 log @Initial revision @ text @# Copyright © 2017 Intel Corporation # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. inc_common = include_directories( '../include', '.', 'mapi', 'mesa', 'gallium/include', 'gallium/auxiliary') inc_mesa = include_directories('mesa') inc_mapi = include_directories('mapi') inc_src = include_directories('.') inc_gallium = include_directories('gallium/include') inc_gallium_aux = include_directories('gallium/auxiliary') inc_amd_common = include_directories('amd/common') libglsl_util = static_library( 'glsl_util', files( 'mesa/main/extensions_table.c', 'mesa/main/imports.c', 'mesa/program/prog_parameter.c', 'mesa/program/symbol_table.c', 'mesa/program/dummy_errors.c', ), include_directories : [inc_common], c_args : [c_vis_args], build_by_default : false, ) sha1_h = custom_target( 'git_sha1.h', output : 'git_sha1.h', command : [prog_python, git_sha1_gen_py, '--output', '@@OUTPUT@@'], build_always : true, # commit sha1 can change without having touched these files ) subdir('gtest') subdir('util') subdir('mapi') # TODO: opengl subdir('compiler') if with_platform_wayland subdir('egl/wayland/wayland-drm') endif if with_any_vk subdir('vulkan') endif if with_gallium_radeonsi or with_amd_vk subdir('amd') endif if with_gallium_vc4 or with_gallium_v3d subdir('broadcom') endif if with_dri_i965 or with_intel_vk subdir('intel') endif subdir('mesa') subdir('loader') if with_platform_haiku subdir('hgl') endif if with_glx == 'dri' subdir('glx') endif if with_gbm subdir('gbm') else inc_gbm = [] endif if with_egl subdir('egl') endif if with_gallium subdir('gallium') # This has to be here since it requires libgallium, and subdir cannot # contain .. if with_tests and with_shared_glapi subdir('mesa/state_tracker/tests') endif endif # This must be after at least mesa, glx, and gallium, since libgl will be # defined in one of those subdirs depending on the glx provider. if with_glx != 'disabled' # If using glvnd the pkg-config header should not point to GL_mesa, it should # point to GL. glvnd is only available on unix like platforms so adding -l # should be safe here # TODO: in the glvnd case glvnd itself should really be providing this. if with_glvnd _gl = '-L${libdir} -lGL' else _gl = libgl endif pkg.generate( name : 'gl', description : 'Mesa OpenGL Library', version : meson.project_version(), libraries : _gl, libraries_private : gl_priv_libs, requires_private : gl_priv_reqs, variables : ['glx_tls=yes'], ) endif @ 1.1.1.1 log @from maya: Import mesa 18.3.4. Mesa 18.3.4 implements the OpenGL 4.5 API. Some drivers don't support all the features required in OpenGL 4.5. @ text @@ 1.1.1.2 log @Import mesa 19.1.7 New features in mesa 19.1.0: 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. New features in mesa 19.0.0: 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 Also, bug fixes. @ text @d21 2 a22 2 inc_common = [inc_include, include_directories( '.', 'mapi', 'mesa', 'gallium/include', 'gallium/auxiliary')] a53 1 subdir('imgui') d66 1 a66 4 if with_gallium_freedreno or with_freedreno_vk subdir('freedreno') endif if with_dri_i965 or with_intel_vk or with_gallium_iris @ 1.1.1.3 log @initial import of mesa 21.3.7 main changes since 19.1.7 include: - more support for Vulkan functions - better supported for newer radeonsi (both amdgpu and radeon backends) - various bug fixes in many drivers - many fixes and enhancements for intel drivers - some fixes for nvidia - OpenGL 4.6 for some drivers (intel, radeonsi) - intel Tigerlake and Rocketlake support - Vulkan 1.2 for some drivers - OpenGL 4.5, GLES 3.2, and more on llvmpipe - working Panfrost and Midgard drivers - fix warnings in radeonsi vs newer llvm @ text @d21 2 a28 9 inc_tool = include_directories('tool') pps_datasources = [] pps_includes = [] if with_llvm inc_amd_common_llvm = include_directories('amd/llvm') else inc_amd_common_llvm = [] endif d33 2 a34 3 'mesa/main/extensions_table.c', 'mesa/program/prog_parameter.c', 'mesa/program/symbol_table.c', d37 2 a38 3 include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux], dependencies : dep_valgrind, gnu_symbol_visibility : 'hidden', d46 1 a46 2 build_by_default : true, build_always_stale : true, # commit sha1 can change without having touched these files a49 6 if cc.get_id() == 'msvc' subdir('getopt') else idep_getopt = null_dep endif subdir('android_stub') d54 1 a54 6 if with_tools.contains('drm-shim') subdir('drm-shim') endif if with_imgui subdir('imgui') endif d58 1 a58 1 if with_any_vk or with_gallium_zink d64 1 a64 1 if with_any_broadcom a66 3 if with_gallium_etnaviv subdir('etnaviv') endif d70 1 a70 7 if with_gallium_panfrost or with_gallium_lima or with_panfrost_vk or with_tools.contains('panfrost') subdir('panfrost') endif if with_gallium_virgl or with_virtio_vk subdir('virtio') endif if with_any_intel a72 9 if with_microsoft_clc or with_gallium_d3d12 or with_spirv_to_dxil subdir('microsoft') endif if with_gallium_nouveau subdir('nouveau') endif if with_gallium_asahi or with_tools.contains('asahi') subdir('asahi') endif d86 3 a96 3 if with_egl subdir('egl') endif d100 11 a110 1 if with_glx != 'disabled' and not with_glvnd d115 1 a115 1 libraries : libgl, d118 1 a118 1 variables : ['glx_tls=@@0@@'.format(use_elf_tls ? 'yes' : 'no')], a120 2 subdir('tool') @