Searched refs:ShadowTexture (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h113 struct ShadowTexture: public Texture { struct in namespace:android::uirenderer
114 ShadowTexture(Caches& caches): Texture(caches) { function in struct:android::uirenderer::ShadowTexture
119 }; // struct ShadowTexture
121 class TextDropShadowCache: public OnEntryRemoved<ShadowText, ShadowTexture*> {
131 void operator()(ShadowText& text, ShadowTexture*& texture) override;
133 ShadowTexture* get(const SkPaint* paint, const glyph_t* text,
155 LruCache<ShadowText, ShadowTexture*> mCache;
H A DTextDropShadowCache.cpp100 : mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity)
127 void TextDropShadowCache::operator()(ShadowText&, ShadowTexture*& texture) {
148 ShadowTexture* TextDropShadowCache::get(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs,
151 ShadowTexture* texture = mCache.get(entry);
165 texture = new ShadowTexture(caches);
H A DGlopBuilder.h66 GlopBuilder& setFillShadowTexturePaint(ShadowTexture& texture, int shadowColor,
H A DGlopBuilder.cpp407 GlopBuilder& GlopBuilder::setFillShadowTexturePaint(ShadowTexture& texture, int shadowColor,
H A DBakedOpDispatcher.cpp211 ShadowTexture* texture = renderer.caches().dropShadowCache.get(
H A DOpenGLRenderer.cpp1973 ShadowTexture* texture = mCaches.dropShadowCache.get(
/frameworks/base/libs/hwui/tests/unit/
H A DTextDropShadowCacheTests.cpp47 ShadowTexture* texture = cache.get(&paint, glyphs.data(), glyphs.size(), 10, positions.data());

Completed in 2034 milliseconds