Lines Matching refs:SkGradientShaderBase
15 void SkGradientShaderBase::Descriptor::flatten(SkWriteBuffer& buffer) const { in flatten()
33 bool SkGradientShaderBase::DescriptorScope::unflatten(SkReadBuffer& buffer) { in unflatten()
70 SkGradientShaderBase::SkGradientShaderBase(const Descriptor& desc, const SkMatrix& ptsToUnit) in SkGradientShaderBase() function in SkGradientShaderBase
204 SkGradientShaderBase::~SkGradientShaderBase() { in ~SkGradientShaderBase()
210 void SkGradientShaderBase::initCommon() { in initCommon()
218 void SkGradientShaderBase::flatten(SkWriteBuffer& buffer) const { in flatten()
231 SkGradientShaderBase::GpuColorType SkGradientShaderBase::getGpuColorType(SkColor colors[3]) const { in getGpuColorType()
248 void SkGradientShaderBase::FlipGradientColors(SkColor* colorDst, Rec* recDst, in FlipGradientColors()
268 bool SkGradientShaderBase::isOpaque() const { in isOpaque()
276 bool SkGradientShaderBase::onAsLuminanceColor(SkColor* lum) const { in onAsLuminanceColor()
294 SkGradientShaderBase::GradientShaderBaseContext::GradientShaderBaseContext( in GradientShaderBaseContext()
295 const SkGradientShaderBase& shader, const ContextRec& rec) in GradientShaderBaseContext()
320 SkGradientShaderBase::GradientShaderCache::GradientShaderCache( in GradientShaderCache()
321 U8CPU alpha, bool dither, const SkGradientShaderBase& shader) in 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()
619 SkGradientShaderBase::GradientShaderCache* SkGradientShaderBase::refCache(U8CPU alpha, in refCache()
641 void SkGradientShaderBase::getGradientTableBitmap(SkBitmap* bitmap) const { in getGradientTableBitmap()
688 void SkGradientShaderBase::commonAsAGradient(GradientInfo* info, bool flipGrad) const { in commonAsAGradient()
724 void SkGradientShaderBase::toString(SkString* str) const { in toString()
778 static void desc_init(SkGradientShaderBase::Descriptor* desc, in desc_init()
803 SkGradientShaderBase::Descriptor desc; in CreateLinear()
822 SkGradientShaderBase::Descriptor desc; in CreateRadial()
851 SkGradientShaderBase::Descriptor desc; in CreateTwoPointConical()
889 SkGradientShaderBase::Descriptor desc; in CreateSweep()
920 if (SkGradientShaderBase::kTwo_GpuColorType == ge.getColorType()) { // 2 Color case in emitUniforms()
928 } else if (SkGradientShaderBase::kThree_GpuColorType == ge.getColorType()) { // 3 Color Case in emitUniforms()
974 if (SkGradientShaderBase::kTwo_GpuColorType == e.getColorType()){ in onSetData()
984 } else if (SkGradientShaderBase::kThree_GpuColorType == e.getColorType()){ in onSetData()
1011 if (SkGradientShaderBase::kTwo_GpuColorType == e.getColorType()) { in GenBaseGradientKey()
1013 } else if (SkGradientShaderBase::kThree_GpuColorType == e.getColorType()) { in GenBaseGradientKey()
1032 if (SkGradientShaderBase::kTwo_GpuColorType == ge.getColorType()){ in emitColor()
1049 } else if (SkGradientShaderBase::kThree_GpuColorType == ge.getColorType()) { in emitColor()
1088 const SkGradientShaderBase& shader, in GrGradientEffect()
1097 if (SkGradientShaderBase::kTwo_GpuColorType == fColorType || in GrGradientEffect()
1098 SkGradientShaderBase::kThree_GpuColorType == fColorType) { in GrGradientEffect()
1157 if (SkGradientShaderBase::kTwo_GpuColorType == fColorType) { in onIsEqual()
1162 } else if (SkGradientShaderBase::kThree_GpuColorType == fColorType) { in onIsEqual()