Lines Matching refs:GradientShaderCache
320 SkGradientShaderBase::GradientShaderCache::GradientShaderCache(
335 SkGradientShaderBase::GradientShaderCache::~GradientShaderCache() {
346 void SkGradientShaderBase::GradientShaderCache::Build16bitCache(
409 void SkGradientShaderBase::GradientShaderCache::Build32bitCache(
547 const uint16_t* SkGradientShaderBase::GradientShaderCache::getCache16() {
548 SkOnce(&fCache16Inited, &fCache16Mutex, SkGradientShaderBase::GradientShaderCache::initCache16,
554 void SkGradientShaderBase::GradientShaderCache::initCache16(GradientShaderCache* cache) {
581 const SkPMColor* SkGradientShaderBase::GradientShaderCache::getCache32() {
582 SkOnce(&fCache32Inited, &fCache32Mutex, SkGradientShaderBase::GradientShaderCache::initCache32,
588 void SkGradientShaderBase::GradientShaderCache::initCache32(GradientShaderCache* cache) {
619 SkGradientShaderBase::GradientShaderCache* SkGradientShaderBase::refCache(U8CPU alpha,
623 fCache.reset(new GradientShaderCache(alpha, dither, *this));
644 SkAutoTUnref<GradientShaderCache> cache(this->refCache(0xFF, true));