From 983d1373ba3a2b6f6368f0b454905239b0af460b Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Mon, 9 Jun 2025 18:13:35 +0800 Subject: [PATCH] logging --- thermion_dart/native/src/c_api/TTexture.cpp | 22 +-------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/thermion_dart/native/src/c_api/TTexture.cpp b/thermion_dart/native/src/c_api/TTexture.cpp index f43870d8..cdb0431f 100644 --- a/thermion_dart/native/src/c_api/TTexture.cpp +++ b/thermion_dart/native/src/c_api/TTexture.cpp @@ -277,26 +277,6 @@ namespace thermion auto samplerType = static_cast<::filament::Texture::Sampler>(static_cast(tSamplerType)); auto usage = static_cast(tUsage); - if ((usage & TextureUsage::UPLOADABLE) == TextureUsage::UPLOADABLE) { - TRACE("UPLOADABLE"); - } - - if ((usage & TextureUsage::SAMPLEABLE) == TextureUsage::SAMPLEABLE) { - TRACE("SAMPLEABLE"); - } - - if ((usage & TextureUsage::COLOR_ATTACHMENT) == TextureUsage::COLOR_ATTACHMENT) { - TRACE("COLOR_ATTACHMENT"); - } - - if ((usage & TextureUsage::DEPTH_ATTACHMENT) == TextureUsage::DEPTH_ATTACHMENT) { - TRACE("DEPTH_ATTACHMENT"); - } - - if ((usage & TextureUsage::BLIT_SRC) == TextureUsage::BLIT_SRC) { - TRACE("BLIT_SRC"); - } - auto builder = ::filament::Texture::Builder() .width(width) .height(height) @@ -306,7 +286,7 @@ namespace thermion .format(format) .usage(usage); if(import) { - TRACE("IMPORTING"); + TRACE("Importing texture with handle : %d", import); builder.import(import); } auto *texture = builder