Searched refs:CoverageMode (Results 1 – 6 of 6) sorted by relevance
38 GrQuadPerEdgeAA::CoverageMode mode = spec.coverageMode(); in write_quad_generic()44 If(mode == GrQuadPerEdgeAA::CoverageMode::kWithPosition, coverage[i])); in write_quad_generic()50 color * (mode == GrQuadPerEdgeAA::CoverageMode::kWithColor ? coverage[i] : 1.f), in write_quad_generic()84 SkASSERT(spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kNone || in write_2d_color()85 spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kWithColor); in write_2d_color()96 SkASSERT(spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kWithColor || in write_2d_color()111 SkASSERT(spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kNone); in write_2d_uv()131 SkASSERT(spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kNone || in write_2d_color_uv()132 spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kWithColor); in write_2d_color_uv()141 SkASSERT(spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kWithColor || in write_2d_color_uv()[all …]
31 enum class CoverageMode { kNone, kWithPosition, kWithColor }; enum100 CoverageMode coverageMode() const;
314 enum class CoverageMode { enum320 static CoverageMode get_mode_for_spec(const GrQuadPerEdgeAA::VertexSpec& spec) { in get_mode_for_spec()323 return CoverageMode::kWithColor; in get_mode_for_spec()325 return CoverageMode::kWithPosition; in get_mode_for_spec()328 return CoverageMode::kNone; in get_mode_for_spec()335 CoverageMode mode, float coverage, in write_quad()342 if (mode == CoverageMode::kWithColor) { in write_quad()353 If(mode == CoverageMode::kWithPosition, coverage)); in write_quad()406 CoverageMode mode = get_mode_for_spec(spec); in Tessellate()423 SkASSERT(mode == CoverageMode::kWithPosition || mode == CoverageMode::kWithColor); in Tessellate()[all …]
240 , fCoverageMode(CoverageMode::kArea) { in DegenerateQuadSample()301 if (fCoverageMode == CoverageMode::kArea) { in onDrawContent()303 } else if (fCoverageMode == CoverageMode::kEdgeDistance) { in onDrawContent()307 SkASSERT(fCoverageMode == CoverageMode::kGPUMesh); in onDrawContent()328 if (fCoverageMode == CoverageMode::kEdgeDistance) { in onDrawContent()345 if (fCoverageMode == CoverageMode::kGPUMesh) { in onDrawContent()392 enum class CoverageMode { enum in DegenerateQuadSample399 CoverageMode fCoverageMode;514 fCoverageMode = CoverageMode::kArea; in onChar()517 fCoverageMode = CoverageMode::kEdgeDistance; in onChar()[all …]
136 enum CoverageMode { in GrRandomCoverage() enum143 CoverageMode colorMode = CoverageMode(random->nextULessThan(kLast_CoverageMode + 1)); in GrRandomCoverage()
133 enum CoverageMode { in GrRandomCoverage() enum140 CoverageMode colorMode = CoverageMode(random->nextULessThan(kLast_CoverageMode + 1)); in GrRandomCoverage()