• Home
  • Raw
  • Download

Lines Matching refs:GrQuadPerEdgeAA

30 static void write_quad_generic(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec,  in write_quad_generic()
38 GrQuadPerEdgeAA::CoverageMode mode = spec.coverageMode(); in write_quad_generic()
44 If(mode == GrQuadPerEdgeAA::CoverageMode::kWithPosition, coverage[i])); in write_quad_generic()
48 bool wide = spec.colorType() == GrQuadPerEdgeAA::ColorType::kFloat; in write_quad_generic()
50 color * (mode == GrQuadPerEdgeAA::CoverageMode::kWithColor ? coverage[i] : 1.f), in write_quad_generic()
77 static void write_2d_color(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_2d_color()
84 SkASSERT(spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kNone || in write_2d_color()
85 spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kWithColor); in write_2d_color()
93 bool wide = spec.colorType() == GrQuadPerEdgeAA::ColorType::kFloat; in write_2d_color()
96 SkASSERT(spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kWithColor || in write_2d_color()
104 static void write_2d_uv(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_2d_uv()
111 SkASSERT(spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kNone); in write_2d_uv()
124 static void write_2d_color_uv(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_2d_color_uv()
131 SkASSERT(spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kNone || in write_2d_color_uv()
132 spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kWithColor); in write_2d_color_uv()
138 bool wide = spec.colorType() == GrQuadPerEdgeAA::ColorType::kFloat; in write_2d_color_uv()
141 SkASSERT(spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kWithColor || in write_2d_color_uv()
150 static void write_2d_cov_uv(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_2d_cov_uv()
157 SkASSERT(spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kWithPosition); in write_2d_cov_uv()
177 static void write_2d_uv_strict(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_2d_uv_strict()
184 SkASSERT(spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kNone); in write_2d_uv_strict()
197 static void write_2d_color_uv_strict(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_2d_color_uv_strict()
204 SkASSERT(spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kNone || in write_2d_color_uv_strict()
205 spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kWithColor); in write_2d_color_uv_strict()
211 bool wide = spec.colorType() == GrQuadPerEdgeAA::ColorType::kFloat; in write_2d_color_uv_strict()
214 SkASSERT(spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kWithColor || in write_2d_color_uv_strict()
223 static void write_2d_cov_uv_strict(GrVertexWriter* vb, const GrQuadPerEdgeAA::VertexSpec& spec, in write_2d_cov_uv_strict()
230 SkASSERT(spec.coverageMode() == GrQuadPerEdgeAA::CoverageMode::kWithPosition); in write_2d_cov_uv_strict()
244 namespace GrQuadPerEdgeAA { namespace