Home
last modified time | relevance | path

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

/external/skia/src/shaders/gradients/
DSkGradientShaderPriv.h126 class GradientShaderCache : public SkRefCnt {
128 GradientShaderCache(U8CPU alpha, bool dither, const SkGradientShaderBase& shader);
129 ~GradientShaderCache();
153 static void initCache32(GradientShaderCache* cache);
174 sk_sp<GradientShaderCache> fCache;
283 sk_sp<GradientShaderCache> refCache(U8CPU alpha, bool dither) const;
285 mutable sk_sp<GradientShaderCache> fCache;
DSkGradientShader.cpp554 SkGradientShaderBase::GradientShaderCache::GradientShaderCache( in GradientShaderCache() function in SkGradientShaderBase::GradientShaderCache
564 SkGradientShaderBase::GradientShaderCache::~GradientShaderCache() {} in ~GradientShaderCache()
584 void SkGradientShaderBase::GradientShaderCache::Build32bitCache( in Build32bitCache()
722 const SkPMColor* SkGradientShaderBase::GradientShaderCache::getCache32() { in getCache32()
723 fCache32InitOnce(SkGradientShaderBase::GradientShaderCache::initCache32, this); in getCache32()
728 void SkGradientShaderBase::GradientShaderCache::initCache32(GradientShaderCache* cache) { in initCache32()
813 sk_sp<SkGradientShaderBase::GradientShaderCache> SkGradientShaderBase::refCache(U8CPU alpha, in refCache()
817 fCache.reset(new GradientShaderCache(alpha, dither, *this)); in refCache()
842 sk_sp<GradientShaderCache> cache(this->refCache(0xFF, true)); in getGradientTableBitmap()