Lines Matching refs:ShadowText
36 struct ShadowText { struct
37 ShadowText(): glyphCount(0), radius(0.0f), textSize(0.0f), typeface(nullptr), in ShadowText() function
42 ShadowText(const SkPaint* paint, float radius, uint32_t glyphCount, const glyph_t* srcGlyphs, in ShadowText() argument
55 ~ShadowText() { in ~ShadowText() argument
60 static int compare(const ShadowText& lhs, const ShadowText& rhs);
62 bool operator==(const ShadowText& other) const {
66 bool operator!=(const ShadowText& other) const {
98 inline int strictly_order_type(const ShadowText& lhs, const ShadowText& rhs) { in strictly_order_type()
99 return ShadowText::compare(lhs, rhs) < 0; in strictly_order_type()
102 inline int compare_type(const ShadowText& lhs, const ShadowText& rhs) { in compare_type()
103 return ShadowText::compare(lhs, rhs); in compare_type()
106 inline hash_t hash_type(const ShadowText& entry) { in hash_type()
121 class TextDropShadowCache: public OnEntryRemoved<ShadowText, ShadowTexture*> {
131 void operator()(ShadowText& text, ShadowTexture*& texture) override;
155 LruCache<ShadowText, ShadowTexture*> mCache;