[Chore] (All): Add standardized source file header and update script.

This commit is contained in:
BZLZHH
2025-12-31 15:45:34 +08:00
parent de028204a2
commit 8ed8efe347
195 changed files with 1453 additions and 0 deletions
@@ -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 {
@@ -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"
@@ -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"
@@ -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 {
@@ -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 <MG_Util/Metrics/TextureMetrics.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"
@@ -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 {
@@ -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"
@@ -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 {
@@ -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"
@@ -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 {
@@ -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"
@@ -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 {
@@ -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"
@@ -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 {
@@ -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"
@@ -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"
@@ -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"
@@ -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 <Includes.h>
#include <MG_Util/Miscellany/IndexGenerator.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"
@@ -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 {
@@ -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 <Includes.h>
#include <MG_State/GLState/SamplerState/SamplerObject.h>