Searched refs:GradientCache (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/libs/hwui/ |
D | GradientCache.cpp | 65 GradientCache::GradientCache(Extensions& extensions) in GradientCache() function in android::uirenderer::GradientCache 76 GradientCache::~GradientCache() { in ~GradientCache() 84 uint32_t GradientCache::getSize() { in getSize() 88 uint32_t GradientCache::getMaxSize() { in getMaxSize() 96 void GradientCache::operator()(GradientCacheEntry&, Texture*& texture) { in operator ()() 108 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) { in get() 119 void GradientCache::clear() { in clear() 123 void GradientCache::getGradientInfo(const uint32_t* colors, const int count, in getGradientInfo() 146 Texture* GradientCache::addLinearGradient(GradientCacheEntry& gradient, in addLinearGradient() 177 size_t GradientCache::bytesPerPixel() const { in bytesPerPixel() [all …]
|
D | GradientCache.h | 104 class GradientCache: public OnEntryRemoved<GradientCacheEntry, Texture*> { 106 GradientCache(Extensions& extensions); 107 ~GradientCache(); 161 typedef void (GradientCache::*ChannelSplitter)(uint32_t inColor, 167 typedef void (GradientCache::*ChannelMixer)(GradientColor& start, GradientColor& end,
|
D | Caches.h | 151 GradientCache gradientCache;
|
D | Android.mk | 66 GradientCache.cpp \
|
/frameworks/base/libs/hwui/tests/unit/ |
D | GradientCacheTests.cpp | 26 RENDERTHREAD_TEST(GradientCache, addRemove) { in RENDERTHREAD_TEST() argument 28 GradientCache cache(extensions); in RENDERTHREAD_TEST()
|