Searched refs:FontBuffer (Results 1 - 4 of 4) sorted by relevance
/foundation/graphic/graphic_3d/lume/LumeFont/src/ |
H A D | font_buffer.cpp | 24 FontBuffer::FontBuffer(FontManager* fontMgr, const uint64_t hash, BASE_NS::array_view<const uint8_t> bytes) in FontBuffer() function in FontBuffer 29 FontBuffer::~FontBuffer() in ~FontBuffer() 34 std::shared_ptr<FaceData> FontBuffer::CreateFace(long index) in CreateFace() 65 void FontBuffer::Gc() in Gc()
|
H A D | font_buffer.h | 31 class FontBuffer final : public std::enable_shared_from_this<FontBuffer> { 33 FontBuffer(FontManager* fontMgr, uint64_t hash, BASE_NS::array_view<const uint8_t> bytes); 34 ~FontBuffer();
|
H A D | font_manager.h | 37 class FontBuffer; 70 void Gc(uint64_t uid, FontBuffer* data); 170 std::shared_ptr<FontBuffer> CreateFontBuffer(const TypeFace& typeFace); 184 BASE_NS::unordered_map<uint64_t, std::weak_ptr<FontBuffer>> fontBuffers_;
|
H A D | font_manager.cpp | 139 std::shared_ptr<FontBuffer> FontManager::CreateFontBuffer(const TypeFace& typeFace) in CreateFontBuffer() 175 auto fb = std::make_shared<FontBuffer>(this, typeFace.uid, bytes); in CreateFontBuffer() 178 CORE_LOG_N("create FontBuffer %p", this); in CreateFontBuffer() 200 std::shared_ptr<FontBuffer> fontBuff; in CreateFontFromMemory() 213 fontBuff = std::make_shared<FontBuffer>(this, typeFace.uid, buffer); in CreateFontFromMemory() 510 void FontManager::Gc(uint64_t uid, FontBuffer* data) in Gc()
|
Completed in 2 milliseconds