• Home
  • Raw
  • Download

Lines Matching refs:CoverageMode

32 using CoverageMode = skgpu::v1::QuadPerEdgeAA::CoverageMode;  typedef
49 CoverageMode mode = spec.coverageMode(); in write_quad_generic()
56 << If(mode == CoverageMode::kWithPosition, coverage[i]); in write_quad_generic()
61 *vb << GrVertexColor(color * (mode == CoverageMode::kWithColor ? coverage[i] : 1.f), in write_quad_generic()
100 SkASSERT(spec.coverageMode() == CoverageMode::kNone || in write_2d_color()
101 spec.coverageMode() == CoverageMode::kWithColor); in write_2d_color()
112 SkASSERT(spec.coverageMode() == CoverageMode::kWithColor || coverage[i] == 1.f); in write_2d_color()
132 SkASSERT(spec.coverageMode() == CoverageMode::kNone); in write_2d_uv()
159 SkASSERT(spec.coverageMode() == CoverageMode::kNone || in write_2d_color_uv()
160 spec.coverageMode() == CoverageMode::kWithColor); in write_2d_color_uv()
169 SkASSERT(spec.coverageMode() == CoverageMode::kWithColor || coverage[i] == 1.f); in write_2d_color_uv()
191 SkASSERT(spec.coverageMode() == CoverageMode::kWithPosition); in write_2d_cov_uv()
225 SkASSERT(spec.coverageMode() == CoverageMode::kNone); in write_2d_uv_strict()
253 SkASSERT(spec.coverageMode() == CoverageMode::kNone || in write_2d_color_uv_strict()
254 spec.coverageMode() == CoverageMode::kWithColor); in write_2d_color_uv_strict()
263 SkASSERT(spec.coverageMode() == CoverageMode::kWithColor || coverage[i] == 1.f); in write_2d_color_uv_strict()
286 SkASSERT(spec.coverageMode() == CoverageMode::kWithPosition); in write_2d_cov_uv_strict()
330 CoverageMode mode = spec.coverageMode(); in GetWriteQuadProc()
332 if (mode != CoverageMode::kWithPosition) { in GetWriteQuadProc()
346 if (mode == CoverageMode::kWithPosition) { in GetWriteQuadProc()
350 SkASSERT(mode == CoverageMode::kNone); in GetWriteQuadProc()
381 SkASSERT(fVertexSpec.coverageMode() == CoverageMode::kWithColor || in append()
382 fVertexSpec.coverageMode() == CoverageMode::kWithPosition); in append()
457 SkASSERT(fVertexSpec.coverageMode() == CoverageMode::kNone && in append()
544 CoverageMode VertexSpec::coverageMode() const { in coverageMode()
551 return CoverageMode::kWithColor; in coverageMode()
553 return CoverageMode::kWithPosition; in coverageMode()
556 return CoverageMode::kNone; in coverageMode()
563 CoverageMode coverageMode = this->coverageMode(); in vertexSize()
567 if (coverageMode == CoverageMode::kWithPosition) { in vertexSize()
648 SkASSERT(!fGeomSubset.isInitialized() || fCoverageMode == CoverageMode::kWithPosition); in addToKey()
649 if (fCoverageMode != CoverageMode::kNone) { in addToKey()
652 : (CoverageMode::kWithPosition == fCoverageMode ? 0x1 : 0x2); in addToKey()
679 if (gp.fCoverageMode == CoverageMode::kWithPosition) { in makeProgramImpl()
706 SkASSERT(gp.fCoverageMode != CoverageMode::kWithColor || !gp.fNeedsPerspective); in makeProgramImpl()
712 gp.fCoverageMode == CoverageMode::kWithColor in makeProgramImpl()
767 if (gp.fCoverageMode == CoverageMode::kWithPosition) { in makeProgramImpl()
862 if (fCoverageMode == CoverageMode::kWithPosition) { in initializeAttrs()
915 CoverageMode fCoverageMode;