Home
last modified time | relevance | path

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

123

/external/skia/include/private/
DSkSLSampleUsage.h20 struct SampleUsage { struct
33 SampleUsage() = default;
37 static SampleUsage UniformMatrix(std::string expression, bool hasPerspective = true) {
38 return SampleUsage(Kind::kUniformMatrix, std::move(expression), hasPerspective);
41 static SampleUsage Explicit() { in Explicit() argument
42 return SampleUsage(Kind::kExplicit, "", false); in Explicit()
45 static SampleUsage PassThrough() { in PassThrough() argument
46 return SampleUsage(Kind::kPassThrough, "", false); in PassThrough()
49 SampleUsage merge(const SampleUsage& other);
61 SampleUsage(Kind kind, std::string expression, bool hasPerspective) in SampleUsage() function
/external/skia/src/sksl/
DSkSLSampleUsage.cpp31 SampleUsage SampleUsage::merge(const SampleUsage& other) { in merge()
43 std::string SampleUsage::constructor() const { in constructor()
DSkSLAnalysis.cpp80 SampleUsage visit(const Program& program) { in visit()
81 fUsage = SampleUsage(); // reset to none in visit()
90 SampleUsage fUsage;
109 fUsage.merge(SampleUsage::PassThrough()); in visitExpression()
111 fUsage.merge(SampleUsage::Explicit()); in visitExpression()
115 fUsage.merge(SampleUsage::PassThrough()); in visitExpression()
119 fUsage.merge(SampleUsage::PassThrough()); in visitExpression()
566 SampleUsage Analysis::GetSampleUsage(const Program& program, in GetSampleUsage()
/external/skia/tests/sksl/dslfp/
DGrDSLFPTest_Sample.h26 this->registerChild(std::move(fp1), SkSL::SampleUsage::PassThrough()); in GrDSLFPTest_Sample()
27 this->registerChild(std::move(fp2), SkSL::SampleUsage::Explicit()); in GrDSLFPTest_Sample()
/external/skia/tests/sksl/fp/
DGrNestedChildProcessors.h26 this->registerChild(std::move(child1), SkSL::SampleUsage::PassThrough()); in GrNestedChildProcessors()
27 this->registerChild(std::move(child2), SkSL::SampleUsage::PassThrough()); in GrNestedChildProcessors()
DGrChildProcessorSampleWithColor.h27 this->registerChild(std::move(passthrough), SkSL::SampleUsage::PassThrough()); in GrChildProcessorSampleWithColor()
28 this->registerChild(std::move(explicit), SkSL::SampleUsage::Explicit()); in GrChildProcessorSampleWithColor()
DGrChildProcessorsWithInput.h26 this->registerChild(std::move(child1), SkSL::SampleUsage::PassThrough()); in GrChildProcessorsWithInput()
27 this->registerChild(std::move(child2), SkSL::SampleUsage::PassThrough()); in GrChildProcessorsWithInput()
DGrChildProcessors.h26 this->registerChild(std::move(child1), SkSL::SampleUsage::PassThrough()); in GrChildProcessors()
27 this->registerChild(std::move(child2), SkSL::SampleUsage::PassThrough()); in GrChildProcessors()
DGrNestedCall.h26 this->registerChild(std::move(fp), SkSL::SampleUsage::PassThrough()); in GrNestedCall()
DGrChildProcessorWithInputExpression.h26 this->registerChild(std::move(child), SkSL::SampleUsage::PassThrough()); in GrChildProcessorWithInputExpression()
DGrChildProcessorAndGlobal.h26 this->registerChild(std::move(child), SkSL::SampleUsage::PassThrough()); in GrChildProcessorAndGlobal()
DGrChildProcessorSampleCoords.h27 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in GrChildProcessorSampleCoords()
/external/skia/src/gpu/effects/generated/
DGrCircleBlurFragmentProcessor.h46 this->registerChild(std::move(inputFP), SkSL::SampleUsage::PassThrough()); in GrCircleBlurFragmentProcessor()
47 this->registerChild(std::move(blurProfile), SkSL::SampleUsage::Explicit()); in GrCircleBlurFragmentProcessor()
DGrRRectBlurEffect.h50 this->registerChild(std::move(inputFP), SkSL::SampleUsage::PassThrough()); in GrRRectBlurEffect()
51 this->registerChild(std::move(ninePatchFP), SkSL::SampleUsage::Explicit()); in GrRRectBlurEffect()
DGrArithmeticProcessor.h42 this->registerChild(std::move(srcFP), SkSL::SampleUsage::PassThrough()); in GrArithmeticProcessor()
43 this->registerChild(std::move(dstFP), SkSL::SampleUsage::PassThrough()); in GrArithmeticProcessor()
DGrAlphaThresholdFragmentProcessor.h45 this->registerChild(std::move(inputFP), SkSL::SampleUsage::PassThrough()); in GrAlphaThresholdFragmentProcessor()
46 this->registerChild(std::move(maskFP), SkSL::SampleUsage::PassThrough()); in GrAlphaThresholdFragmentProcessor()
DGrRectBlurEffect.h177 this->registerChild(std::move(inputFP), SkSL::SampleUsage::PassThrough()); in GrRectBlurEffect()
178 this->registerChild(std::move(integral), SkSL::SampleUsage::Explicit()); in GrRectBlurEffect()
DGrBlurredEdgeFragmentProcessor.h32 this->registerChild(std::move(inputFP), SkSL::SampleUsage::PassThrough()); in GrBlurredEdgeFragmentProcessor()
DGrDeviceSpaceEffect.h36 this->registerChild(std::move(fp), SkSL::SampleUsage::Explicit()); in GrDeviceSpaceEffect()
/external/skia/src/gpu/
DGrFragmentProcessor.h198 const SkSL::SampleUsage& sampleUsage() const { in sampleUsage()
376 SkSL::SampleUsage sampleUsage = SkSL::SampleUsage::PassThrough());
433 SkSL::SampleUsage fUsage;
/external/skia/src/gpu/gradients/generated/
DGrTiledGradientEffect.h60 this->registerChild(std::move(colorizer), SkSL::SampleUsage::Explicit()); in GrTiledGradientEffect()
61 this->registerChild(std::move(gradLayout), SkSL::SampleUsage::PassThrough()); in GrTiledGradientEffect()
DGrClampedGradientEffect.h65 this->registerChild(std::move(colorizer), SkSL::SampleUsage::Explicit()); in GrClampedGradientEffect()
66 this->registerChild(std::move(gradLayout), SkSL::SampleUsage::PassThrough()); in GrClampedGradientEffect()
/external/skia/gm/
Dfp_sample_chaining.cpp26 SkSL::SampleUsage::UniformMatrix( in ConstantMatrixEffect()
56 this->registerChild(std::move(child), SkSL::SampleUsage::UniformMatrix("matrix")); in UniformMatrixEffect()
90 this->registerChild(std::move(child), SkSL::SampleUsage::Explicit()); in ExplicitCoordEffect()
/external/protobuf/csharp/src/AddressBook/
DSampleUsage.cs38 internal class SampleUsage class
/external/skia/src/gpu/effects/
DGrMatrixEffect.h33 SkSL::SampleUsage::UniformMatrix("matrix", matrix.hasPerspective())); in GrMatrixEffect()

123