Home
last modified time | relevance | path

Searched refs:GradientCache (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/
DGradientCache.cpp65 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 …]
DGradientCache.h104 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,
DCaches.h151 GradientCache gradientCache;
DAndroid.mk66 GradientCache.cpp \
/frameworks/base/libs/hwui/tests/unit/
DGradientCacheTests.cpp26 RENDERTHREAD_TEST(GradientCache, addRemove) { in RENDERTHREAD_TEST() argument
28 GradientCache cache(extensions); in RENDERTHREAD_TEST()