Lines Matching refs:GrQuadAAFlags
39 static AI Sk4f compute_edge_mask(GrQuadAAFlags aaFlags) { in compute_edge_mask()
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()
160 if (aaFlags != GrQuadAAFlags::kAll) { in compute_nested_quad_vertices()
174 if (aaFlags != GrQuadAAFlags::kAll) { in compute_nested_quad_vertices()
216 static float compute_quad_persp_vertices(GrQuadAAFlags aaFlags, Sk4f* x, Sk4f* y, in compute_quad_persp_vertices()
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()
431 if (aaFlags != GrQuadAAFlags::kNone) { in Tessellate()