diff --git a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireColorBlit.frag b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireColorBlit.frag index ddefb453..10d68a08 100644 --- a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireColorBlit.frag +++ b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireColorBlit.frag @@ -1,3 +1,11 @@ +// MobileGL - MobileGL/MG_Backend/DirectVulkan/Renderer/WireColorBlit.frag +// Copyright (c) 2025-2026 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v3.0: +// https://www.gnu.org/licenses/gpl-3.0.txt +// https://www.gnu.org/licenses/lgpl-3.0.txt +// SPDX-License-Identifier: LGPL-3.0-only +// End of Source File Header + #version 450 layout(set = 0, binding = 0) uniform sampler2D sourceImage; layout(location = 0) in vec2 texCoord; diff --git a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireColorBlit.vert b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireColorBlit.vert index bafb7b99..191d760b 100644 --- a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireColorBlit.vert +++ b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireColorBlit.vert @@ -1,3 +1,11 @@ +// MobileGL - MobileGL/MG_Backend/DirectVulkan/Renderer/WireColorBlit.vert +// Copyright (c) 2025-2026 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v3.0: +// https://www.gnu.org/licenses/gpl-3.0.txt +// https://www.gnu.org/licenses/lgpl-3.0.txt +// SPDX-License-Identifier: LGPL-3.0-only +// End of Source File Header + #version 450 // Native Vulkan blit: no GL program, registry entry, or runtime transpilation. layout(push_constant) uniform BlitRect { diff --git a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDepthMipmap.frag b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDepthMipmap.frag index 27aebfff..5b05d4e1 100644 --- a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDepthMipmap.frag +++ b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDepthMipmap.frag @@ -1,3 +1,11 @@ +// MobileGL - MobileGL/MG_Backend/DirectVulkan/Renderer/WireDepthMipmap.frag +// Copyright (c) 2025-2026 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v3.0: +// https://www.gnu.org/licenses/gpl-3.0.txt +// https://www.gnu.org/licenses/lgpl-3.0.txt +// SPDX-License-Identifier: LGPL-3.0-only +// End of Source File Header + #version 450 // The monolith arm's kDepthMipmapFragmentShaderSource (VulkanRenderer.cpp), ported to the // baked pipeline: the same 2x2 box of texelFetches, the same clamp, the same average, the diff --git a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDepthMipmap.vert b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDepthMipmap.vert index 4c5f70ee..295411a3 100644 --- a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDepthMipmap.vert +++ b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDepthMipmap.vert @@ -1,3 +1,11 @@ +// MobileGL - MobileGL/MG_Backend/DirectVulkan/Renderer/WireDepthMipmap.vert +// Copyright (c) 2025-2026 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v3.0: +// https://www.gnu.org/licenses/gpl-3.0.txt +// https://www.gnu.org/licenses/lgpl-3.0.txt +// SPDX-License-Identifier: LGPL-3.0-only +// End of Source File Header + #version 450 // Native Vulkan depth mip generation: no GL program, registry entry, or runtime transpilation. // diff --git a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDiscardStateProbe.frag b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDiscardStateProbe.frag index 46827c76..3833f2db 100644 --- a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDiscardStateProbe.frag +++ b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDiscardStateProbe.frag @@ -1,3 +1,11 @@ +// MobileGL - MobileGL/MG_Backend/DirectVulkan/Renderer/WireDiscardStateProbe.frag +// Copyright (c) 2025-2026 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v3.0: +// https://www.gnu.org/licenses/gpl-3.0.txt +// https://www.gnu.org/licenses/lgpl-3.0.txt +// SPDX-License-Identifier: LGPL-3.0-only +// End of Source File Header + #version 450 layout(location = 0) out vec4 color; diff --git a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDiscardStateProbe.vert b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDiscardStateProbe.vert index 1430d2d7..c74cee2d 100644 --- a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDiscardStateProbe.vert +++ b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireDiscardStateProbe.vert @@ -1,3 +1,11 @@ +// MobileGL - MobileGL/MG_Backend/DirectVulkan/Renderer/WireDiscardStateProbe.vert +// Copyright (c) 2025-2026 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v3.0: +// https://www.gnu.org/licenses/gpl-3.0.txt +// https://www.gnu.org/licenses/lgpl-3.0.txt +// SPDX-License-Identifier: LGPL-3.0-only +// End of Source File Header + #version 450 // The discard state probe's draws (WireDiscardStateProbe.h): vertices 0-3 are a full-viewport strip, // vertices 4-7 the same strip far outside the clip volume (the control's first draw). diff --git a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireE5RawCopy.comp b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireE5RawCopy.comp index b91ae457..d0a64167 100644 --- a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireE5RawCopy.comp +++ b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireE5RawCopy.comp @@ -1,3 +1,11 @@ +// MobileGL - MobileGL/MG_Backend/DirectVulkan/Renderer/WireE5RawCopy.comp +// Copyright (c) 2025-2026 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v3.0: +// https://www.gnu.org/licenses/gpl-3.0.txt +// https://www.gnu.org/licenses/lgpl-3.0.txt +// SPDX-License-Identifier: LGPL-3.0-only +// End of Source File Header + #version 450 // Raw texel-block copy out of an E5B9G9R9 image (WireE5RawCopy.h). The source is read through an // R32_UINT view, so its words are never decoded, and stored into an R32_UINT twin whose transfer diff --git a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireE5RawCopy3D.comp b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireE5RawCopy3D.comp index 8ef12a6e..8cc7c19b 100644 --- a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireE5RawCopy3D.comp +++ b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireE5RawCopy3D.comp @@ -1,3 +1,11 @@ +// MobileGL - MobileGL/MG_Backend/DirectVulkan/Renderer/WireE5RawCopy3D.comp +// Copyright (c) 2025-2026 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v3.0: +// https://www.gnu.org/licenses/gpl-3.0.txt +// https://www.gnu.org/licenses/lgpl-3.0.txt +// SPDX-License-Identifier: LGPL-3.0-only +// End of Source File Header + #version 450 // The volume twin of WireE5RawCopy.comp: the source level is a 3D image and the region's slices // are its z range. diff --git a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireMultisampleDepthResolve.frag b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireMultisampleDepthResolve.frag index f508f5bb..f9043aa2 100644 --- a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireMultisampleDepthResolve.frag +++ b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireMultisampleDepthResolve.frag @@ -1,3 +1,11 @@ +// MobileGL - MobileGL/MG_Backend/DirectVulkan/Renderer/WireMultisampleDepthResolve.frag +// Copyright (c) 2025-2026 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v3.0: +// https://www.gnu.org/licenses/gpl-3.0.txt +// https://www.gnu.org/licenses/lgpl-3.0.txt +// SPDX-License-Identifier: LGPL-3.0-only +// End of Source File Header + #version 450 // SAMPLE ZERO, and it is not an approximation: VK_RESOLVE_MODE_SAMPLE_ZERO_BIT is the mode the // VK_KHR_depth_stencil_resolve arm asks for, and GL 4.6 core 18.3.1 says a depth resolve picks diff --git a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireMultisampleResolve.vert b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireMultisampleResolve.vert index 00075b34..488c309c 100644 --- a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireMultisampleResolve.vert +++ b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireMultisampleResolve.vert @@ -1,3 +1,11 @@ +// MobileGL - MobileGL/MG_Backend/DirectVulkan/Renderer/WireMultisampleResolve.vert +// Copyright (c) 2025-2026 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v3.0: +// https://www.gnu.org/licenses/gpl-3.0.txt +// https://www.gnu.org/licenses/lgpl-3.0.txt +// SPDX-License-Identifier: LGPL-3.0-only +// End of Source File Header + #version 450 // Native Vulkan multisample depth/stencil resolve: no GL program, registry entry, or runtime // transpilation. diff --git a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireMultisampleStencilResolve.frag b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireMultisampleStencilResolve.frag index 4d566a0c..b6ec382f 100644 --- a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireMultisampleStencilResolve.frag +++ b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireMultisampleStencilResolve.frag @@ -1,3 +1,11 @@ +// MobileGL - MobileGL/MG_Backend/DirectVulkan/Renderer/WireMultisampleStencilResolve.frag +// Copyright (c) 2025-2026 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v3.0: +// https://www.gnu.org/licenses/gpl-3.0.txt +// https://www.gnu.org/licenses/lgpl-3.0.txt +// SPDX-License-Identifier: LGPL-3.0-only +// End of Source File Header + #version 450 // The stencil half, and it needs an extension to exist at all: a fragment shader cannot write // the stencil aspect without VK_EXT_shader_stencil_export (SPV_EXT_shader_stencil_export, which diff --git a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireYuvConvert.frag b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireYuvConvert.frag index 45286db8..65cdcb87 100644 --- a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireYuvConvert.frag +++ b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireYuvConvert.frag @@ -1,3 +1,11 @@ +// MobileGL - MobileGL/MG_Backend/DirectVulkan/Renderer/WireYuvConvert.frag +// Copyright (c) 2025-2026 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v3.0: +// https://www.gnu.org/licenses/gpl-3.0.txt +// https://www.gnu.org/licenses/lgpl-3.0.txt +// SPDX-License-Identifier: LGPL-3.0-only +// End of Source File Header + #version 450 // The image is bound through an immutable sampler that carries its VkSamplerYcbcrConversion, so // a plain sample already returns RGB. diff --git a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireYuvConvert.vert b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireYuvConvert.vert index a07802aa..24d44546 100644 --- a/MobileGL/MG_Backend/DirectVulkan/Renderer/WireYuvConvert.vert +++ b/MobileGL/MG_Backend/DirectVulkan/Renderer/WireYuvConvert.vert @@ -1,3 +1,11 @@ +// MobileGL - MobileGL/MG_Backend/DirectVulkan/Renderer/WireYuvConvert.vert +// Copyright (c) 2025-2026 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v3.0: +// https://www.gnu.org/licenses/gpl-3.0.txt +// https://www.gnu.org/licenses/lgpl-3.0.txt +// SPDX-License-Identifier: LGPL-3.0-only +// End of Source File Header + #version 450 // A YUV shared image converted into an RGBA texture (WireYuvImage.inc): one triangle over the // whole target, its first row at the image's first row. diff --git a/MobileGL/MG_Benchmark/Buffer/CMakeLists.txt b/MobileGL/MG_Benchmark/Buffer/CMakeLists.txt index 8e413a76..c32a892e 100644 --- a/MobileGL/MG_Benchmark/Buffer/CMakeLists.txt +++ b/MobileGL/MG_Benchmark/Buffer/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Benchmark/Buffer/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.24) add_executable( diff --git a/MobileGL/MG_Benchmark/CMakeLists.txt b/MobileGL/MG_Benchmark/CMakeLists.txt index 9dce291c..3af21eb1 100644 --- a/MobileGL/MG_Benchmark/CMakeLists.txt +++ b/MobileGL/MG_Benchmark/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Benchmark/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) project(MobileGLBenchmark) diff --git a/MobileGL/MG_Benchmark/Container/CMakeLists.txt b/MobileGL/MG_Benchmark/Container/CMakeLists.txt index b98e5d86..0d127a38 100644 --- a/MobileGL/MG_Benchmark/Container/CMakeLists.txt +++ b/MobileGL/MG_Benchmark/Container/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Benchmark/Container/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.24) add_executable( diff --git a/MobileGL/MG_Benchmark/Driver/CMakeLists.txt b/MobileGL/MG_Benchmark/Driver/CMakeLists.txt index 5144f0c9..37158168 100644 --- a/MobileGL/MG_Benchmark/Driver/CMakeLists.txt +++ b/MobileGL/MG_Benchmark/Driver/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Benchmark/Driver/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.24) # A real, headless EGL client, deliberately NOT linked against MobileGL: it diff --git a/MobileGL/MG_Benchmark/Driver/run_driver_bench.sh b/MobileGL/MG_Benchmark/Driver/run_driver_bench.sh index a4334a4e..8664bd15 100644 --- a/MobileGL/MG_Benchmark/Driver/run_driver_bench.sh +++ b/MobileGL/MG_Benchmark/Driver/run_driver_bench.sh @@ -1,4 +1,12 @@ #!/bin/bash +# MobileGL - MobileGL/MG_Benchmark/Driver/run_driver_bench.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # Run the headless EGL DriverBench on one renderer: # ./run_driver_bench.sh native [bench args...] # ./run_driver_bench.sh espryt [bench args...] diff --git a/MobileGL/MG_Benchmark/Program/CMakeLists.txt b/MobileGL/MG_Benchmark/Program/CMakeLists.txt index 317b4c7b..024b8567 100644 --- a/MobileGL/MG_Benchmark/Program/CMakeLists.txt +++ b/MobileGL/MG_Benchmark/Program/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Benchmark/Program/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.24) add_executable( diff --git a/MobileGL/MG_Benchmark/ShaderCache/CMakeLists.txt b/MobileGL/MG_Benchmark/ShaderCache/CMakeLists.txt index 35c97237..d887a580 100644 --- a/MobileGL/MG_Benchmark/ShaderCache/CMakeLists.txt +++ b/MobileGL/MG_Benchmark/ShaderCache/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Benchmark/ShaderCache/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.24) add_executable( diff --git a/MobileGL/MG_Benchmark/Transpile/CMakeLists.txt b/MobileGL/MG_Benchmark/Transpile/CMakeLists.txt index 234ba26d..fc61ac68 100644 --- a/MobileGL/MG_Benchmark/Transpile/CMakeLists.txt +++ b/MobileGL/MG_Benchmark/Transpile/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Benchmark/Transpile/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.24) # Deliberately NOT a google-benchmark target: the interesting quantity is a per-stage diff --git a/MobileGL/MG_Gbm/CMakeLists.txt b/MobileGL/MG_Gbm/CMakeLists.txt index ea5126ba..9322f17f 100644 --- a/MobileGL/MG_Gbm/CMakeLists.txt +++ b/MobileGL/MG_Gbm/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Gbm/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # MobileGL - MobileGL/MG_Gbm/CMakeLists.txt # # mobilegl_gbm.so: the GBM backend whose buffers are MobileGL shared images (MobileGLGbm.cpp). diff --git a/MobileGL/MG_IntegrationTest/CMakeLists.txt b/MobileGL/MG_IntegrationTest/CMakeLists.txt index 5c5aff02..b33ac414 100644 --- a/MobileGL/MG_IntegrationTest/CMakeLists.txt +++ b/MobileGL/MG_IntegrationTest/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_IntegrationTest/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.24) # MobileGL headless GPU integration tests. diff --git a/MobileGL/MG_IntegrationTest/Harness/RefusedMaskControl.cmake b/MobileGL/MG_IntegrationTest/Harness/RefusedMaskControl.cmake index 3b4e6915..7c256fd4 100644 --- a/MobileGL/MG_IntegrationTest/Harness/RefusedMaskControl.cmake +++ b/MobileGL/MG_IntegrationTest/Harness/RefusedMaskControl.cmake @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_IntegrationTest/Harness/RefusedMaskControl.cmake +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # P13 W3b (ID-P13-3): one named-refusal control. Runs the integration binary with a subsystem mask # that clears one of bits 0-13 and passes only if the run went red AND its log carries # ConfigLoader's Fatal{PipeSubsystemsFixedOn} naming that mask. Invoked by diff --git a/MobileGL/MG_IntegrationTest/P8Coverage.cmake b/MobileGL/MG_IntegrationTest/P8Coverage.cmake index 153e1c70..8b5aafd8 100644 --- a/MobileGL/MG_IntegrationTest/P8Coverage.cmake +++ b/MobileGL/MG_IntegrationTest/P8Coverage.cmake @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_IntegrationTest/P8Coverage.cmake +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # P8-A (ID-P8-2): the monolith cases' split, spawn and tcp registrations. # # Included ONCE from CMakeLists.txt, inside `if (MOBILEGL_BUILD_DISAGGREGATED)`, and the place is diff --git a/MobileGL/MG_IntegrationTest/run_integration_test.sh b/MobileGL/MG_IntegrationTest/run_integration_test.sh index 61b8e8b5..cc284119 100644 --- a/MobileGL/MG_IntegrationTest/run_integration_test.sh +++ b/MobileGL/MG_IntegrationTest/run_integration_test.sh @@ -1,4 +1,12 @@ #!/bin/bash +# MobileGL - MobileGL/MG_IntegrationTest/run_integration_test.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # Run the headless MobileGL integration scenarios on one backend: # ./run_integration_test.sh espryt [gtest args...] -> DirectGLES # ./run_integration_test.sh magma [gtest args...] -> DirectVulkan diff --git a/MobileGL/MG_Test/Backend/DirectGLES/CMakeLists.txt b/MobileGL/MG_Test/Backend/DirectGLES/CMakeLists.txt index 1ce38d55..a9550675 100644 --- a/MobileGL/MG_Test/Backend/DirectGLES/CMakeLists.txt +++ b/MobileGL/MG_Test/Backend/DirectGLES/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/Backend/DirectGLES/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) add_executable( diff --git a/MobileGL/MG_Test/Backend/DirectVulkan/CMakeLists.txt b/MobileGL/MG_Test/Backend/DirectVulkan/CMakeLists.txt index 0fb14143..0d223f46 100644 --- a/MobileGL/MG_Test/Backend/DirectVulkan/CMakeLists.txt +++ b/MobileGL/MG_Test/Backend/DirectVulkan/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/Backend/DirectVulkan/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) message(STATUS "Generating build files for MobileGL DirectVulkan Integration Test...") diff --git a/MobileGL/MG_Test/BackendLoader/CMakeLists.txt b/MobileGL/MG_Test/BackendLoader/CMakeLists.txt index ea5ae92a..e213ebfd 100644 --- a/MobileGL/MG_Test/BackendLoader/CMakeLists.txt +++ b/MobileGL/MG_Test/BackendLoader/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/BackendLoader/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) add_executable( diff --git a/MobileGL/MG_Test/Buffer/CMakeLists.txt b/MobileGL/MG_Test/Buffer/CMakeLists.txt index 6d031888..0ffb19a6 100644 --- a/MobileGL/MG_Test/Buffer/CMakeLists.txt +++ b/MobileGL/MG_Test/Buffer/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/Buffer/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) add_executable( diff --git a/MobileGL/MG_Test/CMakeLists.txt b/MobileGL/MG_Test/CMakeLists.txt index 1df8035f..680b65df 100644 --- a/MobileGL/MG_Test/CMakeLists.txt +++ b/MobileGL/MG_Test/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.24) project(MobileGLTest) diff --git a/MobileGL/MG_Test/EGLState/CMakeLists.txt b/MobileGL/MG_Test/EGLState/CMakeLists.txt index 70be9158..8424efcd 100644 --- a/MobileGL/MG_Test/EGLState/CMakeLists.txt +++ b/MobileGL/MG_Test/EGLState/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/EGLState/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) add_executable( diff --git a/MobileGL/MG_Test/Framebuffer/CMakeLists.txt b/MobileGL/MG_Test/Framebuffer/CMakeLists.txt index 9a928980..3ca717d1 100644 --- a/MobileGL/MG_Test/Framebuffer/CMakeLists.txt +++ b/MobileGL/MG_Test/Framebuffer/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/Framebuffer/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) add_executable( diff --git a/MobileGL/MG_Test/Gbm/CMakeLists.txt b/MobileGL/MG_Test/Gbm/CMakeLists.txt index ed27434a..c9a5a63a 100644 --- a/MobileGL/MG_Test/Gbm/CMakeLists.txt +++ b/MobileGL/MG_Test/Gbm/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/Gbm/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) # mobilegl_gbm.so through the system's GBM loader, the calls Xwayland's glamor makes, over a fake of diff --git a/MobileGL/MG_Test/Pipe/CMakeLists.txt b/MobileGL/MG_Test/Pipe/CMakeLists.txt index 72258bd5..1b74c86f 100644 --- a/MobileGL/MG_Test/Pipe/CMakeLists.txt +++ b/MobileGL/MG_Test/Pipe/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/Pipe/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) add_executable( diff --git a/MobileGL/MG_Test/Pipeline/CMakeLists.txt b/MobileGL/MG_Test/Pipeline/CMakeLists.txt index d51f949a..a5155caa 100644 --- a/MobileGL/MG_Test/Pipeline/CMakeLists.txt +++ b/MobileGL/MG_Test/Pipeline/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/Pipeline/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) add_executable( diff --git a/MobileGL/MG_Test/Program/CMakeLists.txt b/MobileGL/MG_Test/Program/CMakeLists.txt index f4f2c214..a3360406 100644 --- a/MobileGL/MG_Test/Program/CMakeLists.txt +++ b/MobileGL/MG_Test/Program/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/Program/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.24) add_executable( diff --git a/MobileGL/MG_Test/Purity/CMakeLists.txt b/MobileGL/MG_Test/Purity/CMakeLists.txt index c05a52bd..dba9678f 100644 --- a/MobileGL/MG_Test/Purity/CMakeLists.txt +++ b/MobileGL/MG_Test/Purity/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/Purity/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) # The P0.5 include-closure assertions (ROADMAP P0.5; ARCHITECTURE.md §13.2 gate A): no MobileGL diff --git a/MobileGL/MG_Test/Query/CMakeLists.txt b/MobileGL/MG_Test/Query/CMakeLists.txt index 28ebd8c2..9936c0d8 100644 --- a/MobileGL/MG_Test/Query/CMakeLists.txt +++ b/MobileGL/MG_Test/Query/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/Query/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) add_executable( diff --git a/MobileGL/MG_Test/SelfTest/CMakeLists.txt b/MobileGL/MG_Test/SelfTest/CMakeLists.txt index af0cbedd..9f15bf8f 100644 --- a/MobileGL/MG_Test/SelfTest/CMakeLists.txt +++ b/MobileGL/MG_Test/SelfTest/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/SelfTest/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # MobileGL - MobileGL/MG_Test/SelfTest/CMakeLists.txt add_executable( diff --git a/MobileGL/MG_Test/ShaderTranspiler/CMakeLists.txt b/MobileGL/MG_Test/ShaderTranspiler/CMakeLists.txt index e60a0591..8ab13782 100644 --- a/MobileGL/MG_Test/ShaderTranspiler/CMakeLists.txt +++ b/MobileGL/MG_Test/ShaderTranspiler/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/ShaderTranspiler/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) add_executable( diff --git a/MobileGL/MG_Test/State/CMakeLists.txt b/MobileGL/MG_Test/State/CMakeLists.txt index cbb2da66..5b2e91c2 100644 --- a/MobileGL/MG_Test/State/CMakeLists.txt +++ b/MobileGL/MG_Test/State/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/State/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) add_executable( diff --git a/MobileGL/MG_Test/Swapchain/CMakeLists.txt b/MobileGL/MG_Test/Swapchain/CMakeLists.txt index 4508be61..2c9875b4 100644 --- a/MobileGL/MG_Test/Swapchain/CMakeLists.txt +++ b/MobileGL/MG_Test/Swapchain/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/Swapchain/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) add_executable( diff --git a/MobileGL/MG_Test/Texture/CMakeLists.txt b/MobileGL/MG_Test/Texture/CMakeLists.txt index 7aa390f9..ebf6ca22 100644 --- a/MobileGL/MG_Test/Texture/CMakeLists.txt +++ b/MobileGL/MG_Test/Texture/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/Texture/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) add_executable( diff --git a/MobileGL/MG_Test/Util/CMakeLists.txt b/MobileGL/MG_Test/Util/CMakeLists.txt index 54ae51f0..93040656 100644 --- a/MobileGL/MG_Test/Util/CMakeLists.txt +++ b/MobileGL/MG_Test/Util/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/Util/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) add_executable( diff --git a/MobileGL/MG_Test/VertexArray/CMakeLists.txt b/MobileGL/MG_Test/VertexArray/CMakeLists.txt index 8cb7a918..f412eee7 100644 --- a/MobileGL/MG_Test/VertexArray/CMakeLists.txt +++ b/MobileGL/MG_Test/VertexArray/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/VertexArray/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) add_executable( diff --git a/MobileGL/MG_Test/Wire/CMakeLists.txt b/MobileGL/MG_Test/Wire/CMakeLists.txt index 2ccff3da..b4d64aa9 100644 --- a/MobileGL/MG_Test/Wire/CMakeLists.txt +++ b/MobileGL/MG_Test/Wire/CMakeLists.txt @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/Wire/CMakeLists.txt +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake_minimum_required(VERSION 3.14) # The MG_Remote wire layer: framing, the SPSC ring, the in-process transport, diff --git a/MobileGL/MG_Test/test.sh b/MobileGL/MG_Test/test.sh index bc84ce81..5f4af17e 100644 --- a/MobileGL/MG_Test/test.sh +++ b/MobileGL/MG_Test/test.sh @@ -1,3 +1,11 @@ +# MobileGL - MobileGL/MG_Test/test.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + cmake -S . -B build && \ cmake --build build -j${nproc} && \ ctest --test-dir build diff --git a/scripts/ci/control_smoke_test.sh b/scripts/ci/control_smoke_test.sh index 71063097..71c40a5e 100644 --- a/scripts/ci/control_smoke_test.sh +++ b/scripts/ci/control_smoke_test.sh @@ -1,4 +1,12 @@ #!/bin/bash +# MobileGL - scripts/ci/control_smoke_test.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # R-16 FOR THE CI NEGATIVE CONTROLS THEMSELVES: a control-run smoke test. # # BRIEF-P5 13 (R-16) says a negative control must assert its own failure reason and that every gate diff --git a/scripts/ci/dualblock_negative_control.sh b/scripts/ci/dualblock_negative_control.sh index 1e7335b3..fefe525f 100644 --- a/scripts/ci/dualblock_negative_control.sh +++ b/scripts/ci/dualblock_negative_control.sh @@ -1,4 +1,12 @@ #!/bin/bash +# MobileGL - scripts/ci/dualblock_negative_control.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # P5f (f1)'s NEGATIVE CONTROL (P5F-WIRE-COMPLETENESS.md §6): the dual-block rehearsal must be # the thing the dual-block lane measures. # diff --git a/scripts/ci/redcheck_control_smoke_test.sh b/scripts/ci/redcheck_control_smoke_test.sh index eb23282c..ca0bb6d9 100755 --- a/scripts/ci/redcheck_control_smoke_test.sh +++ b/scripts/ci/redcheck_control_smoke_test.sh @@ -1,4 +1,12 @@ #!/bin/bash +# MobileGL - scripts/ci/redcheck_control_smoke_test.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # R-16's "I made it red once, by doing X" for scripts/ci/control_smoke_test.sh, mechanised so the # claim can be re-checked rather than believed. # diff --git a/scripts/ci/retrace_drop_draw_control.sh b/scripts/ci/retrace_drop_draw_control.sh index d749d9eb..2ad07e5d 100644 --- a/scripts/ci/retrace_drop_draw_control.sh +++ b/scripts/ci/retrace_drop_draw_control.sh @@ -1,4 +1,12 @@ #!/bin/bash +# MobileGL - scripts/ci/retrace_drop_draw_control.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # EXIT GATE E2's PICTURE CONTROL: dropping the draws on the wire must redden this retrace, and # it must be THIS control's red. # diff --git a/scripts/ci/retrace_transport_control.sh b/scripts/ci/retrace_transport_control.sh index 9c7d8499..ad593c61 100644 --- a/scripts/ci/retrace_transport_control.sh +++ b/scripts/ci/retrace_transport_control.sh @@ -1,4 +1,12 @@ #!/bin/bash +# MobileGL - scripts/ci/retrace_transport_control.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # THE RETRACE-SPLIT LANE'S NEGATIVE CONTROL: a library WITHOUT A TRANSPORT must red this split retrace. # # P13 W2: the library is the push monolith without MG_Remote (the shape FCL embeds). Until W2 it was diff --git a/scripts/ci/split_negative_controls.sh b/scripts/ci/split_negative_controls.sh index 362e4c11..88174b24 100644 --- a/scripts/ci/split_negative_controls.sh +++ b/scripts/ci/split_negative_controls.sh @@ -1,4 +1,12 @@ #!/bin/bash +# MobileGL - scripts/ci/split_negative_controls.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # EXIT GATE E1's NEGATIVE CONTROL and EXIT GATE E3(a)'s. # # This file is the body of .github/workflows/test.yml's "Negative controls (barrier, map push)" diff --git a/scripts/ci/testdata/split_private_log_smoke.sh b/scripts/ci/testdata/split_private_log_smoke.sh index ad68ae5f..d65c37b2 100644 --- a/scripts/ci/testdata/split_private_log_smoke.sh +++ b/scripts/ci/testdata/split_private_log_smoke.sh @@ -1,4 +1,12 @@ #!/bin/bash +# MobileGL - scripts/ci/testdata/split_private_log_smoke.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # Exercise E1's per-test boundary evidence and E3(a)'s private-file read (R-16). set -euo pipefail HERE="$(cd "$(dirname "$0")/.." && pwd)" diff --git a/scripts/ci/testdata/stub_ctest.sh b/scripts/ci/testdata/stub_ctest.sh index 35016304..6dfc2d0f 100755 --- a/scripts/ci/testdata/stub_ctest.sh +++ b/scripts/ci/testdata/stub_ctest.sh @@ -1,4 +1,12 @@ #!/bin/bash +# MobileGL - scripts/ci/testdata/stub_ctest.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # A stubbed `ctest` for scripts/ci/control_smoke_test.sh. # # Descended from the verification agent's stub (wave1-codex-verify.md 8, ~/w7/p5-verify-f8-stub/ctest), diff --git a/scripts/format_code.sh b/scripts/format_code.sh index eb3bff6e..596fd721 100755 --- a/scripts/format_code.sh +++ b/scripts/format_code.sh @@ -1,4 +1,12 @@ #!/usr/bin/env bash +# MobileGL - scripts/format_code.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + set -uo pipefail if [ -t 1 ]; then CYAN=$'\033[36m' diff --git a/scripts/g7_negative_control.sh b/scripts/g7_negative_control.sh index a551a268..77e357ea 100644 --- a/scripts/g7_negative_control.sh +++ b/scripts/g7_negative_control.sh @@ -1,4 +1,12 @@ #!/usr/bin/env bash +# MobileGL - scripts/g7_negative_control.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # G7's negative control: break the pipeline/dynamic split on purpose and prove the # setter-consistency test says so. # diff --git a/scripts/p3a_untouched_regions.sh b/scripts/p3a_untouched_regions.sh index 9f719dc4..71107f30 100644 --- a/scripts/p3a_untouched_regions.sh +++ b/scripts/p3a_untouched_regions.sh @@ -1,4 +1,12 @@ #!/usr/bin/env bash +# MobileGL - scripts/p3a_untouched_regions.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # G5's gate: "pool 与延迟释放原样搬" is LITERAL - ELEVEN functions in # MobileGL/MG_Backend/DirectGLES/Managers.cpp are byte-identical after P3a. # diff --git a/scripts/p3a_vertex_input_negative_control.sh b/scripts/p3a_vertex_input_negative_control.sh index 6a006df4..1ee6fc7d 100644 --- a/scripts/p3a_vertex_input_negative_control.sh +++ b/scripts/p3a_vertex_input_negative_control.sh @@ -1,4 +1,12 @@ #!/usr/bin/env bash +# MobileGL - scripts/p3a_vertex_input_negative_control.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # G7's negative control for P3a: drop one field from the vertex-input wire conversion on purpose # and prove the emission-consistency suite says so, naming the field. # diff --git a/scripts/p4a_descriptor_negative_control.sh b/scripts/p4a_descriptor_negative_control.sh index 4d59179e..67710aed 100644 --- a/scripts/p4a_descriptor_negative_control.sh +++ b/scripts/p4a_descriptor_negative_control.sh @@ -1,4 +1,12 @@ #!/usr/bin/env bash +# MobileGL - scripts/p4a_descriptor_negative_control.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # G7's negative controls for P4a: drop one field from each of two descriptor conversions on purpose # and prove the emission-consistency suites say so, NAMING the field. # diff --git a/scripts/p4a_untouched_regions.sh b/scripts/p4a_untouched_regions.sh index af8212f9..c8232811 100644 --- a/scripts/p4a_untouched_regions.sh +++ b/scripts/p4a_untouched_regions.sh @@ -1,4 +1,12 @@ #!/usr/bin/env bash +# MobileGL - scripts/p4a_untouched_regions.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # G5's gate for P4a: the Espryt do-not-touch list is LITERAL - SEVENTEEN regions across THREE # files stay byte-identical after P4a. # diff --git a/scripts/update-source-file-header.py b/scripts/update-source-file-header.py index eb226f90..bbac182a 100644 --- a/scripts/update-source-file-header.py +++ b/scripts/update-source-file-header.py @@ -12,8 +12,8 @@ python3 scripts/update-source-file-header.py FILE ... # only these files python3 scripts/update-source-file-header.py --check # list what needs attention, exit 1 if anything does -Covered under MobileGL/, scripts/ and tools/: C, C++ and .inc files with // comments and Python -scripts with # comments. +Covered under MobileGL/, scripts/ and tools/: C, C++, .inc, Java, JavaScript modules and GLSL with +// comments; Python, shell, CMake modules and CMakeLists.txt with # comments. An existing header is kept as written, since its copyright years belong to the file; only a first line that names a different path is corrected. Generated files and files under another license are left alone. Files with mixed line endings are reported, never rewritten. @@ -36,8 +36,9 @@ HEADER = """{c} MobileGL - {path} """ OWN_SPDX = "SPDX-License-Identifier: LGPL-3.0-only" DIRS = ("MobileGL/", "scripts/", "tools/") -SLASH_EXT = (".h", ".hpp", ".cpp", ".cc", ".c", ".inc") -HASH_EXT = (".py",) +SLASH_EXT = (".h", ".hpp", ".cpp", ".cc", ".c", ".inc", ".java", ".mjs", + ".vert", ".frag", ".comp", ".geom", ".tesc", ".tese", ".glsl") +HASH_EXT = (".py", ".sh", ".cmake") FOREIGN_LICENSE = re.compile(r"Apache License|Permission is hereby granted|MIT License|BSD License|" r"Mozilla Public License|zlib License") SPDX_RE = re.compile(r"SPDX-License-Identifier:\s*(\S+)") @@ -57,7 +58,7 @@ def is_generated(path): def comment_prefix(path): - if path.endswith(HASH_EXT): + if path.endswith(HASH_EXT) or os.path.basename(path) == "CMakeLists.txt": return "#" if path.endswith(SLASH_EXT): return "//" diff --git a/tools/cts/targets/mobilegl-desktop.cmake b/tools/cts/targets/mobilegl-desktop.cmake index a7c3cf01..73b6c077 100644 --- a/tools/cts/targets/mobilegl-desktop.cmake +++ b/tools/cts/targets/mobilegl-desktop.cmake @@ -1,3 +1,11 @@ +# MobileGL - tools/cts/targets/mobilegl-desktop.cmake +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + #------------------------------------------------------------------------- # VK-GL-CTS target: MobileGL on desktop Linux # diff --git a/tools/cts/targets/mobilegl.cmake b/tools/cts/targets/mobilegl.cmake index 021df7c1..f99607bc 100644 --- a/tools/cts/targets/mobilegl.cmake +++ b/tools/cts/targets/mobilegl.cmake @@ -1,3 +1,11 @@ +# MobileGL - tools/cts/targets/mobilegl.cmake +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + #------------------------------------------------------------------------- # VK-GL-CTS target: MobileGL on Android # diff --git a/tools/device_bench/anland_glmark2/ab.sh b/tools/device_bench/anland_glmark2/ab.sh index d1083bdb..635352b0 100644 --- a/tools/device_bench/anland_glmark2/ab.sh +++ b/tools/device_bench/anland_glmark2/ab.sh @@ -1,3 +1,11 @@ +# MobileGL - tools/device_bench/anland_glmark2/ab.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # ab.sh - one quick run (phone, root), prints FPS lines ct=$1; tag=$2; shift 2; CR=/mnt/Droidspaces/$ct/root; st=mgl; [ $ct = arch-kde ] && st=stock sh /data/local/tmp/anl/pbcool.sh 46000 20 300 >/dev/null diff --git a/tools/device_bench/anland_glmark2/dep.sh b/tools/device_bench/anland_glmark2/dep.sh index 2b4d5aee..fc24aecc 100644 --- a/tools/device_bench/anland_glmark2/dep.sh +++ b/tools/device_bench/anland_glmark2/dep.sh @@ -1,4 +1,12 @@ #!/usr/bin/env bash +# MobileGL - tools/device_bench/anland_glmark2/dep.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # dep.sh - (host) deploy a server (SERVER_LIB) + client (MGL_XBUILD_DIR) build and restart the desktop on that backend S=${SKILL_SCRIPTS:-$(cd "$(dirname "$0")/../../../.claude/skills/anland-mobilegl-plasma/scripts" && pwd)} # SERVER_LIB: the NDK-built server lib (Windows form path); MGL_XBUILD_DIR: the WSL client build dir. diff --git a/tools/device_bench/anland_glmark2/gprof.sh b/tools/device_bench/anland_glmark2/gprof.sh index bac86e70..a60ea7bc 100644 --- a/tools/device_bench/anland_glmark2/gprof.sh +++ b/tools/device_bench/anland_glmark2/gprof.sh @@ -1,3 +1,11 @@ +# MobileGL - tools/device_bench/anland_glmark2/gprof.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # gprof.sh - offcpu+callgraph record of the busiest server apply thread + client ct=$1; tag=$2; rec=$3; shift 3; D=/data/local/tmp/anl/prof; CR=/mnt/Droidspaces/$ct/root echo "$*" > $CR/pb/$tag.cmd diff --git a/tools/device_bench/anland_glmark2/lm.sh b/tools/device_bench/anland_glmark2/lm.sh index 73b214a2..bac599c1 100644 --- a/tools/device_bench/anland_glmark2/lm.sh +++ b/tools/device_bench/anland_glmark2/lm.sh @@ -1,3 +1,11 @@ +# MobileGL - tools/device_bench/anland_glmark2/lm.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # lm.sh - per-frame link-metric averages of the last run's client log L=/mnt/Droidspaces/arch-kde-mgl/root/pb/pb-$1.client.log grep -a "kind=frame-op" $L | tail -1 | cut -c40-200 diff --git a/tools/device_bench/anland_glmark2/pbbatch.sh b/tools/device_bench/anland_glmark2/pbbatch.sh index 79dbc116..38f1f27b 100644 --- a/tools/device_bench/anland_glmark2/pbbatch.sh +++ b/tools/device_bench/anland_glmark2/pbbatch.sh @@ -1,3 +1,11 @@ +# MobileGL - tools/device_bench/anland_glmark2/pbbatch.sh +# Copyright (c) 2025-2026 MobileGL-Dev +# Licensed under the GNU Lesser General Public License v3.0: +# https://www.gnu.org/licenses/gpl-3.0.txt +# https://www.gnu.org/licenses/lgpl-3.0.txt +# SPDX-License-Identifier: LGPL-3.0-only +# End of Source File Header + # pbbatch.sh