/third_party/skia/include/private/ |
H A D | SkSLSampleUsage.h | 20 class SampleUsage { class 35 // Make a SampleUsage that corresponds to no sampling of the child at all 36 SampleUsage() = default; 38 SampleUsage(Kind kind, bool hasPerspective) : fKind(kind), fHasPerspective(hasPerspective) { in SampleUsage() function in SkSL::SampleUsage 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(Kin in PassThrough() [all...] |
/third_party/skia/src/sksl/ |
H A D | SkSLSampleUsage.cpp | 14 SampleUsage SampleUsage::merge(const SampleUsage& other) { in merge() 15 // This function is only used when processing SkSL, to determine the combined SampleUsage for in merge() 26 std::string SampleUsage::constructor() const { in constructor() 31 case Kind::kNone: return "SkSL::SampleUsage()"; in constructor() 32 case Kind::kPassThrough: return "SkSL::SampleUsage::PassThrough()"; in constructor() 33 case Kind::kExplicit: return "SkSL::SampleUsage::Explicit()"; in constructor()
|
H A D | SkSLAnalysis.cpp | 69 // Visitor that determines the merged SampleUsage for a given child in the program. 77 SampleUsage visit(const Program& program) { in visit() 78 fUsage = SampleUsage(); // reset to none in visit() 89 SampleUsage fUsage; 107 fUsage.merge(SampleUsage::PassThrough()); 110 fUsage.merge(SampleUsage::Explicit()); 114 fUsage.merge(SampleUsage::PassThrough()); 309 SampleUsage Analysis::GetSampleUsage(const Program& program, in GetSampleUsage() 314 SampleUsage result = visitor.visit(program); in GetSampleUsage() 321 result.setKind(SampleUsage in GetSampleUsage() [all...] |
H A D | SkSLAnalysis.h | 47 SampleUsage GetSampleUsage(const Program& program,
|
/third_party/skia/src/gpu/ |
H A 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()
|
H A D | GrFragmentProcessor.h | 245 // The SampleUsage describing how this FP is invoked by its parent. This only reflects the 247 const SkSL::SampleUsage& sampleUsage() const { in sampleUsage() 398 * The SampleUsage parameter describes all of the ways that the child is sampled by the parent. 401 SkSL::SampleUsage sampleUsage = SkSL::SampleUsage::PassThrough()); 474 SkSL::SampleUsage fUsage; 612 * to the child's SampleUsage object. This is only valid if the child is sampled with a
|
H A D | GrFragmentProcessor.cpp | 160 SkSL::SampleUsage sampleUsage) { 586 this->registerChild(std::move(fp), SkSL::SampleUsage::FragCoord()); 986 args.fFp, SkString(SkSL::SampleUsage::MatrixUniformName()));
|
/third_party/skia/gm/ |
H A D | fp_sample_chaining.cpp | 32 SkSL::SampleUsage::UniformMatrix(/*hasPerspective=*/false)); in UniformMatrixEffect() 48 SkSL::SampleUsage::MatrixUniformName()); 72 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in ExplicitCoordEffect()
|
H A D | fpcoordinateoverride.cpp | 39 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in SampleCoordEffect()
|
/third_party/protobuf/csharp/src/AddressBook/ |
H A D | SampleUsage.cs | 38 internal class SampleUsage
class
|
/third_party/skia/src/gpu/effects/ |
H A D | GrMatrixEffect.h | 33 SkSL::SampleUsage::UniformMatrix(matrix.hasPerspective())); in GrMatrixEffect()
|
H A D | GrMatrixEffect.cpp | 37 SkSL::SampleUsage::MatrixUniformName()); in onMakeProgramImpl()
|
H A D | GrModulateAtlasCoverageEffect.cpp | 26 SkSL::SampleUsage::Explicit());
|
H A 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()
|
H A 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()
|
H A D | GrGaussianConvolutionFragmentProcessor.cpp | 207 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit());
|
H A D | GrBicubicEffect.cpp | 207 this->registerChild(std::move(fp), SkSL::SampleUsage::Explicit()); in GrBicubicEffect()
|
H A D | GrYUVtoRGBEffect.cpp | 218 this->registerChild(std::move(planeFPs[i]), SkSL::SampleUsage::Explicit()); in GrYUVtoRGBEffect()
|
/third_party/skia/include/effects/ |
H A D | SkRuntimeEffect.h | 250 std::vector<SkSL::SampleUsage>&& sampleUsages, 290 std::vector<SkSL::SampleUsage> fSampleUsages;
|
/third_party/skia/src/effects/ |
H A D | SkTableColorFilter.cpp | 153 SkSL::SampleUsage::Explicit()); in ColorTableEffect()
|
/third_party/skia/src/shaders/ |
H A D | SkPerlinNoiseShader.cpp | 650 this->registerChild(std::move(permutationsFP), SkSL::SampleUsage::Explicit()); 651 this->registerChild(std::move(noiseFP), SkSL::SampleUsage::Explicit());
|
/third_party/skia/src/core/ |
H A 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/ |
H A D | SkDisplacementMapImageFilter.cpp | 480 this->registerChild(std::move(color), SkSL::SampleUsage::Explicit()); in GrDisplacementMapEffect()
|
H A D | SkMorphologyImageFilter.cpp | 323 SkSL::SampleUsage::Explicit()); in GrMorphologyEffect()
|
H A D | SkLightingImageFilter.cpp | 1656 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in LightingEffect()
|