Home
last modified time | relevance | path

Searched refs:sampleUsage (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/ganesh/
DGrGeometryProcessor.cpp29 uint32_t key = static_cast<uint32_t>(fp.sampleUsage().kind()) << 1; in ComputeCoordTransformsKey()
31 if (fp.sampleUsage().hasPerspective()) { in ComputeCoordTransformsKey()
151 switch (fp.sampleUsage().kind()) { in collectTransforms()
160 hasPerspective |= fp.sampleUsage().hasPerspective(); in collectTransforms()
225 !child->sampleUsage().isExplicit() && in collectTransforms()
226 !child->sampleUsage().isFragCoord() && in collectTransforms()
254 SkASSERT(fp->sampleUsage().isUniformMatrix()); in emitTransformCode()
272 } else if (base->sampleUsage().isUniformMatrix()) { in emitTransformCode()
280 } else if (base->sampleUsage().isFragCoord()) { in emitTransformCode()
286 SkASSERT(base->sampleUsage().isPassThrough() || !base->sampleUsage().isSampled()); in emitTransformCode()
DGrFragmentProcessor.cpp27 if (this->sampleUsage() != that.sampleUsage()) { in isEqual()
145 SkSL::SampleUsage sampleUsage) { in registerChild() argument
146 SkASSERT(sampleUsage.isSampled()); in registerChild()
155 SkASSERT(!child->fParent && !child->sampleUsage().isSampled()); in registerChild()
158 child->fUsage = sampleUsage; in registerChild()
167 if ((sampleUsage.isPassThrough() || sampleUsage.isUniformMatrix()) && in registerChild()
184 this->registerChild(fp->clone(), fp->sampleUsage()); in cloneAndRegisterAllChildProcessors()
884 SkASSERT(!childProc->sampleUsage().isUniformMatrix()); in invokeChild()
887 SkASSERT(!childProc->sampleUsage().isFragCoord() || skslCoords == "sk_FragCoord.xy"); in invokeChild()
916 SkASSERT(childProc->sampleUsage().isUniformMatrix()); in invokeChildWithMatrix()
[all …]
DGrFragmentProcessor.h234 const SkSL::SampleUsage& sampleUsage() const { in sampleUsage() function
388 SkSL::SampleUsage sampleUsage = SkSL::SampleUsage::PassThrough());
/external/skia/tests/
DProcessorTest.cpp871 REPORTER_ASSERT(reporter, fp.sampleUsage() == clone.sampleUsage(), in assert_processor_equality()
DSkRuntimeEffectTest.cpp1365 REPORTER_ASSERT(r, fp->childProcessor(0)->sampleUsage().isExplicit() == expectExplicit); in DEF_TEST()
/external/skia/src/gpu/ganesh/effects/
DGrSkSLFP.cpp139 if (child && child->sampleUsage().isPassThrough()) { in emitCode()