Lines Matching full:coverage
71 // value of coverage that is used. In other words it is the coverage that is
76 // Compute the coverage for the rect's width
78 "\tfloat coverage = scaleW*clamp((%s.z-abs(%s.x))/spanW, 0.0, 1.0);\n", fsRectName,
80 // Compute the coverage for the rect's height and merge with the width
82 "\tcoverage = coverage*scaleH*clamp((%s.w-abs(%s.y))/spanH, 0.0, 1.0);\n",
86 GrGLSLModulatef<4>(&modulate, inputColor, "coverage");
127 * The output of this effect is a modulation of the input color and coverage
196 // value of coverage that is used. In other words it is the coverage that is
201 // Compute the coverage for the rect's width
207 "\tfloat coverage = scaleW*clamp((%s.x-perpDot)/spanW, 0.0, 1.0);\n",
210 // Compute the coverage for the rect's height and merge with the width
214 "\tcoverage = coverage*scaleH*clamp((%s.y-perpDot)/spanH, 0.0, 1.0);\n",
218 GrGLSLModulatef<4>(&modulate, inputColor, "coverage");
724 // coverage, one on the exterior of the stroke and the other on the interior.
751 // The outermost rect has 0 coverage
765 // The inner two rects have full coverage
782 // The innermost rect has 0 coverage