Lines Matching refs:te
160 std::unique_ptr<GrFragmentProcessor> te(new GrTextureEffect(std::move(view), in Make() local
163 return GrMatrixEffect::Make(matrix, std::move(te)); in Make()
179 std::unique_ptr<GrFragmentProcessor> te(new GrTextureEffect(std::move(view), in Make() local
182 return GrMatrixEffect::Make(matrix, std::move(te)); in Make()
200 std::unique_ptr<GrFragmentProcessor> te(new GrTextureEffect(std::move(view), in MakeSubset() local
203 return GrMatrixEffect::Make(matrix, std::move(te)); in MakeSubset()
215 std::unique_ptr<GrFragmentProcessor> te(new GrTextureEffect(std::move(view), in MakeSubset() local
218 return GrMatrixEffect::Make(matrix, std::move(te)); in MakeSubset()
234 std::unique_ptr<GrFragmentProcessor> te(new GrTextureEffect(std::move(view), in MakeCustomLinearFilterInset() local
237 return GrMatrixEffect::Make(matrix, std::move(te)); in MakeCustomLinearFilterInset()
312 auto& te = args.fFp.cast<GrTextureEffect>(); in emitCode() local
315 if (te.fShaderModes[0] == ShaderMode::kNone && in emitCode()
316 te.fShaderModes[1] == ShaderMode::kNone) { in emitCode()
342 const auto& m = te.fShaderModes; in emitCode()
345 if (te.hasClampToBorderShaderMode()) { in emitCode()
347 &te, kFragment_GrShaderFlag, kHalf4_GrSLType, "border", &borderName); in emitCode()
385 &te, kFragment_GrShaderFlag, kFloat4_GrSLType, "subset", &subsetName); in emitCode()
391 &te, kFragment_GrShaderFlag, kFloat4_GrSLType, "clamp", &clampName); in emitCode()
398 SkASSERT(!(unormCoordsRequiredForShaderMode && te.matrixEffectShouldNormalize())); in emitCode()
400 te.fView.asTextureProxy()->textureType() != GrTextureType::kRectangle; in emitCode()
406 fIDimsUni = args.fUniformHandler->addUniform(&te, kFragment_GrShaderFlag, in emitCode()
534 subsetCoord(te.fShaderModes[0], "x", "x", "z", extraRepeatCoordX, repeatCoordWeightX); in emitCode()
535 subsetCoord(te.fShaderModes[1], "y", "y", "w", extraRepeatCoordY, repeatCoordWeightY); in emitCode()
675 const auto& te = fp.cast<GrTextureEffect>(); in onSetData() local
677 const float w = te.texture()->width(); in onSetData()
678 const float h = te.texture()->height(); in onSetData()
679 const auto& s = te.fSubset; in onSetData()
680 const auto& c = te.fClamp; in onSetData()
682 auto type = te.texture()->textureType(); in onSetData()
692 if (te.view().origin() == kBottomLeft_GrSurfaceOrigin) { in onSetData()
715 pdm.set4fv(fBorderUni, 1, te.fBorder); in onSetData()