Searched refs:arcCoord (Results 1 – 2 of 2) sorted by relevance
/external/skqp/src/gpu/ops/ |
D | GrAAFillRRectOp.cpp | 381 GrGLSLVarying arcCoord(useHWDerivatives ? kFloat2_GrSLType : kFloat4_GrSLType); in onEmitCode() local 382 varyings->addVarying("arccoord", &arcCoord); in onEmitCode() 386 v->codeAppendf( "%s.xy = float2(0, coverage);", arcCoord.vsOut()); in onEmitCode() 394 v->codeAppendf( "%s.xy = float2(arccoord.x+1, arccoord.y);", arcCoord.vsOut()); in onEmitCode() 398 v->codeAppendf("%s.zw = derivatives * (arccoord/radii * 2);", arcCoord.vsOut()); in onEmitCode() 405 f->codeAppendf("float x_plus_1=%s.x, y=%s.y;", arcCoord.fsIn(), arcCoord.fsIn()); in onEmitCode() 416 f->codeAppendf("float gx=%s.z, gy=%s.w;", arcCoord.fsIn(), arcCoord.fsIn()); in onEmitCode()
|
/external/skia/src/gpu/ops/ |
D | GrFillRRectOp.cpp | 619 GrGLSLVarying arcCoord(useHWDerivatives ? kFloat2_GrSLType : kFloat4_GrSLType); in onEmitCode() local 620 varyings->addVarying("arccoord", &arcCoord); in onEmitCode() 625 arcCoord.vsOut()); in onEmitCode() 633 v->codeAppendf( "%s.xy = float2(arccoord.x+1, arccoord.y);", arcCoord.vsOut()); in onEmitCode() 637 v->codeAppendf("%s.zw = derivatives * (arccoord/radii * 2);", arcCoord.vsOut()); in onEmitCode() 642 f->codeAppendf("float x_plus_1=%s.x, y=%s.y;", arcCoord.fsIn(), arcCoord.fsIn()); in onEmitCode() 653 f->codeAppendf("float gx=%s.z, gy=%s.w;", arcCoord.fsIn(), arcCoord.fsIn()); in onEmitCode()
|