Home | History | Annotate | Download | only in gpu

Lines Matching refs:coverage

220     // Check whether coverage is treated as color. If so we run through the coverage computation.
241 // If we're drawing coverage directly then coverage is effectively treated as color.
246 GrColor coverage;
248 // Initialize to an unknown starting coverage if per-vertex coverage is specified.
252 coverage = fCommon.fCoverage;
256 // Run through the coverage stages and see if the coverage will be all ones at the end.
259 (*effect)->getConstantColorComponents(&coverage, &validComponentFlags);
261 return (kRGBA_GrColorComponentFlags == validComponentFlags) && (0xffffffff == coverage);
266 // Some blend modes allow folding a fractional coverage value into the color's alpha channel, while
270 The fractional coverage is f.
277 Also, if we're directly rendering coverage (isCoverageDrawing) then coverage is treated as
317 // (0,1). The same applies when coverage is known to be 0.
327 // check for coverage due to constant coverage, per-vertex coverage, or coverage stage
333 // if we don't have coverage we can check whether the dst
338 // if there is no coverage and coeffs are (1,0) then we
350 // we have coverage but we aren't distinguishing it from alpha by request.
353 // check whether coverage can be safely rolled into alpha
354 // of if we can skip color computation and just emit coverage
383 // In this case the shader will fully resolve the color, coverage, and dst and we don't