Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/effects/
DGrBicubicEffect.cpp22 const GrBicubicEffect& bicubicEffect = effect.cast<GrBicubicEffect>(); in GenKey() local
23 b->add32(GrTextureDomain::GLDomain::DomainKey(bicubicEffect.domain())); in GenKey()
24 uint32_t bidir = bicubicEffect.direction() == GrBicubicEffect::Direction::kXY ? 1 : 0; in GenKey()
25 b->add32(bidir | (bicubicEffect.alphaType() << 1)); in GenKey()
41 const GrBicubicEffect& bicubicEffect = args.fFp.cast<GrBicubicEffect>(); in emitCode() local
81 if (bicubicEffect.direction() == GrBicubicEffect::Direction::kXY) { in emitCode()
96 bicubicEffect.domain(), in emitCode()
125 bicubicEffect.domain(), in emitCode()
135 if (kPremul_SkAlphaType == bicubicEffect.alphaType()) { in emitCode()
147 const GrBicubicEffect& bicubicEffect = processor.cast<GrBicubicEffect>(); in onSetData() local
[all …]
/third_party/skia/src/gpu/effects/
DGrBicubicEffect.cpp31 const GrBicubicEffect& bicubicEffect = args.fFp.cast<GrBicubicEffect>(); in emitCode() local
43 if (bicubicEffect.fDirection == GrBicubicEffect::Direction::kXY) { in emitCode()
68 const char* d = bicubicEffect.fDirection == Direction::kX ? "x" : "y"; in emitCode()
77 if (bicubicEffect.fDirection == Direction::kX) { in emitCode()
90 switch (bicubicEffect.fClamp) { in emitCode()
106 auto& bicubicEffect = fp.cast<GrBicubicEffect>(); in onSetData() local
108 if (fKernel.B != bicubicEffect.fKernel.B || fKernel.C != bicubicEffect.fKernel.C) { in onSetData()
109 fKernel = bicubicEffect.fKernel; in onSetData()