Home
last modified time | relevance | path

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

/external/skia/src/gpu/glsl/
DGrGLSLFragmentProcessor.cpp69 SkASSERT(skslCoords == args.fSampleCoord && childProc->sampleUsage().isPassThrough()); in invokeChild()
88 SkASSERT(childProc->sampleUsage().isUniformMatrix()); in invokeChildWithMatrix()
92 SkString matrixExpr(childProc->sampleUsage().fExpression); in invokeChildWithMatrix()
96 args.fFp, SkString(childProc->sampleUsage().fExpression)); in invokeChildWithMatrix()
114 if (childProc->sampleUsage().fHasPerspective) { in invokeChildWithMatrix()
DGrGLSLGeometryProcessor.cpp124 if (node->sampleUsage().isUniformMatrix()) { in collectTransforms()
170 SkASSERT(tr.fFP->sampleUsage().isUniformMatrix()); in emitTransformCode()
189 } else if (base->sampleUsage().isUniformMatrix()) { in emitTransformCode()
193 *base->parent(), SkString(base->sampleUsage().fExpression)); in emitTransformCode()
202 matrix = SkString(base->sampleUsage().fExpression); in emitTransformCode()
212 SkASSERT(base->sampleUsage().isPassThrough() || !base->sampleUsage().isSampled()); in emitTransformCode()
/external/skia/src/gpu/
DGrGeometryProcessor.cpp39 if (fp.sampleUsage().isUniformMatrix()) { in ComputeCoordTransformsKey()
42 if (fp.sampleUsage().fHasPerspective) { in ComputeCoordTransformsKey()
DGrFragmentProcessor.cpp148 SkSL::SampleUsage sampleUsage) { in registerChild() argument
156 SkASSERT(!child->fParent && !child->sampleUsage().isSampled() && in registerChild()
160 child->fUsage = sampleUsage; in registerChild()
162 if (sampleUsage.isExplicit()) { in registerChild()
167 if (sampleUsage.fHasPerspective) { in registerChild()
198 this->registerChild(fp->clone(), fp->sampleUsage()); in cloneAndRegisterAllChildProcessors()
DGrFragmentProcessor.h198 const SkSL::SampleUsage& sampleUsage() const { in sampleUsage() function
376 SkSL::SampleUsage sampleUsage = SkSL::SampleUsage::PassThrough());