LCOV - code coverage report
Current view: top level - source/graphics - Font.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 176 285 61.8 %
Date: 2026-12-03 01:19:39 Functions: 15 21 71.4 %

Function Name Sort by function name Hit count Sort by hit count
CFont::UploadAtlasTextureToGPU(Renderer::Backend::IDeviceCommandContext*) 0
CFont::GenerateStrokeGlyphBitmap(FT_GlyphRec_* const&, unsigned short, FT_Render_Mode_, float) 0
CFont::BlendGlyphBitmapToTextureRGBA(FT_Bitmap_ const&, int, int, unsigned char, unsigned char, unsigned char) 0
CFont::ChooseTextureFormatAndSampler() 0
CFont::InitalizeAtlasTextureIfNeeded(Renderer::Backend::IDeviceCommandContext*) 0
CFont::GlyphMap::get(unsigned short) const 0
CFont::SetFontParams(Renderer::Backend::IDevice*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float, float, float) 5
CFont::AddFontFromPath(Path const&) 5
CFont::ConstructAtlasTexture(Renderer::Backend::IDevice*) 5
CFont::GenerateGlyphBitmap(FT_GlyphRec_*&, unsigned short, FT_Render_Mode_, CVector2D, float) 476
CFont::ExtractAndGenerateGlyph(unsigned short) 476
CFont::BlendGlyphBitmapToTexture(FT_Bitmap_ const&, int, int, unsigned char, unsigned char, unsigned char) 476
CFont::BlendGlyphBitmapToTextureR8(FT_Bitmap_ const&, int, int) 476
CFont::GlyphMap::set(unsigned short, CFont::GlyphData const&) 476
CFont::ExtractAndGenerateGlyph(unsigned short)::{lambda()#1}::operator()() const 476
CFont::GetHeight() const 647
CFont::GetCharacterWidth(wchar_t) 970
CFont::CalculateStringSize(wchar_t const*, float&, float&) 1670
CFont::GetCapHeight() 2656
CFont::CalculateStringSize(wchar_t const*, float&, float&)::{lambda(float, wchar_t)#1}::operator()(float, wchar_t) const 20095
CFont::GetGlyph(unsigned short) 21535

Generated by: LCOV version 1.16