From 8ed8efe347edd91265d2f66eb0f6797c6ec4c2a5 Mon Sep 17 00:00:00 2001 From: BZLZHH Date: Wed, 31 Dec 2025 15:45:34 +0800 Subject: [PATCH] [Chore] (All): Add standardized source file header and update script. --- MobileGL/Config.h | 7 ++ MobileGL/Defines.h | 7 ++ MobileGL/Includes.h | 7 ++ MobileGL/Init.cpp | 7 ++ MobileGL/MG_Backend/Backends.h | 7 ++ MobileGL/MG_Backend/DirectGLES/DirectGLES.cpp | 7 ++ MobileGL/MG_Backend/DirectGLES/DirectGLES.h | 7 ++ MobileGL/MG_Backend/DirectGLES/Managers.cpp | 7 ++ MobileGL/MG_Backend/DirectGLES/Managers.h | 7 ++ MobileGL/MG_Backend/DirectGLES/Utils.cpp | 7 ++ MobileGL/MG_Backend/DirectGLES/Utils.h | 7 ++ MobileGL/MG_Backend/Init.cpp | 7 ++ MobileGL/MG_Benchmark/Buffer/BufferBench.cpp | 7 ++ .../MG_Benchmark/Program/ProgramBench.cpp | 7 ++ MobileGL/MG_Benchmark/SanityBench.cpp | 7 ++ .../MG_Impl/EGLImpl/EGLWrapper/EGLWrapper.cpp | 7 ++ .../MG_Impl/EGLImpl/EGLWrapper/EGLWrapper.h | 7 ++ .../MG_Impl/EGLImpl/Exporting/Definitions.cpp | 7 ++ .../EGLImpl/Temporary/TemporaryEGLImpl.cpp | 7 ++ .../EGLImpl/Temporary/TemporaryEGLImpl.h | 7 ++ MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.cpp | 7 ++ MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.h | 7 ++ MobileGL/MG_Impl/GLImpl/Buffer/Validators.cpp | 7 ++ MobileGL/MG_Impl/GLImpl/Buffer/Validators.h | 7 ++ .../MG_Impl/GLImpl/Drawing/GL_Drawing.cpp | 7 ++ MobileGL/MG_Impl/GLImpl/Drawing/GL_Drawing.h | 7 ++ .../MG_Impl/GLImpl/Exporting/Definitions.cpp | 7 ++ .../GLImpl/Framebuffer/GL_Framebuffer.cpp | 7 ++ .../GLImpl/Framebuffer/GL_Framebuffer.h | 7 ++ .../MG_Impl/GLImpl/Framebuffer/Validators.cpp | 7 ++ .../MG_Impl/GLImpl/Framebuffer/Validators.h | 7 ++ MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.cpp | 7 ++ MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.h | 7 ++ .../MG_Impl/GLImpl/Program/GL_Program.cpp | 7 ++ MobileGL/MG_Impl/GLImpl/Program/GL_Program.h | 7 ++ .../GLImpl/RenderState/GL_RenderState.cpp | 7 ++ .../GLImpl/RenderState/GL_RenderState.h | 7 ++ .../MG_Impl/GLImpl/Sampler/GL_Sampler.cpp | 7 ++ MobileGL/MG_Impl/GLImpl/Sampler/GL_Sampler.h | 7 ++ .../MG_Impl/GLImpl/Sampler/Validators.cpp | 7 ++ MobileGL/MG_Impl/GLImpl/Sampler/Validators.h | 7 ++ MobileGL/MG_Impl/GLImpl/Sync/GL_Sync.cpp | 7 ++ MobileGL/MG_Impl/GLImpl/Sync/GL_Sync.h | 7 ++ .../MG_Impl/GLImpl/Texture/GL_Texture.cpp | 7 ++ MobileGL/MG_Impl/GLImpl/Texture/GL_Texture.h | 7 ++ .../MG_Impl/GLImpl/Texture/ProxyTexture.cpp | 7 ++ .../MG_Impl/GLImpl/Texture/ProxyTexture.h | 7 ++ .../MG_Impl/GLImpl/Texture/Validators.cpp | 7 ++ MobileGL/MG_Impl/GLImpl/Texture/Validators.h | 7 ++ .../GLImpl/VertexArray/GL_VertexArray.cpp | 7 ++ .../GLImpl/VertexArray/GL_VertexArray.h | 7 ++ .../MG_Impl/GLImpl/VertexArray/Validators.cpp | 7 ++ .../MG_Impl/GLImpl/VertexArray/Validators.h | 7 ++ .../MG_Impl/GLXImpl/Exporting/Definitions.cpp | 7 ++ MobileGL/MG_Impl/GLXImpl/LookUp/LookUp.cpp | 7 ++ MobileGL/MG_Impl/GLXImpl/LookUp/LookUp.h | 7 ++ MobileGL/MG_Impl/Init.cpp | 7 ++ MobileGL/MG_Impl/Init.h | 7 ++ .../GLState/BufferState/BufferObject.cpp | 7 ++ .../GLState/BufferState/BufferObject.h | 7 ++ .../GLState/BufferState/BufferState.cpp | 7 ++ .../GLState/BufferState/BufferState.h | 7 ++ MobileGL/MG_State/GLState/Core.cpp | 7 ++ MobileGL/MG_State/GLState/Core.h | 7 ++ .../MG_State/GLState/ErrorState/Error.cpp | 7 ++ MobileGL/MG_State/GLState/ErrorState/Error.h | 7 ++ .../MG_State/GLState/ErrorState/ErrorCode.h | 7 ++ .../MG_State/GLState/ErrorState/ErrorInfo.h | 7 ++ .../FramebufferState/FramebufferObject.cpp | 7 ++ .../FramebufferState/FramebufferObject.h | 7 ++ .../FramebufferState/FramebufferState.cpp | 7 ++ .../FramebufferState/FramebufferState.h | 7 ++ .../GLState/ProgramState/ProgramObject.cpp | 7 ++ .../GLState/ProgramState/ProgramObject.h | 7 ++ .../GLState/ProgramState/ProgramState.cpp | 7 ++ .../GLState/ProgramState/ProgramState.h | 7 ++ .../GLState/ProgramState/ShaderObject.cpp | 7 ++ .../GLState/ProgramState/ShaderObject.h | 7 ++ .../GLState/RenderState/RenderState.cpp | 7 ++ .../GLState/RenderState/RenderState.h | 7 ++ .../RenderbufferState/RenderbufferObject.cpp | 7 ++ .../RenderbufferState/RenderbufferObject.h | 7 ++ .../RenderbufferState/RenderbufferState.cpp | 7 ++ .../RenderbufferState/RenderbufferState.h | 7 ++ .../GLState/SamplerState/SamplerObject.cpp | 7 ++ .../GLState/SamplerState/SamplerObject.h | 7 ++ .../GLState/SamplerState/SamplerState.cpp | 7 ++ .../GLState/SamplerState/SamplerState.h | 7 ++ .../GLState/TextureState/MipmapStorage.cpp | 7 ++ .../GLState/TextureState/MipmapStorage.h | 7 ++ .../TextureState/MipmapUploadTargetArray.h | 7 ++ .../GLState/TextureState/TextureEnum.h | 7 ++ .../GLState/TextureState/TextureObject.cpp | 7 ++ .../GLState/TextureState/TextureObject.h | 7 ++ .../GLState/TextureState/TextureObject1D.cpp | 7 ++ .../GLState/TextureState/TextureObject1D.h | 7 ++ .../GLState/TextureState/TextureObject2D.cpp | 7 ++ .../GLState/TextureState/TextureObject2D.h | 7 ++ .../TextureState/TextureObject2DCube.cpp | 7 ++ .../TextureState/TextureObject2DCube.h | 7 ++ .../GLState/TextureState/TextureObject3D.cpp | 7 ++ .../GLState/TextureState/TextureObject3D.h | 7 ++ .../TextureState/TextureObjectBuffer.cpp | 7 ++ .../TextureState/TextureObjectBuffer.h | 7 ++ .../GLState/TextureState/TextureObjectStubs.h | 7 ++ .../GLState/TextureState/TextureState.cpp | 7 ++ .../GLState/TextureState/TextureState.h | 7 ++ .../GLState/TextureState/TextureTypes.h | 7 ++ .../GLState/TextureState/TextureUnit.cpp | 7 ++ .../GLState/TextureState/TextureUnit.h | 7 ++ .../VertexArrayState/VertexArrayObject.cpp | 7 ++ .../VertexArrayState/VertexArrayObject.h | 7 ++ .../VertexArrayState/VertexArrayState.cpp | 7 ++ .../VertexArrayState/VertexArrayState.h | 7 ++ MobileGL/MG_Test/Buffer/BufferTest.cpp | 7 ++ MobileGL/MG_Test/Program/ProgramTest.cpp | 7 ++ MobileGL/MG_Test/Program/ProgramUtilTest.cpp | 7 ++ MobileGL/MG_Test/SanityTest.cpp | 7 ++ .../MG_Test/VertexArray/VertexArrayTest.cpp | 7 ++ .../MG_Util/BackendLoaders/OpenGL/Loader.cpp | 7 ++ .../MG_Util/BackendLoaders/OpenGL/Loader.h | 7 ++ .../Classifiers/TextureEnumClassifier.cpp | 7 ++ .../Classifiers/TextureEnumClassifier.h | 7 ++ .../GLToGlslang/ProgramEnumConverter.cpp | 7 ++ .../GLToGlslang/ProgramEnumConverter.h | 7 ++ .../Converters/GLToMG/BufferEnumConverter.cpp | 7 ++ .../Converters/GLToMG/BufferEnumConverter.h | 7 ++ .../Converters/GLToMG/DataTypeConverter.cpp | 7 ++ .../Converters/GLToMG/DataTypeConverter.h | 7 ++ .../GLToMG/FramebufferEnumConverter.cpp | 7 ++ .../GLToMG/FramebufferEnumConverter.h | 7 ++ .../GLToMG/ProgramEnumConverter.cpp | 7 ++ .../Converters/GLToMG/ProgramEnumConverter.h | 7 ++ .../GLToMG/RenderStateEnumConverter.cpp | 7 ++ .../GLToMG/RenderStateEnumConverter.h | 7 ++ .../GLToMG/TextureEnumConverter.cpp | 7 ++ .../Converters/GLToMG/TextureEnumConverter.h | 7 ++ .../Converters/GLToStr/GLEnumConverter.cpp | 7 ++ .../Converters/GLToStr/GLEnumConverter.h | 7 ++ .../Converters/MGToGL/BufferEnumConverter.cpp | 7 ++ .../Converters/MGToGL/BufferEnumConverter.h | 7 ++ .../Converters/MGToGL/DataTypeConverter.cpp | 7 ++ .../Converters/MGToGL/DataTypeConverter.h | 7 ++ .../Converters/MGToGL/ErrorCodeConverter.cpp | 7 ++ .../Converters/MGToGL/ErrorCodeConverter.h | 7 ++ .../MGToGL/FramebufferEnumConverter.cpp | 7 ++ .../MGToGL/FramebufferEnumConverter.h | 7 ++ .../MGToGL/ProgramEnumConverter.cpp | 7 ++ .../Converters/MGToGL/ProgramEnumConverter.h | 7 ++ .../MGToGL/RenderStateEnumConverter.cpp | 7 ++ .../MGToGL/RenderStateEnumConverter.h | 7 ++ .../MGToGL/TextureEnumConverter.cpp | 7 ++ .../Converters/MGToGL/TextureEnumConverter.h | 7 ++ .../MGToMG/TextureEnumConverter.cpp | 7 ++ .../Converters/MGToMG/TextureEnumConverter.h | 7 ++ .../MGToStr/BufferEnumConverter.cpp | 7 ++ .../Converters/MGToStr/BufferEnumConverter.h | 7 ++ .../Converters/MGToStr/DataTypeConverter.cpp | 7 ++ .../Converters/MGToStr/DataTypeConverter.h | 7 ++ .../MGToStr/FramebufferEnumConverter.cpp | 7 ++ .../MGToStr/FramebufferEnumConverter.h | 7 ++ .../MGToStr/GLExtensionConverter.cpp | 7 ++ .../Converters/MGToStr/GLExtensionConverter.h | 7 ++ .../MGToStr/RenderStateEnumConverter.cpp | 7 ++ .../MGToStr/RenderStateEnumConverter.h | 7 ++ .../MGToStr/TextureEnumConverter.cpp | 7 ++ .../Converters/MGToStr/TextureEnumConverter.h | 7 ++ .../SPIRVCrossToGL/SpvcTypeConverter.cpp | 7 ++ .../SPIRVCrossToGL/SpvcTypeConverter.h | 7 ++ MobileGL/MG_Util/Debug/Log.cpp | 7 ++ MobileGL/MG_Util/Debug/Log.h | 7 ++ MobileGL/MG_Util/GLExtensions.h | 7 ++ MobileGL/MG_Util/Math/VectorTypes.h | 7 ++ MobileGL/MG_Util/Metrics/BufferMetrics.cpp | 7 ++ MobileGL/MG_Util/Metrics/BufferMetrics.h | 7 ++ MobileGL/MG_Util/Metrics/TextureMetrics.cpp | 7 ++ MobileGL/MG_Util/Metrics/TextureMetrics.h | 7 ++ MobileGL/MG_Util/Miscellany/IndexGenerator.h | 7 ++ MobileGL/MG_Util/PlatformStubs.h | 7 ++ .../ShaderTranspiler/ShaderCompiler.cpp | 7 ++ .../MG_Util/ShaderTranspiler/ShaderCompiler.h | 7 ++ .../ShaderSourceProcessor.cpp | 7 ++ .../ShaderTranspiler/ShaderSourceProcessor.h | 7 ++ .../MG_Util/ShaderTranspiler/SpvcSession.cpp | 7 ++ .../MG_Util/ShaderTranspiler/SpvcSession.h | 7 ++ MobileGL/MG_Util/ShaderTranspiler/Types.h | 7 ++ .../glslang/TMglGlslIoResolver.cpp | 7 ++ .../glslang/TMglGlslIoResolver.h | 7 ++ .../ShaderTranspiler/glslang/TVarEntryInfo.h | 7 ++ .../glslang/UniformTraverser.cpp | 7 ++ .../glslang/UniformTraverser.h | 7 ++ .../MG_Util/Texture/PixelStoreProcessor.cpp | 7 ++ .../MG_Util/Texture/PixelStoreProcessor.h | 7 ++ MobileGL/MG_Util/Types.h | 7 ++ scripts/update-source-file-header.py | 95 +++++++++++++++++++ 195 files changed, 1453 insertions(+) create mode 100644 scripts/update-source-file-header.py diff --git a/MobileGL/Config.h b/MobileGL/Config.h index cb6c5e6c..f0d39930 100644 --- a/MobileGL/Config.h +++ b/MobileGL/Config.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/Config.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/Defines.h b/MobileGL/Defines.h index 8a0131a0..5c9734c1 100644 --- a/MobileGL/Defines.h +++ b/MobileGL/Defines.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/Defines.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once // ============== Platform-specific definitions and macros ============== // diff --git a/MobileGL/Includes.h b/MobileGL/Includes.h index e6f303ed..3b669778 100644 --- a/MobileGL/Includes.h +++ b/MobileGL/Includes.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/Includes.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once // Include significant project headers diff --git a/MobileGL/Init.cpp b/MobileGL/Init.cpp index 46fcd10f..56588269 100644 --- a/MobileGL/Init.cpp +++ b/MobileGL/Init.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/Init.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "Includes.h" #include #include diff --git a/MobileGL/MG_Backend/Backends.h b/MobileGL/MG_Backend/Backends.h index 8a14e937..e42ef270 100644 --- a/MobileGL/MG_Backend/Backends.h +++ b/MobileGL/MG_Backend/Backends.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Backend/Backends.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Backend/DirectGLES/DirectGLES.cpp b/MobileGL/MG_Backend/DirectGLES/DirectGLES.cpp index a2cbb822..231d4fbe 100644 --- a/MobileGL/MG_Backend/DirectGLES/DirectGLES.cpp +++ b/MobileGL/MG_Backend/DirectGLES/DirectGLES.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Backend/DirectGLES/DirectGLES.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "DirectGLES.h" #include "Utils.h" #include "Managers.h" diff --git a/MobileGL/MG_Backend/DirectGLES/DirectGLES.h b/MobileGL/MG_Backend/DirectGLES/DirectGLES.h index 11ad4f0b..9c21afd9 100644 --- a/MobileGL/MG_Backend/DirectGLES/DirectGLES.h +++ b/MobileGL/MG_Backend/DirectGLES/DirectGLES.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Backend/DirectGLES/DirectGLES.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Backend/DirectGLES/Managers.cpp b/MobileGL/MG_Backend/DirectGLES/Managers.cpp index 27269cf9..27687303 100644 --- a/MobileGL/MG_Backend/DirectGLES/Managers.cpp +++ b/MobileGL/MG_Backend/DirectGLES/Managers.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Backend/DirectGLES/Managers.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "Managers.h" #include "MG_Backend/Backends.h" #include "Utils.h" diff --git a/MobileGL/MG_Backend/DirectGLES/Managers.h b/MobileGL/MG_Backend/DirectGLES/Managers.h index 7269a859..0bcb8d7b 100644 --- a/MobileGL/MG_Backend/DirectGLES/Managers.h +++ b/MobileGL/MG_Backend/DirectGLES/Managers.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Backend/DirectGLES/Managers.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include "DirectGLES.h" diff --git a/MobileGL/MG_Backend/DirectGLES/Utils.cpp b/MobileGL/MG_Backend/DirectGLES/Utils.cpp index 579d3b3e..8775c048 100644 --- a/MobileGL/MG_Backend/DirectGLES/Utils.cpp +++ b/MobileGL/MG_Backend/DirectGLES/Utils.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Backend/DirectGLES/Utils.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "DirectGLES.h" #include "Utils.h" #include "Managers.h" diff --git a/MobileGL/MG_Backend/DirectGLES/Utils.h b/MobileGL/MG_Backend/DirectGLES/Utils.h index b06b6267..8d47d7d0 100644 --- a/MobileGL/MG_Backend/DirectGLES/Utils.h +++ b/MobileGL/MG_Backend/DirectGLES/Utils.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Backend/DirectGLES/Utils.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Backend/Init.cpp b/MobileGL/MG_Backend/Init.cpp index 82adf1fa..aad5afde 100644 --- a/MobileGL/MG_Backend/Init.cpp +++ b/MobileGL/MG_Backend/Init.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Backend/Init.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "Backends.h" #include "MG_Util/Types.h" #include diff --git a/MobileGL/MG_Benchmark/Buffer/BufferBench.cpp b/MobileGL/MG_Benchmark/Buffer/BufferBench.cpp index c3bc11f7..147c0194 100644 --- a/MobileGL/MG_Benchmark/Buffer/BufferBench.cpp +++ b/MobileGL/MG_Benchmark/Buffer/BufferBench.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Benchmark/Buffer/BufferBench.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include #include #include diff --git a/MobileGL/MG_Benchmark/Program/ProgramBench.cpp b/MobileGL/MG_Benchmark/Program/ProgramBench.cpp index 34d934b5..45dfdbdc 100644 --- a/MobileGL/MG_Benchmark/Program/ProgramBench.cpp +++ b/MobileGL/MG_Benchmark/Program/ProgramBench.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Benchmark/Program/ProgramBench.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include #include diff --git a/MobileGL/MG_Benchmark/SanityBench.cpp b/MobileGL/MG_Benchmark/SanityBench.cpp index 28f39494..1e233bff 100644 --- a/MobileGL/MG_Benchmark/SanityBench.cpp +++ b/MobileGL/MG_Benchmark/SanityBench.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Benchmark/SanityBench.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include #include #include diff --git a/MobileGL/MG_Impl/EGLImpl/EGLWrapper/EGLWrapper.cpp b/MobileGL/MG_Impl/EGLImpl/EGLWrapper/EGLWrapper.cpp index 26c32e14..ee34d183 100644 --- a/MobileGL/MG_Impl/EGLImpl/EGLWrapper/EGLWrapper.cpp +++ b/MobileGL/MG_Impl/EGLImpl/EGLWrapper/EGLWrapper.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/EGLImpl/EGLWrapper/EGLWrapper.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "EGLWrapper.h" #include #include diff --git a/MobileGL/MG_Impl/EGLImpl/EGLWrapper/EGLWrapper.h b/MobileGL/MG_Impl/EGLImpl/EGLWrapper/EGLWrapper.h index 3f3cae4f..94e542e8 100644 --- a/MobileGL/MG_Impl/EGLImpl/EGLWrapper/EGLWrapper.h +++ b/MobileGL/MG_Impl/EGLImpl/EGLWrapper/EGLWrapper.h @@ -1,2 +1,9 @@ +// MobileGL - MobileGL/MG_Impl/EGLImpl/EGLWrapper/EGLWrapper.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include \ No newline at end of file diff --git a/MobileGL/MG_Impl/EGLImpl/Exporting/Definitions.cpp b/MobileGL/MG_Impl/EGLImpl/Exporting/Definitions.cpp index aefa0ec4..921164b5 100644 --- a/MobileGL/MG_Impl/EGLImpl/Exporting/Definitions.cpp +++ b/MobileGL/MG_Impl/EGLImpl/Exporting/Definitions.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/EGLImpl/Exporting/Definitions.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include #include "../Temporary/TemporaryEGLImpl.h" diff --git a/MobileGL/MG_Impl/EGLImpl/Temporary/TemporaryEGLImpl.cpp b/MobileGL/MG_Impl/EGLImpl/Temporary/TemporaryEGLImpl.cpp index ce63acd0..24e1e4f0 100644 --- a/MobileGL/MG_Impl/EGLImpl/Temporary/TemporaryEGLImpl.cpp +++ b/MobileGL/MG_Impl/EGLImpl/Temporary/TemporaryEGLImpl.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/EGLImpl/Temporary/TemporaryEGLImpl.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "TemporaryEGLImpl.h" #include diff --git a/MobileGL/MG_Impl/EGLImpl/Temporary/TemporaryEGLImpl.h b/MobileGL/MG_Impl/EGLImpl/Temporary/TemporaryEGLImpl.h index f91d5dc7..6f139b66 100644 --- a/MobileGL/MG_Impl/EGLImpl/Temporary/TemporaryEGLImpl.h +++ b/MobileGL/MG_Impl/EGLImpl/Temporary/TemporaryEGLImpl.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/EGLImpl/Temporary/TemporaryEGLImpl.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.cpp b/MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.cpp index f360a234..83f60e48 100644 --- a/MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.cpp +++ b/MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "GL_Buffer.h" #include "Validators.h" #include "MG_Util/Converters/GLToStr/GLEnumConverter.h" diff --git a/MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.h b/MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.h index 3f6b5fa4..474d5e49 100644 --- a/MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.h +++ b/MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Buffer/GL_Buffer.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Impl/GLImpl/Buffer/Validators.cpp b/MobileGL/MG_Impl/GLImpl/Buffer/Validators.cpp index f78e42b7..4d69f1e2 100644 --- a/MobileGL/MG_Impl/GLImpl/Buffer/Validators.cpp +++ b/MobileGL/MG_Impl/GLImpl/Buffer/Validators.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Buffer/Validators.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "Validators.h" #include #include diff --git a/MobileGL/MG_Impl/GLImpl/Buffer/Validators.h b/MobileGL/MG_Impl/GLImpl/Buffer/Validators.h index d02b5f53..2efe1648 100644 --- a/MobileGL/MG_Impl/GLImpl/Buffer/Validators.h +++ b/MobileGL/MG_Impl/GLImpl/Buffer/Validators.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Buffer/Validators.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Impl/GLImpl/Drawing/GL_Drawing.cpp b/MobileGL/MG_Impl/GLImpl/Drawing/GL_Drawing.cpp index 3d94461c..4624ac2d 100644 --- a/MobileGL/MG_Impl/GLImpl/Drawing/GL_Drawing.cpp +++ b/MobileGL/MG_Impl/GLImpl/Drawing/GL_Drawing.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Drawing/GL_Drawing.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "GL_Drawing.h" #include #include diff --git a/MobileGL/MG_Impl/GLImpl/Drawing/GL_Drawing.h b/MobileGL/MG_Impl/GLImpl/Drawing/GL_Drawing.h index af4c4668..4ae1feea 100644 --- a/MobileGL/MG_Impl/GLImpl/Drawing/GL_Drawing.h +++ b/MobileGL/MG_Impl/GLImpl/Drawing/GL_Drawing.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Drawing/GL_Drawing.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Impl/GLImpl/Exporting/Definitions.cpp b/MobileGL/MG_Impl/GLImpl/Exporting/Definitions.cpp index ee671466..2a979d33 100644 --- a/MobileGL/MG_Impl/GLImpl/Exporting/Definitions.cpp +++ b/MobileGL/MG_Impl/GLImpl/Exporting/Definitions.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Exporting/Definitions.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include #include "../Buffer/GL_Buffer.h" #include "../Getter/GL_Getter.h" diff --git a/MobileGL/MG_Impl/GLImpl/Framebuffer/GL_Framebuffer.cpp b/MobileGL/MG_Impl/GLImpl/Framebuffer/GL_Framebuffer.cpp index 4bd96ef3..9bf82e63 100644 --- a/MobileGL/MG_Impl/GLImpl/Framebuffer/GL_Framebuffer.cpp +++ b/MobileGL/MG_Impl/GLImpl/Framebuffer/GL_Framebuffer.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Framebuffer/GL_Framebuffer.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "GL_Framebuffer.h" #include "Validators.h" #include "Config.h" diff --git a/MobileGL/MG_Impl/GLImpl/Framebuffer/GL_Framebuffer.h b/MobileGL/MG_Impl/GLImpl/Framebuffer/GL_Framebuffer.h index eef88e94..f46f6e62 100644 --- a/MobileGL/MG_Impl/GLImpl/Framebuffer/GL_Framebuffer.h +++ b/MobileGL/MG_Impl/GLImpl/Framebuffer/GL_Framebuffer.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Framebuffer/GL_Framebuffer.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "MG_State/GLState/FramebufferState/FramebufferObject.h" #include diff --git a/MobileGL/MG_Impl/GLImpl/Framebuffer/Validators.cpp b/MobileGL/MG_Impl/GLImpl/Framebuffer/Validators.cpp index 7e32db29..f89bb471 100644 --- a/MobileGL/MG_Impl/GLImpl/Framebuffer/Validators.cpp +++ b/MobileGL/MG_Impl/GLImpl/Framebuffer/Validators.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Framebuffer/Validators.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "Validators.h" #include #include diff --git a/MobileGL/MG_Impl/GLImpl/Framebuffer/Validators.h b/MobileGL/MG_Impl/GLImpl/Framebuffer/Validators.h index 33adc465..8a418432 100644 --- a/MobileGL/MG_Impl/GLImpl/Framebuffer/Validators.h +++ b/MobileGL/MG_Impl/GLImpl/Framebuffer/Validators.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Framebuffer/Validators.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.cpp b/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.cpp index 47953362..80672829 100644 --- a/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.cpp +++ b/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "GL_Getter.h" #include #include diff --git a/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.h b/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.h index c78dbf54..c91c5fd8 100644 --- a/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.h +++ b/MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Getter/GL_Getter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Impl/GLImpl/Program/GL_Program.cpp b/MobileGL/MG_Impl/GLImpl/Program/GL_Program.cpp index c53d627a..688be6c7 100644 --- a/MobileGL/MG_Impl/GLImpl/Program/GL_Program.cpp +++ b/MobileGL/MG_Impl/GLImpl/Program/GL_Program.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Program/GL_Program.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "GL_Program.h" #include "MG_Util/Converters/GLToStr/GLEnumConverter.h" #include diff --git a/MobileGL/MG_Impl/GLImpl/Program/GL_Program.h b/MobileGL/MG_Impl/GLImpl/Program/GL_Program.h index 9a07cee4..8edee58e 100644 --- a/MobileGL/MG_Impl/GLImpl/Program/GL_Program.h +++ b/MobileGL/MG_Impl/GLImpl/Program/GL_Program.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Program/GL_Program.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Impl/GLImpl/RenderState/GL_RenderState.cpp b/MobileGL/MG_Impl/GLImpl/RenderState/GL_RenderState.cpp index a6332553..7c986a23 100644 --- a/MobileGL/MG_Impl/GLImpl/RenderState/GL_RenderState.cpp +++ b/MobileGL/MG_Impl/GLImpl/RenderState/GL_RenderState.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/RenderState/GL_RenderState.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "GL_RenderState.h" #include "MG_State/GLState/RenderState/RenderState.h" #include "MG_Util/Converters/GLToStr/GLEnumConverter.h" diff --git a/MobileGL/MG_Impl/GLImpl/RenderState/GL_RenderState.h b/MobileGL/MG_Impl/GLImpl/RenderState/GL_RenderState.h index c6b597d5..43828d94 100644 --- a/MobileGL/MG_Impl/GLImpl/RenderState/GL_RenderState.h +++ b/MobileGL/MG_Impl/GLImpl/RenderState/GL_RenderState.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/RenderState/GL_RenderState.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Impl/GLImpl/Sampler/GL_Sampler.cpp b/MobileGL/MG_Impl/GLImpl/Sampler/GL_Sampler.cpp index b2c96034..8e753519 100644 --- a/MobileGL/MG_Impl/GLImpl/Sampler/GL_Sampler.cpp +++ b/MobileGL/MG_Impl/GLImpl/Sampler/GL_Sampler.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Sampler/GL_Sampler.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "GL_Sampler.h" #include "Validators.h" #include diff --git a/MobileGL/MG_Impl/GLImpl/Sampler/GL_Sampler.h b/MobileGL/MG_Impl/GLImpl/Sampler/GL_Sampler.h index d767d269..cfbb4046 100644 --- a/MobileGL/MG_Impl/GLImpl/Sampler/GL_Sampler.h +++ b/MobileGL/MG_Impl/GLImpl/Sampler/GL_Sampler.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Sampler/GL_Sampler.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Impl/GLImpl/Sampler/Validators.cpp b/MobileGL/MG_Impl/GLImpl/Sampler/Validators.cpp index 816a1594..7b3d5fa5 100644 --- a/MobileGL/MG_Impl/GLImpl/Sampler/Validators.cpp +++ b/MobileGL/MG_Impl/GLImpl/Sampler/Validators.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Sampler/Validators.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "Validators.h" #include #include diff --git a/MobileGL/MG_Impl/GLImpl/Sampler/Validators.h b/MobileGL/MG_Impl/GLImpl/Sampler/Validators.h index e9800d29..adafc328 100644 --- a/MobileGL/MG_Impl/GLImpl/Sampler/Validators.h +++ b/MobileGL/MG_Impl/GLImpl/Sampler/Validators.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Sampler/Validators.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Impl/GLImpl/Sync/GL_Sync.cpp b/MobileGL/MG_Impl/GLImpl/Sync/GL_Sync.cpp index 226ddad7..c1e88577 100644 --- a/MobileGL/MG_Impl/GLImpl/Sync/GL_Sync.cpp +++ b/MobileGL/MG_Impl/GLImpl/Sync/GL_Sync.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Sync/GL_Sync.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "GL_Sync.h" #include "MG_State/GLState/Core.h" diff --git a/MobileGL/MG_Impl/GLImpl/Sync/GL_Sync.h b/MobileGL/MG_Impl/GLImpl/Sync/GL_Sync.h index e950b96c..9e30691c 100644 --- a/MobileGL/MG_Impl/GLImpl/Sync/GL_Sync.h +++ b/MobileGL/MG_Impl/GLImpl/Sync/GL_Sync.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Sync/GL_Sync.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Impl/GLImpl/Texture/GL_Texture.cpp b/MobileGL/MG_Impl/GLImpl/Texture/GL_Texture.cpp index b81b013e..fae39a67 100644 --- a/MobileGL/MG_Impl/GLImpl/Texture/GL_Texture.cpp +++ b/MobileGL/MG_Impl/GLImpl/Texture/GL_Texture.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Texture/GL_Texture.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "GL_Texture.h" #include "GL/gl.h" #include "Config.h" diff --git a/MobileGL/MG_Impl/GLImpl/Texture/GL_Texture.h b/MobileGL/MG_Impl/GLImpl/Texture/GL_Texture.h index 0b05e7a7..392e5fee 100644 --- a/MobileGL/MG_Impl/GLImpl/Texture/GL_Texture.h +++ b/MobileGL/MG_Impl/GLImpl/Texture/GL_Texture.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Texture/GL_Texture.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Impl/GLImpl/Texture/ProxyTexture.cpp b/MobileGL/MG_Impl/GLImpl/Texture/ProxyTexture.cpp index da8bc71c..dc447936 100644 --- a/MobileGL/MG_Impl/GLImpl/Texture/ProxyTexture.cpp +++ b/MobileGL/MG_Impl/GLImpl/Texture/ProxyTexture.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Texture/ProxyTexture.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "ProxyTexture.h" #include "MG_State/GLState/TextureState/TextureObject2D.h" #include "MG_Util/Types.h" diff --git a/MobileGL/MG_Impl/GLImpl/Texture/ProxyTexture.h b/MobileGL/MG_Impl/GLImpl/Texture/ProxyTexture.h index 83f112f0..e5598f29 100644 --- a/MobileGL/MG_Impl/GLImpl/Texture/ProxyTexture.h +++ b/MobileGL/MG_Impl/GLImpl/Texture/ProxyTexture.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Texture/ProxyTexture.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Impl/GLImpl/Texture/Validators.cpp b/MobileGL/MG_Impl/GLImpl/Texture/Validators.cpp index 8d40865a..403e2445 100644 --- a/MobileGL/MG_Impl/GLImpl/Texture/Validators.cpp +++ b/MobileGL/MG_Impl/GLImpl/Texture/Validators.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Texture/Validators.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "Validators.h" #include "MG_State/GLState/TextureState/TextureObject.h" #include "MG_Util/Types.h" diff --git a/MobileGL/MG_Impl/GLImpl/Texture/Validators.h b/MobileGL/MG_Impl/GLImpl/Texture/Validators.h index 18354fd5..e80aa622 100644 --- a/MobileGL/MG_Impl/GLImpl/Texture/Validators.h +++ b/MobileGL/MG_Impl/GLImpl/Texture/Validators.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/Texture/Validators.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "MG_Util/Types.h" #include diff --git a/MobileGL/MG_Impl/GLImpl/VertexArray/GL_VertexArray.cpp b/MobileGL/MG_Impl/GLImpl/VertexArray/GL_VertexArray.cpp index cadc0365..df4ddd13 100644 --- a/MobileGL/MG_Impl/GLImpl/VertexArray/GL_VertexArray.cpp +++ b/MobileGL/MG_Impl/GLImpl/VertexArray/GL_VertexArray.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/VertexArray/GL_VertexArray.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "GL_VertexArray.h" #include "Validators.h" #include diff --git a/MobileGL/MG_Impl/GLImpl/VertexArray/GL_VertexArray.h b/MobileGL/MG_Impl/GLImpl/VertexArray/GL_VertexArray.h index 317d7edd..1b66cf20 100644 --- a/MobileGL/MG_Impl/GLImpl/VertexArray/GL_VertexArray.h +++ b/MobileGL/MG_Impl/GLImpl/VertexArray/GL_VertexArray.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/VertexArray/GL_VertexArray.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Impl/GLImpl/VertexArray/Validators.cpp b/MobileGL/MG_Impl/GLImpl/VertexArray/Validators.cpp index 1287725b..9451b7d1 100644 --- a/MobileGL/MG_Impl/GLImpl/VertexArray/Validators.cpp +++ b/MobileGL/MG_Impl/GLImpl/VertexArray/Validators.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/VertexArray/Validators.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "Validators.h" #include #include diff --git a/MobileGL/MG_Impl/GLImpl/VertexArray/Validators.h b/MobileGL/MG_Impl/GLImpl/VertexArray/Validators.h index f7bbd0e0..86232a13 100644 --- a/MobileGL/MG_Impl/GLImpl/VertexArray/Validators.h +++ b/MobileGL/MG_Impl/GLImpl/VertexArray/Validators.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLImpl/VertexArray/Validators.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Impl/GLXImpl/Exporting/Definitions.cpp b/MobileGL/MG_Impl/GLXImpl/Exporting/Definitions.cpp index 46f3e9a1..41628de6 100644 --- a/MobileGL/MG_Impl/GLXImpl/Exporting/Definitions.cpp +++ b/MobileGL/MG_Impl/GLXImpl/Exporting/Definitions.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLXImpl/Exporting/Definitions.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include #include "../LookUp/LookUp.h" diff --git a/MobileGL/MG_Impl/GLXImpl/LookUp/LookUp.cpp b/MobileGL/MG_Impl/GLXImpl/LookUp/LookUp.cpp index 48145548..e280879f 100644 --- a/MobileGL/MG_Impl/GLXImpl/LookUp/LookUp.cpp +++ b/MobileGL/MG_Impl/GLXImpl/LookUp/LookUp.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLXImpl/LookUp/LookUp.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "LookUp.h" namespace MG_Impl::GLXImpl { diff --git a/MobileGL/MG_Impl/GLXImpl/LookUp/LookUp.h b/MobileGL/MG_Impl/GLXImpl/LookUp/LookUp.h index 3ccd293f..bcd7f829 100644 --- a/MobileGL/MG_Impl/GLXImpl/LookUp/LookUp.h +++ b/MobileGL/MG_Impl/GLXImpl/LookUp/LookUp.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/GLXImpl/LookUp/LookUp.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Impl/Init.cpp b/MobileGL/MG_Impl/Init.cpp index 03fc1fb1..d7e5133c 100644 --- a/MobileGL/MG_Impl/Init.cpp +++ b/MobileGL/MG_Impl/Init.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/Init.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "Init.h" #include "GLImpl/Texture/ProxyTexture.h" #include "GLImpl/Framebuffer/GL_Framebuffer.h" diff --git a/MobileGL/MG_Impl/Init.h b/MobileGL/MG_Impl/Init.h index 45efa274..25fc9d83 100644 --- a/MobileGL/MG_Impl/Init.h +++ b/MobileGL/MG_Impl/Init.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Impl/Init.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/BufferState/BufferObject.cpp b/MobileGL/MG_State/GLState/BufferState/BufferObject.cpp index 15805fc4..f0819d4e 100644 --- a/MobileGL/MG_State/GLState/BufferState/BufferObject.cpp +++ b/MobileGL/MG_State/GLState/BufferState/BufferObject.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/BufferState/BufferObject.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "BufferObject.h" #include "MG_Util/Types.h" diff --git a/MobileGL/MG_State/GLState/BufferState/BufferObject.h b/MobileGL/MG_State/GLState/BufferState/BufferObject.h index 7da9f539..6e8aef2d 100644 --- a/MobileGL/MG_State/GLState/BufferState/BufferObject.h +++ b/MobileGL/MG_State/GLState/BufferState/BufferObject.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/BufferState/BufferObject.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "MG_Util/Types.h" #include diff --git a/MobileGL/MG_State/GLState/BufferState/BufferState.cpp b/MobileGL/MG_State/GLState/BufferState/BufferState.cpp index 50acdc0f..76da89c7 100644 --- a/MobileGL/MG_State/GLState/BufferState/BufferState.cpp +++ b/MobileGL/MG_State/GLState/BufferState/BufferState.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/BufferState/BufferState.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "BufferState.h" namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/BufferState/BufferState.h b/MobileGL/MG_State/GLState/BufferState/BufferState.h index ba14c92c..fdb08a33 100644 --- a/MobileGL/MG_State/GLState/BufferState/BufferState.h +++ b/MobileGL/MG_State/GLState/BufferState/BufferState.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/BufferState/BufferState.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_State/GLState/Core.cpp b/MobileGL/MG_State/GLState/Core.cpp index 9c71c88f..abe28771 100644 --- a/MobileGL/MG_State/GLState/Core.cpp +++ b/MobileGL/MG_State/GLState/Core.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/Core.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "Core.h" #include "MG_State/GLState/RenderbufferState/RenderbufferObject.h" diff --git a/MobileGL/MG_State/GLState/Core.h b/MobileGL/MG_State/GLState/Core.h index 41c5c269..8abb3fb4 100644 --- a/MobileGL/MG_State/GLState/Core.h +++ b/MobileGL/MG_State/GLState/Core.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/Core.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include "ErrorState/Error.h" diff --git a/MobileGL/MG_State/GLState/ErrorState/Error.cpp b/MobileGL/MG_State/GLState/ErrorState/Error.cpp index c57945b1..6736d5f9 100644 --- a/MobileGL/MG_State/GLState/ErrorState/Error.cpp +++ b/MobileGL/MG_State/GLState/ErrorState/Error.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/ErrorState/Error.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "Error.h" #include #include diff --git a/MobileGL/MG_State/GLState/ErrorState/Error.h b/MobileGL/MG_State/GLState/ErrorState/Error.h index d62528cf..7c82e19d 100644 --- a/MobileGL/MG_State/GLState/ErrorState/Error.h +++ b/MobileGL/MG_State/GLState/ErrorState/Error.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/ErrorState/Error.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include "ErrorCode.h" diff --git a/MobileGL/MG_State/GLState/ErrorState/ErrorCode.h b/MobileGL/MG_State/GLState/ErrorState/ErrorCode.h index 7d21cf18..2c69a3af 100644 --- a/MobileGL/MG_State/GLState/ErrorState/ErrorCode.h +++ b/MobileGL/MG_State/GLState/ErrorState/ErrorCode.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/ErrorState/ErrorCode.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/ErrorState/ErrorInfo.h b/MobileGL/MG_State/GLState/ErrorState/ErrorInfo.h index faf245ff..977b68ae 100644 --- a/MobileGL/MG_State/GLState/ErrorState/ErrorInfo.h +++ b/MobileGL/MG_State/GLState/ErrorState/ErrorInfo.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/ErrorState/ErrorInfo.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_State/GLState/FramebufferState/FramebufferObject.cpp b/MobileGL/MG_State/GLState/FramebufferState/FramebufferObject.cpp index a1bdd6ed..094d38a3 100644 --- a/MobileGL/MG_State/GLState/FramebufferState/FramebufferObject.cpp +++ b/MobileGL/MG_State/GLState/FramebufferState/FramebufferObject.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/FramebufferState/FramebufferObject.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "FramebufferObject.h" #include "MG_Util/Types.h" diff --git a/MobileGL/MG_State/GLState/FramebufferState/FramebufferObject.h b/MobileGL/MG_State/GLState/FramebufferState/FramebufferObject.h index d265752a..c8baca0f 100644 --- a/MobileGL/MG_State/GLState/FramebufferState/FramebufferObject.h +++ b/MobileGL/MG_State/GLState/FramebufferState/FramebufferObject.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/FramebufferState/FramebufferObject.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_State/GLState/FramebufferState/FramebufferState.cpp b/MobileGL/MG_State/GLState/FramebufferState/FramebufferState.cpp index 8aab573c..00212927 100644 --- a/MobileGL/MG_State/GLState/FramebufferState/FramebufferState.cpp +++ b/MobileGL/MG_State/GLState/FramebufferState/FramebufferState.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/FramebufferState/FramebufferState.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "FramebufferState.h" #include "MG_State/GLState/FramebufferState/FramebufferObject.h" diff --git a/MobileGL/MG_State/GLState/FramebufferState/FramebufferState.h b/MobileGL/MG_State/GLState/FramebufferState/FramebufferState.h index 14653f90..bb310ae2 100644 --- a/MobileGL/MG_State/GLState/FramebufferState/FramebufferState.h +++ b/MobileGL/MG_State/GLState/FramebufferState/FramebufferState.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/FramebufferState/FramebufferState.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp b/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp index 55f0a8fe..33d46e5f 100644 --- a/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp +++ b/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "ProgramObject.h" #include "MG_Util/Converters/GLToStr/GLEnumConverter.h" #include "MG_Util/ShaderTranspiler/Types.h" diff --git a/MobileGL/MG_State/GLState/ProgramState/ProgramObject.h b/MobileGL/MG_State/GLState/ProgramState/ProgramObject.h index d179f680..1592a620 100644 --- a/MobileGL/MG_State/GLState/ProgramState/ProgramObject.h +++ b/MobileGL/MG_State/GLState/ProgramState/ProgramObject.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/ProgramState/ProgramObject.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include "ShaderObject.h" diff --git a/MobileGL/MG_State/GLState/ProgramState/ProgramState.cpp b/MobileGL/MG_State/GLState/ProgramState/ProgramState.cpp index 6101f773..5d9ec1e9 100644 --- a/MobileGL/MG_State/GLState/ProgramState/ProgramState.cpp +++ b/MobileGL/MG_State/GLState/ProgramState/ProgramState.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/ProgramState/ProgramState.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "ProgramState.h" namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/ProgramState/ProgramState.h b/MobileGL/MG_State/GLState/ProgramState/ProgramState.h index 52fb2c05..aa844104 100644 --- a/MobileGL/MG_State/GLState/ProgramState/ProgramState.h +++ b/MobileGL/MG_State/GLState/ProgramState/ProgramState.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/ProgramState/ProgramState.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_State/GLState/ProgramState/ShaderObject.cpp b/MobileGL/MG_State/GLState/ProgramState/ShaderObject.cpp index 73be7323..99c5e9d3 100644 --- a/MobileGL/MG_State/GLState/ProgramState/ShaderObject.cpp +++ b/MobileGL/MG_State/GLState/ProgramState/ShaderObject.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/ProgramState/ShaderObject.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "ShaderObject.h" #include #include diff --git a/MobileGL/MG_State/GLState/ProgramState/ShaderObject.h b/MobileGL/MG_State/GLState/ProgramState/ShaderObject.h index 809a956f..0955de6f 100644 --- a/MobileGL/MG_State/GLState/ProgramState/ShaderObject.h +++ b/MobileGL/MG_State/GLState/ProgramState/ShaderObject.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/ProgramState/ShaderObject.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_State/GLState/RenderState/RenderState.cpp b/MobileGL/MG_State/GLState/RenderState/RenderState.cpp index cd937b9f..06f41b50 100644 --- a/MobileGL/MG_State/GLState/RenderState/RenderState.cpp +++ b/MobileGL/MG_State/GLState/RenderState/RenderState.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/RenderState/RenderState.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "RenderState.h" namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/RenderState/RenderState.h b/MobileGL/MG_State/GLState/RenderState/RenderState.h index 49998b61..cba9c318 100644 --- a/MobileGL/MG_State/GLState/RenderState/RenderState.h +++ b/MobileGL/MG_State/GLState/RenderState/RenderState.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/RenderState/RenderState.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "MG_Util/Math/VectorTypes.h" #include "MG_Util/Types.h" diff --git a/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferObject.cpp b/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferObject.cpp index fc36f01f..c2d51838 100644 --- a/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferObject.cpp +++ b/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferObject.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/RenderbufferState/RenderbufferObject.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "RenderbufferObject.h" #include diff --git a/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferObject.h b/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferObject.h index c82f53cc..58a87856 100644 --- a/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferObject.h +++ b/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferObject.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/RenderbufferState/RenderbufferObject.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferState.cpp b/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferState.cpp index 53ac985e..7de8b45d 100644 --- a/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferState.cpp +++ b/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferState.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/RenderbufferState/RenderbufferState.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "RenderbufferState.h" namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferState.h b/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferState.h index 7bd4ed32..b6305dae 100644 --- a/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferState.h +++ b/MobileGL/MG_State/GLState/RenderbufferState/RenderbufferState.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/RenderbufferState/RenderbufferState.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_State/GLState/SamplerState/SamplerObject.cpp b/MobileGL/MG_State/GLState/SamplerState/SamplerObject.cpp index 03780c94..a9fc351b 100644 --- a/MobileGL/MG_State/GLState/SamplerState/SamplerObject.cpp +++ b/MobileGL/MG_State/GLState/SamplerState/SamplerObject.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/SamplerState/SamplerObject.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "SamplerObject.h" namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/SamplerState/SamplerObject.h b/MobileGL/MG_State/GLState/SamplerState/SamplerObject.h index b8d84e69..12628a03 100644 --- a/MobileGL/MG_State/GLState/SamplerState/SamplerObject.h +++ b/MobileGL/MG_State/GLState/SamplerState/SamplerObject.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/SamplerState/SamplerObject.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_State/GLState/SamplerState/SamplerState.cpp b/MobileGL/MG_State/GLState/SamplerState/SamplerState.cpp index 1d937439..7a686b7a 100644 --- a/MobileGL/MG_State/GLState/SamplerState/SamplerState.cpp +++ b/MobileGL/MG_State/GLState/SamplerState/SamplerState.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/SamplerState/SamplerState.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "SamplerState.h" namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/SamplerState/SamplerState.h b/MobileGL/MG_State/GLState/SamplerState/SamplerState.h index ba8c4b97..a5f086bf 100644 --- a/MobileGL/MG_State/GLState/SamplerState/SamplerState.h +++ b/MobileGL/MG_State/GLState/SamplerState/SamplerState.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/SamplerState/SamplerState.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "SamplerObject.h" #include diff --git a/MobileGL/MG_State/GLState/TextureState/MipmapStorage.cpp b/MobileGL/MG_State/GLState/TextureState/MipmapStorage.cpp index 413b6881..9fd1641e 100644 --- a/MobileGL/MG_State/GLState/TextureState/MipmapStorage.cpp +++ b/MobileGL/MG_State/GLState/TextureState/MipmapStorage.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/MipmapStorage.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "MipmapStorage.h" namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/TextureState/MipmapStorage.h b/MobileGL/MG_State/GLState/TextureState/MipmapStorage.h index 105d7080..c5fbeb89 100644 --- a/MobileGL/MG_State/GLState/TextureState/MipmapStorage.h +++ b/MobileGL/MG_State/GLState/TextureState/MipmapStorage.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/MipmapStorage.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "TextureEnum.h" #include "MG_Util/Types.h" diff --git a/MobileGL/MG_State/GLState/TextureState/MipmapUploadTargetArray.h b/MobileGL/MG_State/GLState/TextureState/MipmapUploadTargetArray.h index 27d9f761..d5aec594 100644 --- a/MobileGL/MG_State/GLState/TextureState/MipmapUploadTargetArray.h +++ b/MobileGL/MG_State/GLState/TextureState/MipmapUploadTargetArray.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/MipmapUploadTargetArray.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "MipmapStorage.h" #include "TextureEnum.h" diff --git a/MobileGL/MG_State/GLState/TextureState/TextureEnum.h b/MobileGL/MG_State/GLState/TextureState/TextureEnum.h index 99e14728..4be0e96d 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureEnum.h +++ b/MobileGL/MG_State/GLState/TextureState/TextureEnum.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureEnum.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/TextureState/TextureObject.cpp b/MobileGL/MG_State/GLState/TextureState/TextureObject.cpp index 98219968..b2ef21d2 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureObject.cpp +++ b/MobileGL/MG_State/GLState/TextureState/TextureObject.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureObject.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "TextureObject.h" #include diff --git a/MobileGL/MG_State/GLState/TextureState/TextureObject.h b/MobileGL/MG_State/GLState/TextureState/TextureObject.h index 0d83409e..9bb2d9d2 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureObject.h +++ b/MobileGL/MG_State/GLState/TextureState/TextureObject.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureObject.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "TextureEnum.h" #include "MipmapUploadTargetArray.h" diff --git a/MobileGL/MG_State/GLState/TextureState/TextureObject1D.cpp b/MobileGL/MG_State/GLState/TextureState/TextureObject1D.cpp index d1ef8a6a..fb77be00 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureObject1D.cpp +++ b/MobileGL/MG_State/GLState/TextureState/TextureObject1D.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureObject1D.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "TextureObject1D.h" namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/TextureState/TextureObject1D.h b/MobileGL/MG_State/GLState/TextureState/TextureObject1D.h index 5a873f12..ffec54a0 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureObject1D.h +++ b/MobileGL/MG_State/GLState/TextureState/TextureObject1D.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureObject1D.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "TextureObject.h" diff --git a/MobileGL/MG_State/GLState/TextureState/TextureObject2D.cpp b/MobileGL/MG_State/GLState/TextureState/TextureObject2D.cpp index fd96a8ba..dca1bdc8 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureObject2D.cpp +++ b/MobileGL/MG_State/GLState/TextureState/TextureObject2D.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureObject2D.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "TextureObject2D.h" namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/TextureState/TextureObject2D.h b/MobileGL/MG_State/GLState/TextureState/TextureObject2D.h index 11b814e3..69659139 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureObject2D.h +++ b/MobileGL/MG_State/GLState/TextureState/TextureObject2D.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureObject2D.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "TextureObject.h" diff --git a/MobileGL/MG_State/GLState/TextureState/TextureObject2DCube.cpp b/MobileGL/MG_State/GLState/TextureState/TextureObject2DCube.cpp index f643f539..c65f4bac 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureObject2DCube.cpp +++ b/MobileGL/MG_State/GLState/TextureState/TextureObject2DCube.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureObject2DCube.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "TextureObject2DCube.h" namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/TextureState/TextureObject2DCube.h b/MobileGL/MG_State/GLState/TextureState/TextureObject2DCube.h index 46c42a4a..7fbae34e 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureObject2DCube.h +++ b/MobileGL/MG_State/GLState/TextureState/TextureObject2DCube.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureObject2DCube.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "TextureObject.h" diff --git a/MobileGL/MG_State/GLState/TextureState/TextureObject3D.cpp b/MobileGL/MG_State/GLState/TextureState/TextureObject3D.cpp index e472edc0..2c182deb 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureObject3D.cpp +++ b/MobileGL/MG_State/GLState/TextureState/TextureObject3D.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureObject3D.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "TextureObject3D.h" namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/TextureState/TextureObject3D.h b/MobileGL/MG_State/GLState/TextureState/TextureObject3D.h index 98b0c973..f737beec 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureObject3D.h +++ b/MobileGL/MG_State/GLState/TextureState/TextureObject3D.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureObject3D.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "TextureObject.h" diff --git a/MobileGL/MG_State/GLState/TextureState/TextureObjectBuffer.cpp b/MobileGL/MG_State/GLState/TextureState/TextureObjectBuffer.cpp index e96301fa..4433abe2 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureObjectBuffer.cpp +++ b/MobileGL/MG_State/GLState/TextureState/TextureObjectBuffer.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureObjectBuffer.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "TextureObjectBuffer.h" namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/TextureState/TextureObjectBuffer.h b/MobileGL/MG_State/GLState/TextureState/TextureObjectBuffer.h index 29fcc21a..d890e210 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureObjectBuffer.h +++ b/MobileGL/MG_State/GLState/TextureState/TextureObjectBuffer.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureObjectBuffer.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "TextureObject.h" #include "MG_State/GLState/BufferState/BufferObject.h" diff --git a/MobileGL/MG_State/GLState/TextureState/TextureObjectStubs.h b/MobileGL/MG_State/GLState/TextureState/TextureObjectStubs.h index fad347df..b24e7dbb 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureObjectStubs.h +++ b/MobileGL/MG_State/GLState/TextureState/TextureObjectStubs.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureObjectStubs.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "MG_State/GLState/TextureState/TextureEnum.h" #include "TextureObject.h" diff --git a/MobileGL/MG_State/GLState/TextureState/TextureState.cpp b/MobileGL/MG_State/GLState/TextureState/TextureState.cpp index aab12d87..92c95f5d 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureState.cpp +++ b/MobileGL/MG_State/GLState/TextureState/TextureState.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureState.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "TextureState.h" #include "Defines.h" #include "TextureEnum.h" diff --git a/MobileGL/MG_State/GLState/TextureState/TextureState.h b/MobileGL/MG_State/GLState/TextureState/TextureState.h index fb944159..68a98406 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureState.h +++ b/MobileGL/MG_State/GLState/TextureState/TextureState.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureState.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_State/GLState/TextureState/TextureTypes.h b/MobileGL/MG_State/GLState/TextureState/TextureTypes.h index b51a10d0..9fc440b6 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureTypes.h +++ b/MobileGL/MG_State/GLState/TextureState/TextureTypes.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureTypes.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "MG_Util/Types.h" #include "MG_Util/Math/VectorTypes.h" diff --git a/MobileGL/MG_State/GLState/TextureState/TextureUnit.cpp b/MobileGL/MG_State/GLState/TextureState/TextureUnit.cpp index c7600561..b5e8ebd0 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureUnit.cpp +++ b/MobileGL/MG_State/GLState/TextureState/TextureUnit.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureUnit.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "TextureUnit.h" namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/TextureState/TextureUnit.h b/MobileGL/MG_State/GLState/TextureState/TextureUnit.h index 1ffa254a..3f833651 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureUnit.h +++ b/MobileGL/MG_State/GLState/TextureState/TextureUnit.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/TextureState/TextureUnit.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayObject.cpp b/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayObject.cpp index c5231df8..44e7fbcf 100644 --- a/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayObject.cpp +++ b/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayObject.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/VertexArrayState/VertexArrayObject.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "VertexArrayObject.h" namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayObject.h b/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayObject.h index 63374fc4..876f8828 100644 --- a/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayObject.h +++ b/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayObject.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/VertexArrayState/VertexArrayObject.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include "../BufferState/BufferObject.h" diff --git a/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayState.cpp b/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayState.cpp index a4d6d0bf..2759812f 100644 --- a/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayState.cpp +++ b/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayState.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/VertexArrayState/VertexArrayState.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "VertexArrayState.h" namespace MobileGL { diff --git a/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayState.h b/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayState.h index d77468e5..186d6ce1 100644 --- a/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayState.h +++ b/MobileGL/MG_State/GLState/VertexArrayState/VertexArrayState.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_State/GLState/VertexArrayState/VertexArrayState.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include "VertexArrayObject.h" diff --git a/MobileGL/MG_Test/Buffer/BufferTest.cpp b/MobileGL/MG_Test/Buffer/BufferTest.cpp index 865410fa..14febcaa 100644 --- a/MobileGL/MG_Test/Buffer/BufferTest.cpp +++ b/MobileGL/MG_Test/Buffer/BufferTest.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Test/Buffer/BufferTest.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include #include "Includes.h" diff --git a/MobileGL/MG_Test/Program/ProgramTest.cpp b/MobileGL/MG_Test/Program/ProgramTest.cpp index 7ad62693..6a53d21b 100644 --- a/MobileGL/MG_Test/Program/ProgramTest.cpp +++ b/MobileGL/MG_Test/Program/ProgramTest.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Test/Program/ProgramTest.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include #include "Includes.h" #include "MG_Impl/GLImpl/Program/GL_Program.h" diff --git a/MobileGL/MG_Test/Program/ProgramUtilTest.cpp b/MobileGL/MG_Test/Program/ProgramUtilTest.cpp index b19af794..be189ed3 100644 --- a/MobileGL/MG_Test/Program/ProgramUtilTest.cpp +++ b/MobileGL/MG_Test/Program/ProgramUtilTest.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Test/Program/ProgramUtilTest.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include #include "Includes.h" diff --git a/MobileGL/MG_Test/SanityTest.cpp b/MobileGL/MG_Test/SanityTest.cpp index 20043908..140f55c4 100644 --- a/MobileGL/MG_Test/SanityTest.cpp +++ b/MobileGL/MG_Test/SanityTest.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Test/SanityTest.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include TEST(Sanity, BasicAssertions) { diff --git a/MobileGL/MG_Test/VertexArray/VertexArrayTest.cpp b/MobileGL/MG_Test/VertexArray/VertexArrayTest.cpp index a6ae8bf5..4d6dbd63 100644 --- a/MobileGL/MG_Test/VertexArray/VertexArrayTest.cpp +++ b/MobileGL/MG_Test/VertexArray/VertexArrayTest.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Test/VertexArray/VertexArrayTest.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include #include "Includes.h" #include diff --git a/MobileGL/MG_Util/BackendLoaders/OpenGL/Loader.cpp b/MobileGL/MG_Util/BackendLoaders/OpenGL/Loader.cpp index c9132f50..62091027 100644 --- a/MobileGL/MG_Util/BackendLoaders/OpenGL/Loader.cpp +++ b/MobileGL/MG_Util/BackendLoaders/OpenGL/Loader.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/BackendLoaders/OpenGL/Loader.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "Loader.h" #define GL_FUNC_DECL(name) name##_PTR name; diff --git a/MobileGL/MG_Util/BackendLoaders/OpenGL/Loader.h b/MobileGL/MG_Util/BackendLoaders/OpenGL/Loader.h index de3a0c10..72195ebd 100644 --- a/MobileGL/MG_Util/BackendLoaders/OpenGL/Loader.h +++ b/MobileGL/MG_Util/BackendLoaders/OpenGL/Loader.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/BackendLoaders/OpenGL/Loader.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include #define MOBILEGL_EXTERNAL_GLES diff --git a/MobileGL/MG_Util/Classifiers/TextureEnumClassifier.cpp b/MobileGL/MG_Util/Classifiers/TextureEnumClassifier.cpp index 99097cef..748f38df 100644 --- a/MobileGL/MG_Util/Classifiers/TextureEnumClassifier.cpp +++ b/MobileGL/MG_Util/Classifiers/TextureEnumClassifier.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Classifiers/TextureEnumClassifier.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "TextureEnumClassifier.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Classifiers/TextureEnumClassifier.h b/MobileGL/MG_Util/Classifiers/TextureEnumClassifier.h index 8737e562..60e0f712 100644 --- a/MobileGL/MG_Util/Classifiers/TextureEnumClassifier.h +++ b/MobileGL/MG_Util/Classifiers/TextureEnumClassifier.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Classifiers/TextureEnumClassifier.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/GLToGlslang/ProgramEnumConverter.cpp b/MobileGL/MG_Util/Converters/GLToGlslang/ProgramEnumConverter.cpp index fc956175..a68685e1 100644 --- a/MobileGL/MG_Util/Converters/GLToGlslang/ProgramEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/GLToGlslang/ProgramEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToGlslang/ProgramEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "ProgramEnumConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/GLToGlslang/ProgramEnumConverter.h b/MobileGL/MG_Util/Converters/GLToGlslang/ProgramEnumConverter.h index c20afeaf..3696a46e 100644 --- a/MobileGL/MG_Util/Converters/GLToGlslang/ProgramEnumConverter.h +++ b/MobileGL/MG_Util/Converters/GLToGlslang/ProgramEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToGlslang/ProgramEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Util/Converters/GLToMG/BufferEnumConverter.cpp b/MobileGL/MG_Util/Converters/GLToMG/BufferEnumConverter.cpp index 8c213ee0..35c0951b 100644 --- a/MobileGL/MG_Util/Converters/GLToMG/BufferEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/GLToMG/BufferEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToMG/BufferEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "BufferEnumConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/GLToMG/BufferEnumConverter.h b/MobileGL/MG_Util/Converters/GLToMG/BufferEnumConverter.h index ffddf8a7..233c7601 100644 --- a/MobileGL/MG_Util/Converters/GLToMG/BufferEnumConverter.h +++ b/MobileGL/MG_Util/Converters/GLToMG/BufferEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToMG/BufferEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/GLToMG/DataTypeConverter.cpp b/MobileGL/MG_Util/Converters/GLToMG/DataTypeConverter.cpp index fcd08ce8..b22e9274 100644 --- a/MobileGL/MG_Util/Converters/GLToMG/DataTypeConverter.cpp +++ b/MobileGL/MG_Util/Converters/GLToMG/DataTypeConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToMG/DataTypeConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "DataTypeConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/GLToMG/DataTypeConverter.h b/MobileGL/MG_Util/Converters/GLToMG/DataTypeConverter.h index 0f498508..0d7ad419 100644 --- a/MobileGL/MG_Util/Converters/GLToMG/DataTypeConverter.h +++ b/MobileGL/MG_Util/Converters/GLToMG/DataTypeConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToMG/DataTypeConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Util/Converters/GLToMG/FramebufferEnumConverter.cpp b/MobileGL/MG_Util/Converters/GLToMG/FramebufferEnumConverter.cpp index 5fd86e74..2c736b13 100644 --- a/MobileGL/MG_Util/Converters/GLToMG/FramebufferEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/GLToMG/FramebufferEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToMG/FramebufferEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "FramebufferEnumConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/GLToMG/FramebufferEnumConverter.h b/MobileGL/MG_Util/Converters/GLToMG/FramebufferEnumConverter.h index faec8992..b069121c 100644 --- a/MobileGL/MG_Util/Converters/GLToMG/FramebufferEnumConverter.h +++ b/MobileGL/MG_Util/Converters/GLToMG/FramebufferEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToMG/FramebufferEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/GLToMG/ProgramEnumConverter.cpp b/MobileGL/MG_Util/Converters/GLToMG/ProgramEnumConverter.cpp index 7e19582f..2426c757 100644 --- a/MobileGL/MG_Util/Converters/GLToMG/ProgramEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/GLToMG/ProgramEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToMG/ProgramEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "ProgramEnumConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/GLToMG/ProgramEnumConverter.h b/MobileGL/MG_Util/Converters/GLToMG/ProgramEnumConverter.h index 9f9c21ac..61167713 100644 --- a/MobileGL/MG_Util/Converters/GLToMG/ProgramEnumConverter.h +++ b/MobileGL/MG_Util/Converters/GLToMG/ProgramEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToMG/ProgramEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/GLToMG/RenderStateEnumConverter.cpp b/MobileGL/MG_Util/Converters/GLToMG/RenderStateEnumConverter.cpp index fe6a5481..d77f221c 100644 --- a/MobileGL/MG_Util/Converters/GLToMG/RenderStateEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/GLToMG/RenderStateEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToMG/RenderStateEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "RenderStateEnumConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/GLToMG/RenderStateEnumConverter.h b/MobileGL/MG_Util/Converters/GLToMG/RenderStateEnumConverter.h index c4332671..f569e481 100644 --- a/MobileGL/MG_Util/Converters/GLToMG/RenderStateEnumConverter.h +++ b/MobileGL/MG_Util/Converters/GLToMG/RenderStateEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToMG/RenderStateEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/GLToMG/TextureEnumConverter.cpp b/MobileGL/MG_Util/Converters/GLToMG/TextureEnumConverter.cpp index 60c3aaa4..f4d1f169 100644 --- a/MobileGL/MG_Util/Converters/GLToMG/TextureEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/GLToMG/TextureEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToMG/TextureEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "TextureEnumConverter.h" #include "GL/glext.h" #include "MG_Util/Converters/GLToStr/GLEnumConverter.h" diff --git a/MobileGL/MG_Util/Converters/GLToMG/TextureEnumConverter.h b/MobileGL/MG_Util/Converters/GLToMG/TextureEnumConverter.h index 13833c3a..4ce3c0b6 100644 --- a/MobileGL/MG_Util/Converters/GLToMG/TextureEnumConverter.h +++ b/MobileGL/MG_Util/Converters/GLToMG/TextureEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToMG/TextureEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/GLToStr/GLEnumConverter.cpp b/MobileGL/MG_Util/Converters/GLToStr/GLEnumConverter.cpp index e1f44b17..2cc8e175 100644 --- a/MobileGL/MG_Util/Converters/GLToStr/GLEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/GLToStr/GLEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToStr/GLEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "GLEnumConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/GLToStr/GLEnumConverter.h b/MobileGL/MG_Util/Converters/GLToStr/GLEnumConverter.h index b982d2dd..ba5eb2f2 100644 --- a/MobileGL/MG_Util/Converters/GLToStr/GLEnumConverter.h +++ b/MobileGL/MG_Util/Converters/GLToStr/GLEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/GLToStr/GLEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Util/Converters/MGToGL/BufferEnumConverter.cpp b/MobileGL/MG_Util/Converters/MGToGL/BufferEnumConverter.cpp index 3bb187bf..faeebedf 100644 --- a/MobileGL/MG_Util/Converters/MGToGL/BufferEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/MGToGL/BufferEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToGL/BufferEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "BufferEnumConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/MGToGL/BufferEnumConverter.h b/MobileGL/MG_Util/Converters/MGToGL/BufferEnumConverter.h index 1384fc4d..8d4aee93 100644 --- a/MobileGL/MG_Util/Converters/MGToGL/BufferEnumConverter.h +++ b/MobileGL/MG_Util/Converters/MGToGL/BufferEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToGL/BufferEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/MGToGL/DataTypeConverter.cpp b/MobileGL/MG_Util/Converters/MGToGL/DataTypeConverter.cpp index 6da34441..d65e3f6f 100644 --- a/MobileGL/MG_Util/Converters/MGToGL/DataTypeConverter.cpp +++ b/MobileGL/MG_Util/Converters/MGToGL/DataTypeConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToGL/DataTypeConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "DataTypeConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/MGToGL/DataTypeConverter.h b/MobileGL/MG_Util/Converters/MGToGL/DataTypeConverter.h index de2c05be..5bea59ce 100644 --- a/MobileGL/MG_Util/Converters/MGToGL/DataTypeConverter.h +++ b/MobileGL/MG_Util/Converters/MGToGL/DataTypeConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToGL/DataTypeConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Util/Converters/MGToGL/ErrorCodeConverter.cpp b/MobileGL/MG_Util/Converters/MGToGL/ErrorCodeConverter.cpp index c4ac9d93..af79b2d0 100644 --- a/MobileGL/MG_Util/Converters/MGToGL/ErrorCodeConverter.cpp +++ b/MobileGL/MG_Util/Converters/MGToGL/ErrorCodeConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToGL/ErrorCodeConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "ErrorCodeConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/MGToGL/ErrorCodeConverter.h b/MobileGL/MG_Util/Converters/MGToGL/ErrorCodeConverter.h index aa30f034..b9a48f48 100644 --- a/MobileGL/MG_Util/Converters/MGToGL/ErrorCodeConverter.h +++ b/MobileGL/MG_Util/Converters/MGToGL/ErrorCodeConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToGL/ErrorCodeConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/MGToGL/FramebufferEnumConverter.cpp b/MobileGL/MG_Util/Converters/MGToGL/FramebufferEnumConverter.cpp index 3275527d..bacf42ec 100644 --- a/MobileGL/MG_Util/Converters/MGToGL/FramebufferEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/MGToGL/FramebufferEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToGL/FramebufferEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "FramebufferEnumConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/MGToGL/FramebufferEnumConverter.h b/MobileGL/MG_Util/Converters/MGToGL/FramebufferEnumConverter.h index 4728eb75..60a53115 100644 --- a/MobileGL/MG_Util/Converters/MGToGL/FramebufferEnumConverter.h +++ b/MobileGL/MG_Util/Converters/MGToGL/FramebufferEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToGL/FramebufferEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/MGToGL/ProgramEnumConverter.cpp b/MobileGL/MG_Util/Converters/MGToGL/ProgramEnumConverter.cpp index ddab6e45..9fbe0080 100644 --- a/MobileGL/MG_Util/Converters/MGToGL/ProgramEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/MGToGL/ProgramEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToGL/ProgramEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "ProgramEnumConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/MGToGL/ProgramEnumConverter.h b/MobileGL/MG_Util/Converters/MGToGL/ProgramEnumConverter.h index 39c1e964..1bab009a 100644 --- a/MobileGL/MG_Util/Converters/MGToGL/ProgramEnumConverter.h +++ b/MobileGL/MG_Util/Converters/MGToGL/ProgramEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToGL/ProgramEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/MGToGL/RenderStateEnumConverter.cpp b/MobileGL/MG_Util/Converters/MGToGL/RenderStateEnumConverter.cpp index 8ef47450..43c428e4 100644 --- a/MobileGL/MG_Util/Converters/MGToGL/RenderStateEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/MGToGL/RenderStateEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToGL/RenderStateEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "RenderStateEnumConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/MGToGL/RenderStateEnumConverter.h b/MobileGL/MG_Util/Converters/MGToGL/RenderStateEnumConverter.h index 1f4769d7..f5b71195 100644 --- a/MobileGL/MG_Util/Converters/MGToGL/RenderStateEnumConverter.h +++ b/MobileGL/MG_Util/Converters/MGToGL/RenderStateEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToGL/RenderStateEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/MGToGL/TextureEnumConverter.cpp b/MobileGL/MG_Util/Converters/MGToGL/TextureEnumConverter.cpp index a92fb63a..9f4f86c0 100644 --- a/MobileGL/MG_Util/Converters/MGToGL/TextureEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/MGToGL/TextureEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToGL/TextureEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "TextureEnumConverter.h" #include "GL/gl.h" #include "MG_Util/Types.h" diff --git a/MobileGL/MG_Util/Converters/MGToGL/TextureEnumConverter.h b/MobileGL/MG_Util/Converters/MGToGL/TextureEnumConverter.h index c4f45786..7a1e4313 100644 --- a/MobileGL/MG_Util/Converters/MGToGL/TextureEnumConverter.h +++ b/MobileGL/MG_Util/Converters/MGToGL/TextureEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToGL/TextureEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/MGToMG/TextureEnumConverter.cpp b/MobileGL/MG_Util/Converters/MGToMG/TextureEnumConverter.cpp index 01658377..e8fe632e 100644 --- a/MobileGL/MG_Util/Converters/MGToMG/TextureEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/MGToMG/TextureEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToMG/TextureEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "TextureEnumConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/MGToMG/TextureEnumConverter.h b/MobileGL/MG_Util/Converters/MGToMG/TextureEnumConverter.h index c745fc3c..e3590884 100644 --- a/MobileGL/MG_Util/Converters/MGToMG/TextureEnumConverter.h +++ b/MobileGL/MG_Util/Converters/MGToMG/TextureEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToMG/TextureEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/MGToStr/BufferEnumConverter.cpp b/MobileGL/MG_Util/Converters/MGToStr/BufferEnumConverter.cpp index da5ea280..ff337161 100644 --- a/MobileGL/MG_Util/Converters/MGToStr/BufferEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/MGToStr/BufferEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToStr/BufferEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "BufferEnumConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/MGToStr/BufferEnumConverter.h b/MobileGL/MG_Util/Converters/MGToStr/BufferEnumConverter.h index 8eec6630..2f44ba1b 100644 --- a/MobileGL/MG_Util/Converters/MGToStr/BufferEnumConverter.h +++ b/MobileGL/MG_Util/Converters/MGToStr/BufferEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToStr/BufferEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/MGToStr/DataTypeConverter.cpp b/MobileGL/MG_Util/Converters/MGToStr/DataTypeConverter.cpp index 8da9b607..81928fb3 100644 --- a/MobileGL/MG_Util/Converters/MGToStr/DataTypeConverter.cpp +++ b/MobileGL/MG_Util/Converters/MGToStr/DataTypeConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToStr/DataTypeConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "DataTypeConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/MGToStr/DataTypeConverter.h b/MobileGL/MG_Util/Converters/MGToStr/DataTypeConverter.h index 9d1f64e9..a8f60aad 100644 --- a/MobileGL/MG_Util/Converters/MGToStr/DataTypeConverter.h +++ b/MobileGL/MG_Util/Converters/MGToStr/DataTypeConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToStr/DataTypeConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Util/Converters/MGToStr/FramebufferEnumConverter.cpp b/MobileGL/MG_Util/Converters/MGToStr/FramebufferEnumConverter.cpp index 2755d481..2b03edc4 100644 --- a/MobileGL/MG_Util/Converters/MGToStr/FramebufferEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/MGToStr/FramebufferEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToStr/FramebufferEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "FramebufferEnumConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/MGToStr/FramebufferEnumConverter.h b/MobileGL/MG_Util/Converters/MGToStr/FramebufferEnumConverter.h index 50968266..0d42cdb5 100644 --- a/MobileGL/MG_Util/Converters/MGToStr/FramebufferEnumConverter.h +++ b/MobileGL/MG_Util/Converters/MGToStr/FramebufferEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToStr/FramebufferEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "MG_Util/Converters/MGToGL/FramebufferEnumConverter.h" #include diff --git a/MobileGL/MG_Util/Converters/MGToStr/GLExtensionConverter.cpp b/MobileGL/MG_Util/Converters/MGToStr/GLExtensionConverter.cpp index 8587485f..6726e4b7 100644 --- a/MobileGL/MG_Util/Converters/MGToStr/GLExtensionConverter.cpp +++ b/MobileGL/MG_Util/Converters/MGToStr/GLExtensionConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToStr/GLExtensionConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "GLExtensionConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/MGToStr/GLExtensionConverter.h b/MobileGL/MG_Util/Converters/MGToStr/GLExtensionConverter.h index ec00ee25..8264d82b 100644 --- a/MobileGL/MG_Util/Converters/MGToStr/GLExtensionConverter.h +++ b/MobileGL/MG_Util/Converters/MGToStr/GLExtensionConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToStr/GLExtensionConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Util/Converters/MGToStr/RenderStateEnumConverter.cpp b/MobileGL/MG_Util/Converters/MGToStr/RenderStateEnumConverter.cpp index 066cab1d..3ddb48c8 100644 --- a/MobileGL/MG_Util/Converters/MGToStr/RenderStateEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/MGToStr/RenderStateEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToStr/RenderStateEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "RenderStateEnumConverter.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Converters/MGToStr/RenderStateEnumConverter.h b/MobileGL/MG_Util/Converters/MGToStr/RenderStateEnumConverter.h index c1ba8730..78acf6c9 100644 --- a/MobileGL/MG_Util/Converters/MGToStr/RenderStateEnumConverter.h +++ b/MobileGL/MG_Util/Converters/MGToStr/RenderStateEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToStr/RenderStateEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/MGToStr/TextureEnumConverter.cpp b/MobileGL/MG_Util/Converters/MGToStr/TextureEnumConverter.cpp index c10b66f7..3d17179c 100644 --- a/MobileGL/MG_Util/Converters/MGToStr/TextureEnumConverter.cpp +++ b/MobileGL/MG_Util/Converters/MGToStr/TextureEnumConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToStr/TextureEnumConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "TextureEnumConverter.h" #include "MG_State/GLState/TextureState/TextureObject.h" #include "MG_Util/Types.h" diff --git a/MobileGL/MG_Util/Converters/MGToStr/TextureEnumConverter.h b/MobileGL/MG_Util/Converters/MGToStr/TextureEnumConverter.h index 560b1ad2..779870cf 100644 --- a/MobileGL/MG_Util/Converters/MGToStr/TextureEnumConverter.h +++ b/MobileGL/MG_Util/Converters/MGToStr/TextureEnumConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/MGToStr/TextureEnumConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Converters/SPIRVCrossToGL/SpvcTypeConverter.cpp b/MobileGL/MG_Util/Converters/SPIRVCrossToGL/SpvcTypeConverter.cpp index 51680a10..81784246 100644 --- a/MobileGL/MG_Util/Converters/SPIRVCrossToGL/SpvcTypeConverter.cpp +++ b/MobileGL/MG_Util/Converters/SPIRVCrossToGL/SpvcTypeConverter.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/SPIRVCrossToGL/SpvcTypeConverter.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "SpvcTypeConverter.h" #include diff --git a/MobileGL/MG_Util/Converters/SPIRVCrossToGL/SpvcTypeConverter.h b/MobileGL/MG_Util/Converters/SPIRVCrossToGL/SpvcTypeConverter.h index 06f733fe..4101dd89 100644 --- a/MobileGL/MG_Util/Converters/SPIRVCrossToGL/SpvcTypeConverter.h +++ b/MobileGL/MG_Util/Converters/SPIRVCrossToGL/SpvcTypeConverter.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Converters/SPIRVCrossToGL/SpvcTypeConverter.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Debug/Log.cpp b/MobileGL/MG_Util/Debug/Log.cpp index aeb45d26..6f4cb242 100644 --- a/MobileGL/MG_Util/Debug/Log.cpp +++ b/MobileGL/MG_Util/Debug/Log.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Debug/Log.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "../../Includes.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Debug/Log.h b/MobileGL/MG_Util/Debug/Log.h index f08f449c..ad71aca6 100644 --- a/MobileGL/MG_Util/Debug/Log.h +++ b/MobileGL/MG_Util/Debug/Log.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Debug/Log.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Util/GLExtensions.h b/MobileGL/MG_Util/GLExtensions.h index 757dd53e..c48b287e 100644 --- a/MobileGL/MG_Util/GLExtensions.h +++ b/MobileGL/MG_Util/GLExtensions.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/GLExtensions.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once namespace MobileGL { diff --git a/MobileGL/MG_Util/Math/VectorTypes.h b/MobileGL/MG_Util/Math/VectorTypes.h index 5b2fd4fb..272843fb 100644 --- a/MobileGL/MG_Util/Math/VectorTypes.h +++ b/MobileGL/MG_Util/Math/VectorTypes.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Math/VectorTypes.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Util/Metrics/BufferMetrics.cpp b/MobileGL/MG_Util/Metrics/BufferMetrics.cpp index b9a64088..5befb15d 100644 --- a/MobileGL/MG_Util/Metrics/BufferMetrics.cpp +++ b/MobileGL/MG_Util/Metrics/BufferMetrics.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Metrics/BufferMetrics.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "BufferMetrics.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/Metrics/BufferMetrics.h b/MobileGL/MG_Util/Metrics/BufferMetrics.h index a5d6c186..c5b614d6 100644 --- a/MobileGL/MG_Util/Metrics/BufferMetrics.h +++ b/MobileGL/MG_Util/Metrics/BufferMetrics.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Metrics/BufferMetrics.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Util/Metrics/TextureMetrics.cpp b/MobileGL/MG_Util/Metrics/TextureMetrics.cpp index 52d4b124..bd615e64 100644 --- a/MobileGL/MG_Util/Metrics/TextureMetrics.cpp +++ b/MobileGL/MG_Util/Metrics/TextureMetrics.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Metrics/TextureMetrics.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "TextureMetrics.h" #include "Defines.h" #include "MG_Util/Math/VectorTypes.h" diff --git a/MobileGL/MG_Util/Metrics/TextureMetrics.h b/MobileGL/MG_Util/Metrics/TextureMetrics.h index 212a984a..7d3b6ba3 100644 --- a/MobileGL/MG_Util/Metrics/TextureMetrics.h +++ b/MobileGL/MG_Util/Metrics/TextureMetrics.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Metrics/TextureMetrics.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Miscellany/IndexGenerator.h b/MobileGL/MG_Util/Miscellany/IndexGenerator.h index aa289b0c..454485d9 100644 --- a/MobileGL/MG_Util/Miscellany/IndexGenerator.h +++ b/MobileGL/MG_Util/Miscellany/IndexGenerator.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Miscellany/IndexGenerator.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Util/PlatformStubs.h b/MobileGL/MG_Util/PlatformStubs.h index 2dcaf63e..f33c50b7 100644 --- a/MobileGL/MG_Util/PlatformStubs.h +++ b/MobileGL/MG_Util/PlatformStubs.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/PlatformStubs.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once // Stubs for non-Android platforms diff --git a/MobileGL/MG_Util/ShaderTranspiler/ShaderCompiler.cpp b/MobileGL/MG_Util/ShaderTranspiler/ShaderCompiler.cpp index 3e7bafde..d29856b5 100644 --- a/MobileGL/MG_Util/ShaderTranspiler/ShaderCompiler.cpp +++ b/MobileGL/MG_Util/ShaderTranspiler/ShaderCompiler.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/ShaderTranspiler/ShaderCompiler.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "ShaderCompiler.h" #include #include diff --git a/MobileGL/MG_Util/ShaderTranspiler/ShaderCompiler.h b/MobileGL/MG_Util/ShaderTranspiler/ShaderCompiler.h index 6f5b4c35..5167ecec 100644 --- a/MobileGL/MG_Util/ShaderTranspiler/ShaderCompiler.h +++ b/MobileGL/MG_Util/ShaderTranspiler/ShaderCompiler.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/ShaderTranspiler/ShaderCompiler.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include "SpvcSession.h" diff --git a/MobileGL/MG_Util/ShaderTranspiler/ShaderSourceProcessor.cpp b/MobileGL/MG_Util/ShaderTranspiler/ShaderSourceProcessor.cpp index 9065b744..78abf555 100644 --- a/MobileGL/MG_Util/ShaderTranspiler/ShaderSourceProcessor.cpp +++ b/MobileGL/MG_Util/ShaderTranspiler/ShaderSourceProcessor.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/ShaderTranspiler/ShaderSourceProcessor.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "ShaderSourceProcessor.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/ShaderTranspiler/ShaderSourceProcessor.h b/MobileGL/MG_Util/ShaderTranspiler/ShaderSourceProcessor.h index a248ec70..e4d32b92 100644 --- a/MobileGL/MG_Util/ShaderTranspiler/ShaderSourceProcessor.h +++ b/MobileGL/MG_Util/ShaderTranspiler/ShaderSourceProcessor.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/ShaderTranspiler/ShaderSourceProcessor.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/ShaderTranspiler/SpvcSession.cpp b/MobileGL/MG_Util/ShaderTranspiler/SpvcSession.cpp index 8e3233cf..af74363e 100644 --- a/MobileGL/MG_Util/ShaderTranspiler/SpvcSession.cpp +++ b/MobileGL/MG_Util/ShaderTranspiler/SpvcSession.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/ShaderTranspiler/SpvcSession.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "SpvcSession.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/ShaderTranspiler/SpvcSession.h b/MobileGL/MG_Util/ShaderTranspiler/SpvcSession.h index 73506564..f0e4f746 100644 --- a/MobileGL/MG_Util/ShaderTranspiler/SpvcSession.h +++ b/MobileGL/MG_Util/ShaderTranspiler/SpvcSession.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/ShaderTranspiler/SpvcSession.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include "Types.h" diff --git a/MobileGL/MG_Util/ShaderTranspiler/Types.h b/MobileGL/MG_Util/ShaderTranspiler/Types.h index 409e93fc..10ba23ae 100644 --- a/MobileGL/MG_Util/ShaderTranspiler/Types.h +++ b/MobileGL/MG_Util/ShaderTranspiler/Types.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/ShaderTranspiler/Types.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/MobileGL/MG_Util/ShaderTranspiler/glslang/TMglGlslIoResolver.cpp b/MobileGL/MG_Util/ShaderTranspiler/glslang/TMglGlslIoResolver.cpp index 1be1f5d0..d79f6dc4 100644 --- a/MobileGL/MG_Util/ShaderTranspiler/glslang/TMglGlslIoResolver.cpp +++ b/MobileGL/MG_Util/ShaderTranspiler/glslang/TMglGlslIoResolver.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/ShaderTranspiler/glslang/TMglGlslIoResolver.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + // // Created by Swung 0x48 on 2025/11/10. // diff --git a/MobileGL/MG_Util/ShaderTranspiler/glslang/TMglGlslIoResolver.h b/MobileGL/MG_Util/ShaderTranspiler/glslang/TMglGlslIoResolver.h index e363886c..6f47a258 100644 --- a/MobileGL/MG_Util/ShaderTranspiler/glslang/TMglGlslIoResolver.h +++ b/MobileGL/MG_Util/ShaderTranspiler/glslang/TMglGlslIoResolver.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/ShaderTranspiler/glslang/TMglGlslIoResolver.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + // // Created by Swung 0x48 on 2025/11/10. // diff --git a/MobileGL/MG_Util/ShaderTranspiler/glslang/TVarEntryInfo.h b/MobileGL/MG_Util/ShaderTranspiler/glslang/TVarEntryInfo.h index 0d1361d2..312a0351 100644 --- a/MobileGL/MG_Util/ShaderTranspiler/glslang/TVarEntryInfo.h +++ b/MobileGL/MG_Util/ShaderTranspiler/glslang/TVarEntryInfo.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/ShaderTranspiler/glslang/TVarEntryInfo.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + // // Created by Swung 0x48 on 2025/11/10. // diff --git a/MobileGL/MG_Util/ShaderTranspiler/glslang/UniformTraverser.cpp b/MobileGL/MG_Util/ShaderTranspiler/glslang/UniformTraverser.cpp index c52b02e1..fb5dbdec 100644 --- a/MobileGL/MG_Util/ShaderTranspiler/glslang/UniformTraverser.cpp +++ b/MobileGL/MG_Util/ShaderTranspiler/glslang/UniformTraverser.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/ShaderTranspiler/glslang/UniformTraverser.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "UniformTraverser.h" namespace MobileGL { diff --git a/MobileGL/MG_Util/ShaderTranspiler/glslang/UniformTraverser.h b/MobileGL/MG_Util/ShaderTranspiler/glslang/UniformTraverser.h index 6fe50d2e..99563708 100644 --- a/MobileGL/MG_Util/ShaderTranspiler/glslang/UniformTraverser.h +++ b/MobileGL/MG_Util/ShaderTranspiler/glslang/UniformTraverser.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/ShaderTranspiler/glslang/UniformTraverser.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include "Includes.h" diff --git a/MobileGL/MG_Util/Texture/PixelStoreProcessor.cpp b/MobileGL/MG_Util/Texture/PixelStoreProcessor.cpp index 7758cb17..8f27fa34 100644 --- a/MobileGL/MG_Util/Texture/PixelStoreProcessor.cpp +++ b/MobileGL/MG_Util/Texture/PixelStoreProcessor.cpp @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Texture/PixelStoreProcessor.cpp +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #include "PixelStoreProcessor.h" namespace MobileGL::MG_Util::PixelStoreProcessor { diff --git a/MobileGL/MG_Util/Texture/PixelStoreProcessor.h b/MobileGL/MG_Util/Texture/PixelStoreProcessor.h index 84a36a5f..cddc9733 100644 --- a/MobileGL/MG_Util/Texture/PixelStoreProcessor.h +++ b/MobileGL/MG_Util/Texture/PixelStoreProcessor.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Texture/PixelStoreProcessor.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include #include diff --git a/MobileGL/MG_Util/Types.h b/MobileGL/MG_Util/Types.h index 09e1cebe..af64a258 100644 --- a/MobileGL/MG_Util/Types.h +++ b/MobileGL/MG_Util/Types.h @@ -1,3 +1,10 @@ +// MobileGL - MobileGL/MG_Util/Types.h +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header + #pragma once #include diff --git a/scripts/update-source-file-header.py b/scripts/update-source-file-header.py new file mode 100644 index 00000000..f34ae53d --- /dev/null +++ b/scripts/update-source-file-header.py @@ -0,0 +1,95 @@ +#!/usr/bin/env python3 +import os +import sys +import pathlib +from glob import glob + +try: + import colorama + colorama.init() + CYAN = colorama.Fore.CYAN + colorama.Style.BRIGHT + GREEN = colorama.Fore.GREEN + YELLOW = colorama.Fore.YELLOW + RED = colorama.Fore.RED + RESET = colorama.Style.RESET_ALL +except ImportError: + CYAN = GREEN = YELLOW = RED = RESET = '' + +OK = "✔" +FAIL = "✖" +ARROW = "╰─>" +SIMPLE_ARROW = "─>" + +HEADER_TEMPLATE = """// MobileGL - {file_path} +// Copyright (C) 2025 MobileGL-Dev +// Licensed under the GNU Lesser General Public License v2.1: +// http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html +// SPDX-License-Identifier: LGPL-2.1-only +// End of Source File Header +""" + +HEADER_MARKER = """End of Source File Header +""" + +SCRIPT_DIR = pathlib.Path(__file__).parent.resolve() +TARGET_DIR = SCRIPT_DIR / "../MobileGL" +FILE_PATTERNS = ["*.h", "*.hpp", "*.cpp", "*.cc", "*.c"] + +if not TARGET_DIR.exists(): + print(f"{YELLOW}Target directory '{TARGET_DIR}' does not exist.{RESET}") + sys.exit(1) + +def find_source_files(): + candidates = [] + for root, dirs, files in os.walk(TARGET_DIR): + dirs[:] = [d for d in dirs if d not in ("build", "out")] + for pattern in FILE_PATTERNS: + for f in glob(os.path.join(root, pattern)): + candidates.append(f) + return candidates + +candidates = find_source_files() +total = len(candidates) +print(f"{YELLOW}Found {total} candidate(s).{RESET}") + +if total == 0: + sys.exit(0) + +def draw_progress(current, total, width=36): + percent = int(current * 100 / total) if total else 0 + filled = int(current * width / total) if total else 0 + empty = width - filled + bar = "█" * filled + "░" * empty + print(f"\r{CYAN}Progress{RESET} [{current}/{total}] {percent:3d}% |{bar}|", end='') + +processed = 0 +skipped = 0 +for idx, file_path in enumerate(candidates, start=1): + draw_progress(idx, total) + try: + with open(file_path, "r", encoding="utf-8", errors="ignore") as f: + content = f.read() + + rel_path = os.path.relpath(file_path, SCRIPT_DIR.parent) + new_header = HEADER_TEMPLATE.format(file_path=rel_path.replace("\\", "/")) + + if HEADER_MARKER in content: + rest = content.split(HEADER_MARKER, 1)[1] + new_content = new_header + rest + else: + new_content = new_header + "\n" + content + + if new_content != content: + with open(file_path, "w", encoding="utf-8") as f: + f.write(new_content) + processed += 1 + print(f"\n{CYAN}Processing{RESET} {SIMPLE_ARROW} {file_path}\n {ARROW} {GREEN}{OK}{RESET} Updated") + else: + skipped += 1 + print(f"\n{CYAN}Processing{RESET} {SIMPLE_ARROW} {file_path}\n {ARROW} {GREEN}{OK}{RESET} {YELLOW}No changes{RESET}") + + except Exception as e: + print(f"\n{CYAN}Processing{RESET} {SIMPLE_ARROW} {file_path}\n {ARROW} {RED}{FAIL}{RESET} {e}") + +print(f"\n{GREEN}All done!{RESET} Processed: {processed}, Skipped: {skipped}, Total: {total}") +