Home
last modified time | relevance | path

Searched refs:ShadowTexture (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/
DTextDropShadowCache.h113 struct ShadowTexture: public Texture { struct
114 explicit ShadowTexture(Caches& caches): Texture(caches) { in ShadowTexture() function
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;
DTextDropShadowCache.cpp100 : mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity) in TextDropShadowCache()
127 void TextDropShadowCache::operator()(ShadowText&, ShadowTexture*& texture) { in operator ()()
148 ShadowTexture* TextDropShadowCache::get(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, in get()
151 ShadowTexture* texture = mCache.get(entry); in get()
165 texture = new ShadowTexture(caches); in get()
DGlopBuilder.h39 struct ShadowTexture;
69 GlopBuilder& setFillShadowTexturePaint(ShadowTexture& texture, int shadowColor,
DGlopBuilder.cpp387 GlopBuilder& GlopBuilder::setFillShadowTexturePaint(ShadowTexture& texture, int shadowColor, in setFillShadowTexturePaint()
DBakedOpDispatcher.cpp205 ShadowTexture* texture = renderer.caches().dropShadowCache.get( in renderTextShadow()
/frameworks/base/libs/hwui/tests/unit/
DTextDropShadowCacheTests.cpp47 ShadowTexture* texture = cache.get(&paint, glyphs.data(), glyphs.size(), 10, positions.data()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()