HomeSort by relevance Sort by last modified time
    Searched refs:GradientCacheEntry (Results 1 - 2 of 2) sorted by null

  /frameworks/base/libs/hwui/
GradientCache.h 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
    [all...]
GradientCache.cpp 38 mCache(GenerationCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity),
52 mCache(GenerationCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity),
84 void GradientCache::operator()(GradientCacheEntry& shader, Texture*& texture) {
103 GradientCacheEntry gradient(colors, positions, count, tileMode);
117 Texture* GradientCache::addLinearGradient(GradientCacheEntry& gradient,

Completed in 41 milliseconds