LCOV - code coverage report
Current view: top level - source/graphics - TextureManager.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 236 507 46.5 %
Date: 2023-01-19 00:18:29 Functions: 34 71 47.9 %

Function Name Sort by function name Hit count Sort by hit count
CTextureManager::GetErrorTexture() 0
CTextureManager::GetWhiteTexture() 0
CTextureManager::OnQualityChanged() 0
CTextureManager::MakeUploadProgress(Renderer::Backend::IDeviceCommandContext*) 0
CTextureManager::WrapBackendTexture(std::unique_ptr<Renderer::Backend::ITexture, std::default_delete<Renderer::Backend::ITexture> >) 0
CTextureManager::GetBlackTextureCube() 0
CTextureManager::GenerateCachedTexture(Path const&, Path&) 0
CTextureManager::GetTransparentTexture() 0
CTextureManager::GetAlphaGradientTexture() 0
CGradientTexture::Upload(Renderer::Backend::IDeviceCommandContext*) 0
CSingleColorTexture::Upload(Renderer::Backend::IDeviceCommandContext*) 0
CTextureManagerImpl::GetErrorTexture() 0
CTextureManagerImpl::GetWhiteTexture() 0
CTextureManagerImpl::OnQualityChanged() 0
CTextureManagerImpl::ReloadAllTextures() 0
CTextureManagerImpl::ReloadChangedFile(Path const&) 0
CTextureManagerImpl::MakeUploadProgress(Renderer::Backend::IDeviceCommandContext*) 0
CTextureManagerImpl::WrapBackendTexture(std::unique_ptr<Renderer::Backend::ITexture, std::default_delete<Renderer::Backend::ITexture> >) 0
CTextureManagerImpl::GetBlackTextureCube() 0
CTextureManagerImpl::ReloadChangedFileCB(void*, Path const&) 0
CTextureManagerImpl::GenerateCachedTexture(Path const&, Path&) 0
CTextureManagerImpl::GetTransparentTexture() 0
CTextureManagerImpl::GetAlphaGradientTexture() 0
CSingleColorTextureCube::Upload(Renderer::Backend::IDeviceCommandContext*) 0
CTexture::ResetBackendTexture(std::unique_ptr<Renderer::Backend::ITexture, std::default_delete<Renderer::Backend::ITexture> >, Renderer::Backend::ITexture*) 0
CTexture::UploadBackendTextureIfNeeded(Renderer::Backend::IDeviceCommandContext*) 0
CTexture::Prefetch() 0
CTextureManager::TextureExists(Path const&) const 0
CTextureManager::GetBytesUploaded() const 0
CTextureManagerImpl::TextureExists(Path const&) const 0
CTextureManagerImpl::GetBytesUploaded() const 0
CTexture::GetBaseColor() const 0
CTexture::GetUploadedSize() const 0
CTexture::GetBackendTexture() const 0
CTexture::GetWidth() const 0
CTexture::HasAlpha() const 0
CTexture::GetHeight() const 0
_GLOBAL__sub_I_TextureManager.cpp 1
__static_initialization_and_destruction_0(int, int) 1
TPequal_to::operator()(CTextureProperties const&, CTextureProperties const&) const 1
TPequal_to::operator()(std::shared_ptr<CTexture> const&, std::shared_ptr<CTexture> const&) const 1
CTextureManagerImpl::ConvertTexture(std::shared_ptr<CTexture> const&) 5
(anonymous namespace)::ChooseFormatAndTransformTextureDataIfNeeded(Tex&, bool) 6
CTextureManagerImpl::LoadTexture(std::shared_ptr<CTexture> const&, Path const&) 6
CTextureManagerImpl::TryLoadingCached(std::shared_ptr<CTexture> const&) 6
CTexture::TryLoad() 6
CTextureManager::CTextureManager(std::shared_ptr<IVFS>, bool, Renderer::Backend::IDevice*) 9
CTextureManager::~CTextureManager() 9
CGradientTexture::CGradientTexture(CColor const&, CColor const&, Renderer::Backend::IDevice*, CTextureManagerImpl*) 9
CGradientTexture::~CGradientTexture() 9
CTextureManagerImpl::CTextureManagerImpl(std::shared_ptr<IVFS>, bool, Renderer::Backend::IDevice*) 9
CTextureManagerImpl::~CTextureManagerImpl() 9
CSingleColorTextureCube::CSingleColorTextureCube(CColor const&, Renderer::Backend::IDevice*, CTextureManagerImpl*) 9
CSingleColorTextureCube::~CSingleColorTextureCube() 9
CTextureManager::MakeProgress() 11
CTextureManagerImpl::MakeProgress() 11
CTextureManagerImpl::PrepareCacheKey(std::shared_ptr<CTexture> const&, MD5&, unsigned int&) 11
CTextureManager::CreateTexture(CTextureProperties const&) 12
CPredefinedTexture::GetTexture() 12
CTextureManagerImpl::CreateTexture(CTextureProperties const&) 12
CTexture::GetBackendTexture() 12
CTextureManagerImpl::GetConverterSettings(std::shared_ptr<CTexture> const&) 16
TPhash::operator()(CTextureProperties const&) const 23
TPhash::operator()(std::shared_ptr<CTexture> const&) const 23
CSingleColorTexture::CSingleColorTexture(CColor const&, Renderer::Backend::IDevice*, CTextureManagerImpl*) 36
CSingleColorTexture::~CSingleColorTexture() 36
CPredefinedTexture::CreateTexture(std::unique_ptr<Renderer::Backend::ITexture, std::default_delete<Renderer::Backend::ITexture> >, CTextureManagerImpl*) 54
CPredefinedTexture::CPredefinedTexture() 54
CPredefinedTexture::~CPredefinedTexture() 54
CTextureManagerImpl::GetSettingsFile(Path const&) 64
CTexture::CTexture(std::unique_ptr<Renderer::Backend::ITexture, std::default_delete<Renderer::Backend::ITexture> >, Renderer::Backend::ITexture*, CTextureProperties const&, CTextureManagerImpl*) 66

Generated by: LCOV version 1.13