Home | History | Annotate | Download | only in gpu

Lines Matching full:coverage

238      * Determines whether the output coverage is guaranteed to be one for all pixels hit by a draw.
314 /// @name Coverage
318 * Sets a constant fractional coverage to be applied to the draw. The
320 * coverage is ignored when per-vertex coverage is provided.
322 void setCoverage(uint8_t coverage) {
323 fCommon.fCoverage = GrColorPackRGBA(coverage, coverage, coverage, coverage);
330 void setCoverage4(GrColor coverage) {
331 fCommon.fCoverage = coverage;
342 /// Each stage hosts a GrEffect. The effect produces an output color or coverage in the fragment
347 /// The stages are divided into two sets, color-computing and coverage-computing. The final
348 /// color stage produces the final pixel color. The coverage-computing stages function exactly
349 /// as the color-computing but the output of the final coverage stage is treated as a fractional
350 /// pixel coverage rather than as input to the src/dst color blend step.
353 /// per-vertex colors. The input to the first coverage stage is either a constant coverage
354 /// (usually full-coverage) or interpolated per-vertex coverage.
357 /// the color / coverage distinction.
478 "coverage stages.\n");
489 "coverage stages.\n");
526 * coverage before the blend will give the correct final destination color. In general it
527 * will not as coverage is applied after blending.
532 * Optimizations for blending / coverage to that can be applied based on the current state.
548 * The coverage value does not have to be computed separately from alpha, the the output
553 * Instead of emitting a src color, emit coverage in the alpha channel and r,g,b are
558 * Emit transparent black instead of the src color, no need to compute coverage.
568 * state to see if coverage is enabled. By setting forceCoverage the caller can speculatively
569 * determine the blend optimizations that would be used if there was partial pixel coverage.
772 * Usually coverage is applied after color blending. The color is blended using the coeffs
774 * of src_coverage, 1-src_coverage. Sometimes we are explicitly drawing a coverage mask. In
775 * this case there is no distinction between coverage and color and the caller needs direct
777 * setBlendFunc() which will use coverage*color as the src color.