From 48a3202d405f0b814cf774add106deb10fd354f2 Mon Sep 17 00:00:00 2001 From: rh101 Date: Fri, 12 Jul 2024 13:56:33 +1000 Subject: [PATCH] Change AXLOGI to more appropriate AXLOGD for several log calls --- core/base/AutoreleasePool.cpp | 2 +- core/base/Director.cpp | 4 ++-- core/platform/GLViewImpl.cpp | 2 +- core/renderer/TextureCache.cpp | 2 +- core/renderer/backend/ProgramManager.cpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/base/AutoreleasePool.cpp b/core/base/AutoreleasePool.cpp index 3bbce2bec003..4371e3f30230 100644 --- a/core/base/AutoreleasePool.cpp +++ b/core/base/AutoreleasePool.cpp @@ -131,7 +131,7 @@ PoolManager::PoolManager() PoolManager::~PoolManager() { - AXLOGI("deallocing PoolManager: {}", fmt::ptr(this)); + AXLOGD("deallocing PoolManager: {}", fmt::ptr(this)); while (!_releasePoolStack.empty()) { diff --git a/core/base/Director.cpp b/core/base/Director.cpp index 92f69717c002..b1993841b74d 100644 --- a/core/base/Director.cpp +++ b/core/base/Director.cpp @@ -167,7 +167,7 @@ bool Director::init() Director::~Director() { - AXLOGI("deallocing Director: {}", fmt::ptr(this)); + AXLOGD("deallocing Director: {}", fmt::ptr(this)); #if AX_ENABLE_CACHE_TEXTURE_DATA _eventDispatcher->removeEventListener(_rendererRecreatedListener); @@ -680,7 +680,7 @@ void Director::purgeCachedData() // Note: some tests such as ActionsTest are leaking refcounted textures // There should be no test textures left in the cache - AXLOGI("{}\n", _textureCache->getCachedTextureInfo()); + AXLOGD("{}\n", _textureCache->getCachedTextureInfo()); } FileUtils::getInstance()->purgeCachedEntries(); } diff --git a/core/platform/GLViewImpl.cpp b/core/platform/GLViewImpl.cpp index ff6b04a72a6f..1b1bc94a6f16 100644 --- a/core/platform/GLViewImpl.cpp +++ b/core/platform/GLViewImpl.cpp @@ -368,7 +368,7 @@ GLViewImpl::GLViewImpl(bool initglfw) GLViewImpl::~GLViewImpl() { - AXLOGI("deallocing GLViewImpl: {}", fmt::ptr(this)); + AXLOGD("deallocing GLViewImpl: {}", fmt::ptr(this)); GLFWEventHandler::setGLViewImpl(nullptr); glfwTerminate(); } diff --git a/core/renderer/TextureCache.cpp b/core/renderer/TextureCache.cpp index 975a195a0424..8f25c56fa081 100644 --- a/core/renderer/TextureCache.cpp +++ b/core/renderer/TextureCache.cpp @@ -66,7 +66,7 @@ TextureCache::TextureCache() : _loadingThread(nullptr), _needQuit(false), _async TextureCache::~TextureCache() { - AXLOGI("deallocing TextureCache: {}", fmt::ptr(this)); + AXLOGD("deallocing TextureCache: {}", fmt::ptr(this)); for (auto&& texture : _textures) texture.second->release(); diff --git a/core/renderer/backend/ProgramManager.cpp b/core/renderer/backend/ProgramManager.cpp index e20c2e1b60a4..dd5ab3afd600 100644 --- a/core/renderer/backend/ProgramManager.cpp +++ b/core/renderer/backend/ProgramManager.cpp @@ -68,7 +68,7 @@ ProgramManager::~ProgramManager() { AX_SAFE_RELEASE(program.second); } - AXLOGI("deallocing ProgramManager: {}", fmt::ptr(this)); + AXLOGD("deallocing ProgramManager: {}", fmt::ptr(this)); backend::ShaderCache::destroyInstance(); }