Home
last modified time | relevance | path

Searched refs:FontBuffer (Results 1 - 4 of 4) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeFont/src/
H A Dfont_buffer.cpp24 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 Dfont_buffer.h31 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 Dfont_manager.h37 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 Dfont_manager.cpp139 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 3 milliseconds