Home
last modified time | relevance | path

Searched refs:circleParams (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/gpu/ops/
DGrDashOp.cpp843 GrGLSLVarying circleParams(kHalf2_GrSLType); in onEmitCode() local
844 varyingHandler->addVarying("CircleParams", &circleParams); in onEmitCode()
845 vertBuilder->codeAppendf("%s = %s;", circleParams.vsOut(), dce.fInCircleParams.name()); in onEmitCode()
867 fragBuilder->codeAppendf("half2 center = half2(%s.y, 0.0);", circleParams.fsIn()); in onEmitCode()
870 fragBuilder->codeAppendf("half diff = dist - %s.x;", circleParams.fsIn()); in onEmitCode()
875 fragBuilder->codeAppendf("alpha *= dist < %s.x + 0.5 ? 1.0 : 0.0;", circleParams.fsIn()); in onEmitCode()
/external/skia/src/gpu/ops/
DGrDashOp.cpp849 GrGLSLVarying circleParams(kHalf2_GrSLType); in onEmitCode() local
850 varyingHandler->addVarying("CircleParams", &circleParams); in onEmitCode()
851 vertBuilder->codeAppendf("%s = %s;", circleParams.vsOut(), dce.fInCircleParams.name()); in onEmitCode()
874 fragBuilder->codeAppendf("half2 center = half2(%s.y, 0.0);", circleParams.fsIn()); in onEmitCode()
877 fragBuilder->codeAppendf("half diff = dist - %s.x;", circleParams.fsIn()); in onEmitCode()
882 fragBuilder->codeAppendf("alpha *= dist < %s.x + 0.5 ? 1.0 : 0.0;", circleParams.fsIn()); in onEmitCode()