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

/frameworks/base/libs/hwui/
H A DTextDropShadowCache.cpp31 mCache(GenerationCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity),
46 mCache(GenerationCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity),
83 void TextDropShadowCache::operator()(ShadowText& text, ShadowTexture*& texture) {
104 ShadowTexture* TextDropShadowCache::get(SkPaint* paint, const char* text, uint32_t len,
107 ShadowTexture* texture = mCache.get(entry);
113 texture = new ShadowTexture;
H A DTextDropShadowCache.h99 struct ShadowTexture: public Texture { struct in namespace:android::uirenderer
100 ShadowTexture(): Texture() { function in struct:android::uirenderer::ShadowTexture
105 }; // struct ShadowTexture
107 class TextDropShadowCache: public OnEntryRemoved<ShadowText, ShadowTexture*> {
117 void operator()(ShadowText& text, ShadowTexture*& texture);
119 ShadowTexture* get(SkPaint* paint, const char* text, uint32_t len,
147 GenerationCache<ShadowText, ShadowTexture*> mCache;
H A DOpenGLRenderer.cpp2379 const ShadowTexture* shadow = mCaches.dropShadowCache.get(

Completed in 49 milliseconds