Lines Matching refs:count
35 count = 0; in GradientCacheEntry()
40 GradientCacheEntry(uint32_t* colors, float* positions, uint32_t count) { in GradientCacheEntry()
41 copy(colors, positions, count); in GradientCacheEntry()
45 copy(entry.colors, entry.positions, entry.count); in GradientCacheEntry()
58 copy(entry.colors, entry.positions, entry.count);
78 uint32_t count; member
81 void copy(uint32_t* colors, float* positions, uint32_t count) { in copy()
82 this->count = count; in copy()
83 this->colors = new uint32_t[count]; in copy()
84 this->positions = new float[count]; in copy()
86 memcpy(this->colors, colors, count * sizeof(uint32_t)); in copy()
87 memcpy(this->positions, positions, count * sizeof(float)); in copy()
126 Texture* get(uint32_t* colors, float* positions, int count);
152 uint32_t* colors, float* positions, int count);
161 void getGradientInfo(const uint32_t* colors, const int count, GradientInfo& info);