Home
last modified time | relevance | path

Searched refs:GradientShaderCache (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/effects/gradients/
DSkGradientShaderPriv.h127 class GradientShaderCache : public SkRefCnt {
129 GradientShaderCache(U8CPU alpha, bool dither, const SkGradientShaderBase& shader);
130 ~GradientShaderCache();
158 static void initCache16(GradientShaderCache* cache);
159 static void initCache32(GradientShaderCache* cache);
179 SkAutoTUnref<GradientShaderCache> fCache;
273 GradientShaderCache* refCache(U8CPU alpha, bool dither) const;
275 mutable SkAutoTUnref<GradientShaderCache> fCache;
DSkGradientShader.cpp320 SkGradientShaderBase::GradientShaderCache::GradientShaderCache( in GradientShaderCache() function in SkGradientShaderBase::GradientShaderCache
335 SkGradientShaderBase::GradientShaderCache::~GradientShaderCache() { in ~GradientShaderCache()
346 void SkGradientShaderBase::GradientShaderCache::Build16bitCache( in Build16bitCache()
409 void SkGradientShaderBase::GradientShaderCache::Build32bitCache( in Build32bitCache()
547 const uint16_t* SkGradientShaderBase::GradientShaderCache::getCache16() { in getCache16()
548 SkOnce(&fCache16Inited, &fCache16Mutex, SkGradientShaderBase::GradientShaderCache::initCache16, in getCache16()
554 void SkGradientShaderBase::GradientShaderCache::initCache16(GradientShaderCache* cache) { in initCache16()
581 const SkPMColor* SkGradientShaderBase::GradientShaderCache::getCache32() { in getCache32()
582 SkOnce(&fCache32Inited, &fCache32Mutex, SkGradientShaderBase::GradientShaderCache::initCache32, in getCache32()
588 void SkGradientShaderBase::GradientShaderCache::initCache32(GradientShaderCache* cache) { in initCache32()
[all …]