Home
last modified time | relevance | path

Searched refs:SampleUsage (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/include/private/
DSkSLSampleUsage.h20 class SampleUsage {
36 SampleUsage() = default;
38 SampleUsage(Kind kind, bool hasPerspective) : fKind(kind), fHasPerspective(hasPerspective) { in SampleUsage() function
45 static SampleUsage UniformMatrix(bool hasPerspective) { in UniformMatrix()
46 return SampleUsage(Kind::kUniformMatrix, hasPerspective); in UniformMatrix()
49 static SampleUsage Explicit() { in Explicit()
50 return SampleUsage(Kind::kExplicit, false); in Explicit()
53 static SampleUsage PassThrough() { in PassThrough()
54 return SampleUsage(Kind::kPassThrough, false); in PassThrough()
57 static SampleUsage FragCoord() { return SampleUsage(Kind::kFragCoord, false); } in FragCoord()
[all …]
/third_party/skia/src/sksl/
DSkSLSampleUsage.cpp14 SampleUsage SampleUsage::merge(const SampleUsage& other) { in merge()
26 std::string SampleUsage::constructor() const { in constructor()
DSkSLAnalysis.cpp77 SampleUsage visit(const Program& program) { in visit()
78 fUsage = SampleUsage(); // reset to none in visit()
89 SampleUsage fUsage;
107 fUsage.merge(SampleUsage::PassThrough()); in visitExpression()
110 fUsage.merge(SampleUsage::Explicit()); in visitExpression()
114 fUsage.merge(SampleUsage::PassThrough()); in visitExpression()
309 SampleUsage Analysis::GetSampleUsage(const Program& program, in GetSampleUsage()
314 SampleUsage result = visitor.visit(program); in GetSampleUsage()
321 result.setKind(SampleUsage::Kind::kPassThrough); in GetSampleUsage()
DSkSLAnalysis.h47 SampleUsage GetSampleUsage(const Program& program,
/third_party/skia/src/gpu/
DGrGeometryProcessor.cpp141 case SkSL::SampleUsage::Kind::kNone: in collectTransforms()
145 case SkSL::SampleUsage::Kind::kPassThrough: in collectTransforms()
147 case SkSL::SampleUsage::Kind::kUniformMatrix: in collectTransforms()
153 case SkSL::SampleUsage::Kind::kFragCoord: in collectTransforms()
159 case SkSL::SampleUsage::Kind::kExplicit: in collectTransforms()
240 *fp->parent(), SkString(SkSL::SampleUsage::MatrixUniformName())); in emitTransformCode()
262 *base->parent(), SkString(SkSL::SampleUsage::MatrixUniformName())); in emitTransformCode()
DGrFragmentProcessor.h242 const SkSL::SampleUsage& sampleUsage() const { in sampleUsage()
396 SkSL::SampleUsage sampleUsage = SkSL::SampleUsage::PassThrough());
469 SkSL::SampleUsage fUsage;
DGrFragmentProcessor.cpp160 SkSL::SampleUsage sampleUsage) { in registerChild()
574 this->registerChild(std::move(fp), SkSL::SampleUsage::FragCoord()); in DeviceSpace()
927 args.fFp, SkString(SkSL::SampleUsage::MatrixUniformName())); in invokeChildWithMatrix()
/third_party/skia/gm/
Dfp_sample_chaining.cpp32 SkSL::SampleUsage::UniformMatrix(/*hasPerspective=*/false)); in UniformMatrixEffect()
48 SkSL::SampleUsage::MatrixUniformName()); in onMakeProgramImpl()
72 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in ExplicitCoordEffect()
Dfpcoordinateoverride.cpp39 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in SampleCoordEffect()
/third_party/protobuf/csharp/src/AddressBook/
DSampleUsage.cs38 internal class SampleUsage class
/third_party/skia/src/gpu/effects/
DGrMatrixEffect.h32 SkSL::SampleUsage::UniformMatrix(matrix.hasPerspective())); in GrMatrixEffect()
DGrMatrixEffect.cpp37 SkSL::SampleUsage::MatrixUniformName()); in onMakeProgramImpl()
DGrModulateAtlasCoverageEffect.cpp26 SkSL::SampleUsage::Explicit());
DGrSkSLFP.cpp338 this->registerChild(std::move(input), SkSL::SampleUsage::PassThrough()); in setInput()
347 this->registerChild(std::move(destColorFP), SkSL::SampleUsage::PassThrough()); in setDestColorFP()
DGrMatrixConvolutionEffect.cpp284 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in GrMatrixConvolutionEffect()
285 this->registerChild(std::move(kernelFP), SkSL::SampleUsage::Explicit()); in GrMatrixConvolutionEffect()
DGrGaussianConvolutionFragmentProcessor.cpp207 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in GrGaussianConvolutionFragmentProcessor()
DGrBicubicEffect.cpp207 this->registerChild(std::move(fp), SkSL::SampleUsage::Explicit()); in GrBicubicEffect()
DGrYUVtoRGBEffect.cpp218 this->registerChild(std::move(planeFPs[i]), SkSL::SampleUsage::Explicit()); in GrYUVtoRGBEffect()
/third_party/skia/include/effects/
DSkRuntimeEffect.h250 std::vector<SkSL::SampleUsage>&& sampleUsages,
290 std::vector<SkSL::SampleUsage> fSampleUsages;
/third_party/skia/src/effects/
DSkTableColorFilter.cpp151 SkSL::SampleUsage::Explicit()); in ColorTableEffect()
/third_party/skia/src/shaders/
DSkPerlinNoiseShader.cpp648 this->registerChild(std::move(permutationsFP), SkSL::SampleUsage::Explicit()); in GrPerlinNoise2Effect()
649 this->registerChild(std::move(noiseFP), SkSL::SampleUsage::Explicit()); in GrPerlinNoise2Effect()
/third_party/skia/src/core/
DSkRuntimeEffect.cpp309 std::vector<SkSL::SampleUsage> sampleUsages; in MakeInternal()
337 : SkSL::SampleUsage::PassThrough()); in MakeInternal()
513 std::vector<SkSL::SampleUsage>&& sampleUsages, in SkRuntimeEffect()
/third_party/skia/src/effects/imagefilters/
DSkDisplacementMapImageFilter.cpp471 this->registerChild(std::move(color), SkSL::SampleUsage::Explicit()); in GrDisplacementMapEffect()
DSkMorphologyImageFilter.cpp314 SkSL::SampleUsage::Explicit()); in GrMorphologyEffect()
DSkLightingImageFilter.cpp1651 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in LightingEffect()

12