• Home
  • Raw
  • Download

Lines Matching refs:aaFlags

39 static AI Sk4f compute_edge_mask(GrQuadAAFlags aaFlags) {  in compute_edge_mask()  argument
40 return Sk4f((GrQuadAAFlags::kLeft & aaFlags) ? 1.f : 0.f, in compute_edge_mask()
41 (GrQuadAAFlags::kBottom & aaFlags) ? 1.f : 0.f, in compute_edge_mask()
42 (GrQuadAAFlags::kTop & aaFlags) ? 1.f : 0.f, in compute_edge_mask()
43 (GrQuadAAFlags::kRight & aaFlags) ? 1.f : 0.f); in compute_edge_mask()
121 static float compute_nested_quad_vertices(GrQuadAAFlags aaFlags, Sk4f* x1, Sk4f* y1, in compute_nested_quad_vertices() argument
160 if (aaFlags != GrQuadAAFlags::kAll) { in compute_nested_quad_vertices()
161 Sk4f mask = compute_edge_mask(aaFlags); in compute_nested_quad_vertices()
174 if (aaFlags != GrQuadAAFlags::kAll) { in compute_nested_quad_vertices()
175 Sk4f mask = compute_edge_mask(aaFlags); in compute_nested_quad_vertices()
216 static float compute_quad_persp_vertices(GrQuadAAFlags aaFlags, Sk4f* x, Sk4f* y, in compute_quad_persp_vertices() argument
232 if ((GrQuadAAFlags::kLeft | GrQuadAAFlags::kRight) & aaFlags) { in compute_quad_persp_vertices()
248 Sk4f mask(GrQuadAAFlags::kLeft & aaFlags ? 1.f : 0.f, in compute_quad_persp_vertices()
249 GrQuadAAFlags::kLeft & aaFlags ? 1.f : 0.f, in compute_quad_persp_vertices()
250 GrQuadAAFlags::kRight & aaFlags ? 1.f : 0.f, in compute_quad_persp_vertices()
251 GrQuadAAFlags::kRight & aaFlags ? 1.f : 0.f); in compute_quad_persp_vertices()
268 if ((GrQuadAAFlags::kTop | GrQuadAAFlags::kBottom) & aaFlags) { in compute_quad_persp_vertices()
276 if ((GrQuadAAFlags::kTop | GrQuadAAFlags::kBottom) & aaFlags) { in compute_quad_persp_vertices()
290 Sk4f mask(GrQuadAAFlags::kTop & aaFlags ? 1.f : 0.f, in compute_quad_persp_vertices()
291 GrQuadAAFlags::kBottom & aaFlags ? 1.f : 0.f, in compute_quad_persp_vertices()
292 GrQuadAAFlags::kTop & aaFlags ? 1.f : 0.f, in compute_quad_persp_vertices()
293 GrQuadAAFlags::kBottom & aaFlags ? 1.f : 0.f); in compute_quad_persp_vertices()
404 GrQuadAAFlags aaFlags) { in Tessellate() argument
431 if (aaFlags != GrQuadAAFlags::kNone) { in Tessellate()
435 compute_quad_persp_vertices(aaFlags, &oX, &oY, &oW, &oU, &oV, &oW, in Tessellate()
438 maxCoverage = compute_quad_persp_vertices(aaFlags, &iX, &iY, &iW, &iU, &iV, &iW, in Tessellate()
443 maxCoverage = compute_nested_quad_vertices(aaFlags, &oX, &oY, &oU, &oV, &oR, in Tessellate()