Home
last modified time | relevance | path

Searched refs:fXYDW (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/gpu/ccpr/
DGrCCQuadraticShader.cpp42 fXYDW.reset(kFloat4_GrSLType, scope); in onEmitVaryings()
43 varyingHandler->addVarying("xydw", &fXYDW); in onEmitVaryings()
45 OutName(fXYDW), fCanonicalMatrix.c_str(), position); in onEmitVaryings()
47 OutName(fXYDW), fEdgeDistanceEquation.c_str(), position, in onEmitVaryings()
49 code->appendf("%s.w = %s;", OutName(fXYDW), wind); in onEmitVaryings()
57 f->codeAppendf("%s *= %s.w;", outputCoverage, fXYDW.fsIn()); // Sign by wind. in onEmitFragmentCode()
84 OutName(fGrad), OutName(fXYDW), fCanonicalMatrix.c_str()); in onEmitVaryings()
90 fXYDW.fsIn(), fXYDW.fsIn(), fXYDW.fsIn(), fGrad.fsIn(), fGrad.fsIn()); in emitCoverage()
92 f->codeAppendf("%s += min(%s.z, 0);", outputCoverage, fXYDW.fsIn()); // Flat closing edge. in emitCoverage()
120 fXYDW.fsIn(), fXYDW.fsIn(), fXYDW.fsIn()); in emitCoverage()
[all …]
DGrCCQuadraticShader.h39 GrGLSLVarying fXYDW; variable
/external/skia/src/gpu/ccpr/
DGrCCQuadraticShader.cpp42 fXYDW.reset(kFloat4_GrSLType, scope); in onEmitVaryings()
43 varyingHandler->addVarying("xydw", &fXYDW); in onEmitVaryings()
45 OutName(fXYDW), fCanonicalMatrix.c_str(), position); in onEmitVaryings()
47 OutName(fXYDW), fEdgeDistanceEquation.c_str(), position, in onEmitVaryings()
49 code->appendf("%s.w = %s;", OutName(fXYDW), wind); in onEmitVaryings()
57 f->codeAppendf("%s *= %s.w;", outputCoverage, fXYDW.fsIn()); // Sign by wind. in onEmitFragmentCode()
84 OutName(fGrad), OutName(fXYDW), fCanonicalMatrix.c_str()); in onEmitVaryings()
90 fXYDW.fsIn(), fXYDW.fsIn(), fXYDW.fsIn(), fGrad.fsIn(), fGrad.fsIn()); in emitCoverage()
92 f->codeAppendf("%s += min(%s.z, 0);", outputCoverage, fXYDW.fsIn()); // Flat closing edge. in emitCoverage()
122 fXYDW.fsIn(), fXYDW.fsIn(), fXYDW.fsIn()); in emitCoverage()
[all …]
DGrCCQuadraticShader.h39 GrGLSLVarying fXYDW; variable