Lines Matching refs:GradientCacheEntry
31 struct GradientCacheEntry {
32 GradientCacheEntry() {
39 GradientCacheEntry(uint32_t* colors, float* positions, int count,
44 GradientCacheEntry(const GradientCacheEntry& entry) {
48 ~GradientCacheEntry() {
53 GradientCacheEntry& operator=(const GradientCacheEntry& entry) {
64 bool operator<(const GradientCacheEntry& r) const {
65 const GradientCacheEntry& rhs = (const GradientCacheEntry&) r;
96 }; // GradientCacheEntry
103 class GradientCache: public OnEntryRemoved<GradientCacheEntry, Texture*> {
113 void operator()(GradientCacheEntry& shader, Texture*& texture);
143 Texture* addLinearGradient(GradientCacheEntry& gradient,
149 GenerationCache<GradientCacheEntry, Texture*> mCache;