Home
last modified time | relevance | path

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

/external/skia/src/gpu/ccpr/
DGrCCQuadraticShader.cpp52 fEdge_fWind_fCorner.reset(cornerCoverage ? kFloat4_GrSLType : kFloat2_GrSLType, scope); in onEmitVaryings()
53 varyingHandler->addVarying("edge_and_wind_and_corner", &fEdge_fWind_fCorner); in onEmitVaryings()
56 code->appendf("%s.x = edge;", OutName(fEdge_fWind_fCorner)); in onEmitVaryings()
57 code->appendf("%s.y = %s;", OutName(fEdge_fWind_fCorner), coverage); // coverage == wind. in onEmitVaryings()
63 OutName(fEdge_fWind_fCorner), cornerCoverage); in onEmitVaryings()
70 SkStringPrintf("%s.x", fEdge_fWind_fCorner.fsIn()).c_str(), in onEmitFragmentCode()
72 f->codeAppendf("%s *= half(%s.y);", outputCoverage, fEdge_fWind_fCorner.fsIn()); // Wind. in onEmitFragmentCode()
74 if (kFloat4_GrSLType == fEdge_fWind_fCorner.type()) { in onEmitFragmentCode()
76 outputCoverage, fEdge_fWind_fCorner.fsIn(), fEdge_fWind_fCorner.fsIn(), in onEmitFragmentCode()
DGrCCQuadraticShader.h42 GrGLSLVarying fEdge_fWind_fCorner; variable
/external/skqp/src/gpu/ccpr/
DGrCCQuadraticShader.cpp52 fEdge_fWind_fCorner.reset(cornerCoverage ? kFloat4_GrSLType : kFloat2_GrSLType, scope); in onEmitVaryings()
53 varyingHandler->addVarying("edge_and_wind_and_corner", &fEdge_fWind_fCorner); in onEmitVaryings()
56 code->appendf("%s.x = edge;", OutName(fEdge_fWind_fCorner)); in onEmitVaryings()
57 code->appendf("%s.y = %s;", OutName(fEdge_fWind_fCorner), coverage); // coverage == wind. in onEmitVaryings()
63 OutName(fEdge_fWind_fCorner), cornerCoverage); in onEmitVaryings()
70 SkStringPrintf("%s.x", fEdge_fWind_fCorner.fsIn()).c_str(), in onEmitFragmentCode()
72 f->codeAppendf("%s *= %s.y;", outputCoverage, fEdge_fWind_fCorner.fsIn()); // Wind. in onEmitFragmentCode()
74 if (kFloat4_GrSLType == fEdge_fWind_fCorner.type()) { in onEmitFragmentCode()
76 outputCoverage, fEdge_fWind_fCorner.fsIn(), fEdge_fWind_fCorner.fsIn(), in onEmitFragmentCode()
DGrCCQuadraticShader.h42 GrGLSLVarying fEdge_fWind_fCorner; variable