MCPcopy Create free account
hub / github.com/Tencent/tgfx / HBLockedFontCache

Method HBLockedFontCache

test/src/utils/TextShaper.cpp:97–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95class HBLockedFontCache {
96 public:
97 HBLockedFontCache(std::list<uint32_t>* lru, std::map<uint32_t, std::shared_ptr<hb_font_t>>* cache,
98 std::mutex* mutex)
99 : lru(lru), cache(cache), mutex(mutex) {
100 mutex->lock();
101 }
102 HBLockedFontCache(const HBLockedFontCache&) = delete;
103 HBLockedFontCache& operator=(const HBLockedFontCache&) = delete;
104 HBLockedFontCache& operator=(HBLockedFontCache&&) = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected