/third_party/skia/include/private/ |
D | SkSLSampleUsage.h | 20 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/ |
D | SkSLSampleUsage.cpp | 14 SampleUsage SampleUsage::merge(const SampleUsage& other) { in merge() 26 std::string SampleUsage::constructor() const { in constructor()
|
D | SkSLAnalysis.cpp | 77 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()
|
D | SkSLAnalysis.h | 47 SampleUsage GetSampleUsage(const Program& program,
|
/third_party/skia/src/gpu/ |
D | GrGeometryProcessor.cpp | 141 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()
|
D | GrFragmentProcessor.h | 242 const SkSL::SampleUsage& sampleUsage() const { in sampleUsage() 396 SkSL::SampleUsage sampleUsage = SkSL::SampleUsage::PassThrough()); 469 SkSL::SampleUsage fUsage;
|
D | GrFragmentProcessor.cpp | 160 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/ |
D | fp_sample_chaining.cpp | 32 SkSL::SampleUsage::UniformMatrix(/*hasPerspective=*/false)); in UniformMatrixEffect() 48 SkSL::SampleUsage::MatrixUniformName()); in onMakeProgramImpl() 72 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in ExplicitCoordEffect()
|
D | fpcoordinateoverride.cpp | 39 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in SampleCoordEffect()
|
/third_party/protobuf/csharp/src/AddressBook/ |
D | SampleUsage.cs | 38 internal class SampleUsage class
|
/third_party/skia/src/gpu/effects/ |
D | GrMatrixEffect.h | 32 SkSL::SampleUsage::UniformMatrix(matrix.hasPerspective())); in GrMatrixEffect()
|
D | GrMatrixEffect.cpp | 37 SkSL::SampleUsage::MatrixUniformName()); in onMakeProgramImpl()
|
D | GrModulateAtlasCoverageEffect.cpp | 26 SkSL::SampleUsage::Explicit());
|
D | GrSkSLFP.cpp | 338 this->registerChild(std::move(input), SkSL::SampleUsage::PassThrough()); in setInput() 347 this->registerChild(std::move(destColorFP), SkSL::SampleUsage::PassThrough()); in setDestColorFP()
|
D | GrMatrixConvolutionEffect.cpp | 284 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in GrMatrixConvolutionEffect() 285 this->registerChild(std::move(kernelFP), SkSL::SampleUsage::Explicit()); in GrMatrixConvolutionEffect()
|
D | GrGaussianConvolutionFragmentProcessor.cpp | 207 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in GrGaussianConvolutionFragmentProcessor()
|
D | GrBicubicEffect.cpp | 207 this->registerChild(std::move(fp), SkSL::SampleUsage::Explicit()); in GrBicubicEffect()
|
D | GrYUVtoRGBEffect.cpp | 218 this->registerChild(std::move(planeFPs[i]), SkSL::SampleUsage::Explicit()); in GrYUVtoRGBEffect()
|
/third_party/skia/include/effects/ |
D | SkRuntimeEffect.h | 250 std::vector<SkSL::SampleUsage>&& sampleUsages, 290 std::vector<SkSL::SampleUsage> fSampleUsages;
|
/third_party/skia/src/effects/ |
D | SkTableColorFilter.cpp | 151 SkSL::SampleUsage::Explicit()); in ColorTableEffect()
|
/third_party/skia/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 648 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/ |
D | SkRuntimeEffect.cpp | 309 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/ |
D | SkDisplacementMapImageFilter.cpp | 471 this->registerChild(std::move(color), SkSL::SampleUsage::Explicit()); in GrDisplacementMapEffect()
|
D | SkMorphologyImageFilter.cpp | 314 SkSL::SampleUsage::Explicit()); in GrMorphologyEffect()
|
D | SkLightingImageFilter.cpp | 1651 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in LightingEffect()
|