Rename source file name match with class name

This commit is contained in:
halx99 2022-04-27 18:24:33 +08:00
parent ad789839ef
commit fbde97c360
11 changed files with 27 additions and 15 deletions

View File

@ -27,7 +27,7 @@ THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "platform/CCImage.h" #include "platform/CCImage.h"
#include "renderer/backend/TextureUtils.h" #include "renderer/backend/PixelFormatUtils.h"
#include <string> #include <string>
#include <ctype.h> #include <ctype.h>

View File

@ -2,6 +2,8 @@
Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2013-2016 Chukong Technologies Inc. Copyright (c) 2013-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
Copyright (c) 2020 C4games Ltd.
Copyright (c) 2021-2022 Bytedance Inc.
https://adxeproject.github.io/ https://adxeproject.github.io/
@ -293,7 +295,7 @@ GLViewImpl::GLViewImpl(bool initglfw)
, _mouseX(0.0f) , _mouseX(0.0f)
, _mouseY(0.0f) , _mouseY(0.0f)
{ {
_viewName = "cocos2dx"; _viewName = "AX_10";
g_keyCodeMap.clear(); g_keyCodeMap.clear();
for (auto& item : g_keyCodeStructArray) for (auto& item : g_keyCodeStructArray)
{ {

View File

@ -4,7 +4,7 @@ Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2013-2016 Chukong Technologies Inc. Copyright (c) 2013-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
Copyright (c) 2020 C4games Ltd Copyright (c) 2020 C4games Ltd
Copyright (c) 2021 Bytedance Inc. Copyright (c) 2021-2022 Bytedance Inc.
https://adxeproject.github.io/ https://adxeproject.github.io/
@ -47,7 +47,7 @@ THE SOFTWARE.
#include "renderer/backend/Device.h" #include "renderer/backend/Device.h"
#include "renderer/backend/ProgramState.h" #include "renderer/backend/ProgramState.h"
#include "renderer/ccShaders.h" #include "renderer/ccShaders.h"
#include "renderer/backend/TextureUtils.h" #include "renderer/backend/PixelFormatUtils.h"
#include "renderer/CCRenderer.h" #include "renderer/CCRenderer.h"
#if CC_ENABLE_CACHE_TEXTURE_DATA #if CC_ENABLE_CACHE_TEXTURE_DATA

View File

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
Copyright (c) 2015-2016 Chukong Technologies Inc. Copyright (c) 2015-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
Copyright (c) C4games Ltd.
Copyright (c) 2021-2022 Bytedance Inc.
https://adxeproject.github.io/ https://adxeproject.github.io/
@ -28,7 +30,7 @@
#include "platform/CCFileUtils.h" #include "platform/CCFileUtils.h"
#include "renderer/backend/Texture.h" #include "renderer/backend/Texture.h"
#include "renderer/backend/Device.h" #include "renderer/backend/Device.h"
#include "renderer/backend/TextureUtils.h" #include "renderer/backend/PixelFormatUtils.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -31,7 +31,7 @@ set(COCOS_RENDERER_HEADER
renderer/backend/RenderPipeline.h renderer/backend/RenderPipeline.h
renderer/backend/ShaderModule.h renderer/backend/ShaderModule.h
renderer/backend/Texture.h renderer/backend/Texture.h
renderer/backend/TextureUtils.h renderer/backend/PixelFormatUtils.h
renderer/backend/Types.h renderer/backend/Types.h
renderer/backend/VertexLayout.h renderer/backend/VertexLayout.h
renderer/backend/ProgramState.h renderer/backend/ProgramState.h
@ -65,7 +65,7 @@ set(COCOS_RENDERER_SRC
renderer/backend/Device.cpp renderer/backend/Device.cpp
renderer/backend/ShaderModule.cpp renderer/backend/ShaderModule.cpp
renderer/backend/Texture.cpp renderer/backend/Texture.cpp
renderer/backend/TextureUtils.cpp renderer/backend/PixelFormatUtils.cpp
renderer/backend/Types.cpp renderer/backend/Types.cpp
renderer/backend/VertexLayout.cpp renderer/backend/VertexLayout.cpp
renderer/backend/ProgramCache.cpp renderer/backend/ProgramCache.cpp

View File

@ -1,6 +1,7 @@
/**************************************************************************** /****************************************************************************
Copyright (c) 2018-2019 Xiamen Yaji Software Co., Ltd. Copyright (c) 2018-2019 Xiamen Yaji Software Co., Ltd.
Copyright (c) 2020 C4games Ltd Copyright (c) 2020 C4games Ltd
Copyright (c) 2022 Bytedance Inc.
https://adxeproject.github.io/ https://adxeproject.github.io/
@ -23,7 +24,7 @@
THE SOFTWARE. THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "TextureUtils.h" #include "PixelFormatUtils.h"
#include "Macros.h" #include "Macros.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -1,5 +1,7 @@
/**************************************************************************** /****************************************************************************
Copyright (c) 2018-2019 Xiamen Yaji Software Co., Ltd. Copyright (c) 2018-2019 Xiamen Yaji Software Co., Ltd.
Copyright (c) 2020 C4games Ltd.
Copyright (c) 2021-2022 Bytedance Inc.
https://adxeproject.github.io/ https://adxeproject.github.io/

View File

@ -1,6 +1,7 @@
/**************************************************************************** /****************************************************************************
Copyright (c) 2018-2019 Xiamen Yaji Software Co., Ltd. Copyright (c) 2018-2019 Xiamen Yaji Software Co., Ltd.
Copyright (c) 2020 C4games Ltd Copyright (c) 2020 C4games Ltd.
Copyright (c) 2021-2022 Bytedance Inc.
https://adxeproject.github.io/ https://adxeproject.github.io/
@ -24,7 +25,7 @@
****************************************************************************/ ****************************************************************************/
#include "Texture.h" #include "Texture.h"
#include "TextureUtils.h" #include "PixelFormatUtils.h"
#include <cassert> #include <cassert>
CC_BACKEND_BEGIN CC_BACKEND_BEGIN

View File

@ -1,5 +1,7 @@
/**************************************************************************** /****************************************************************************
Copyright (c) 2018-2019 Xiamen Yaji Software Co., Ltd. Copyright (c) 2018-2019 Xiamen Yaji Software Co., Ltd.
Copyright (c) 2020 C4games Ltd.
Copyright (c) 2021-2022 Bytedance Inc.
https://adxeproject.github.io/ https://adxeproject.github.io/
@ -25,7 +27,7 @@
#include "TextureMTL.h" #include "TextureMTL.h"
#include "UtilsMTL.h" #include "UtilsMTL.h"
#include "base/ccMacros.h" #include "base/ccMacros.h"
#include "../TextureUtils.h" #include "../PixelFormatUtils.h"
CC_BACKEND_BEGIN CC_BACKEND_BEGIN

View File

@ -1,6 +1,7 @@
/**************************************************************************** /****************************************************************************
Copyright (c) 2018-2019 Xiamen Yaji Software Co., Ltd. Copyright (c) 2018-2019 Xiamen Yaji Software Co., Ltd.
Copyright (c) 2020 C4games Ltd Copyright (c) 2020 C4games Ltd.
Copyright (c) 2021-2022 Bytedance Inc.
https://adxeproject.github.io/ https://adxeproject.github.io/
@ -27,7 +28,7 @@
#include "DeviceMTL.h" #include "DeviceMTL.h"
#include "DeviceInfoMTL.h" #include "DeviceInfoMTL.h"
#include "TextureMTL.h" #include "TextureMTL.h"
#include "../TextureUtils.h" #include "../PixelFormatUtils.h"
#include "base/CCConfiguration.h" #include "base/CCConfiguration.h"
CC_BACKEND_BEGIN CC_BACKEND_BEGIN

View File

@ -1,6 +1,7 @@
/**************************************************************************** /****************************************************************************
Copyright (c) 2018-2019 Xiamen Yaji Software Co., Ltd. Copyright (c) 2018-2019 Xiamen Yaji Software Co., Ltd.
Copyright (c) 2020 C4games Ltd Copyright (c) 2020 C4games Ltd.
Copyright (c) 2021-2022 Bytedance Inc.
https://adxeproject.github.io/ https://adxeproject.github.io/
@ -27,7 +28,7 @@
#include "ProgramGL.h" #include "ProgramGL.h"
#include "TextureGL.h" #include "TextureGL.h"
#include "renderer/backend/Types.h" #include "renderer/backend/Types.h"
#include "renderer/backend/TextureUtils.h" #include "renderer/backend/PixelFormatUtils.h"
#include "platform/CCGL.h" #include "platform/CCGL.h"
// In desktop OpenGL 4+ and OpenGL ES 3.0+, specific GL formats GL_x_INTEGER are used for integer textures. // In desktop OpenGL 4+ and OpenGL ES 3.0+, specific GL formats GL_x_INTEGER are used for integer textures.