Lines Matching refs:GrSamplerState
122 const GrSamplerState::WrapMode wrapModes[2], in GrBicubicEffect()
133 GrSamplerState(wrapModes, GrSamplerState::Filter::kNearest)) {
146 SkASSERT(fTextureSampler.samplerState().wrapModeX() == GrSamplerState::WrapMode::kClamp && in GrBicubicEffect()
147 fTextureSampler.samplerState().wrapModeY() == GrSamplerState::WrapMode::kClamp); in GrBicubicEffect()
181 static const GrSamplerState::WrapMode kClampClamp[] = {GrSamplerState::WrapMode::kClamp, in TestCreate()
182 GrSamplerState::WrapMode::kClamp}; in TestCreate()
189 bool GrBicubicEffect::ShouldUseBicubic(const SkMatrix& matrix, GrSamplerState::Filter* filterMode) { in ShouldUseBicubic()
191 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
199 *filterMode = GrSamplerState::Filter::kMipMap; in ShouldUseBicubic()
206 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()
209 *filterMode = GrSamplerState::Filter::kBilerp; in ShouldUseBicubic()
215 *filterMode = GrSamplerState::Filter::kNearest; in ShouldUseBicubic()