Lines Matching refs:GradientCache
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()
182 void GradientCache::splitToBytes(uint32_t inColor, GradientColor& outColor) const { in splitToBytes()
189 void GradientCache::splitToFloats(uint32_t inColor, GradientColor& outColor) const { in splitToFloats()
196 void GradientCache::mixBytes(GradientColor& start, GradientColor& end, float amount, in mixBytes()
208 void GradientCache::mixFloats(GradientColor& start, GradientColor& end, float amount, in mixFloats()
222 void GradientCache::generateTexture(uint32_t* colors, float* positions, in generateTexture()
228 &android::uirenderer::GradientCache::splitToBytes, in generateTexture()
229 &android::uirenderer::GradientCache::splitToFloats, in generateTexture()
234 &android::uirenderer::GradientCache::mixBytes, in generateTexture()
235 &android::uirenderer::GradientCache::mixFloats, in generateTexture()