Lines Matching refs:GrQuadAAFlags
149 static GrQuadAAFlags crop_rect(const SkRect& clipDevRect, float x[4], float y[4], in crop_rect()
151 GrQuadAAFlags clipEdgeFlags = GrQuadAAFlags::kNone; in crop_rect()
159 clipEdgeFlags |= GrQuadAAFlags::kLeft; in crop_rect()
163 clipEdgeFlags |= GrQuadAAFlags::kTop; in crop_rect()
167 clipEdgeFlags |= GrQuadAAFlags::kRight; in crop_rect()
171 clipEdgeFlags |= GrQuadAAFlags::kBottom; in crop_rect()
179 static GrQuadAAFlags crop_simple_rect(const SkRect& clipDevRect, float x[4], float y[4], in crop_simple_rect()
181 GrQuadAAFlags clipEdgeFlags = GrQuadAAFlags::kNone; in crop_simple_rect()
193 clipEdgeFlags |= GrQuadAAFlags::kLeft; in crop_simple_rect()
202 clipEdgeFlags |= GrQuadAAFlags::kTop; in crop_simple_rect()
211 clipEdgeFlags |= GrQuadAAFlags::kRight; in crop_simple_rect()
220 clipEdgeFlags |= GrQuadAAFlags::kBottom; in crop_simple_rect()
359 void ResolveAAType(GrAAType requestedAAType, GrQuadAAFlags requestedEdgeFlags, const GrQuad& quad, in ResolveAAType()
360 GrAAType* outAAType, GrQuadAAFlags* outEdgeFlags) { in ResolveAAType()
368 if (requestedEdgeFlags == GrQuadAAFlags::kNone) { in ResolveAAType()
376 *outEdgeFlags = GrQuadAAFlags::kNone; in ResolveAAType()
383 *outEdgeFlags = GrQuadAAFlags::kNone; in ResolveAAType()
386 *outEdgeFlags = GrQuadAAFlags::kAll; in ResolveAAType()
502 GrQuadAAFlags v2EdgeFlag = (!validW[0] ? GrQuadAAFlags::kRight : // left clipped -> right in ClipToW0()
503 (!validW[1] ? GrQuadAAFlags::kTop : // bottom clipped -> top in ClipToW0()
504 (!validW[2] ? GrQuadAAFlags::kBottom : // top clipped -> bottom in ClipToW0()
505 GrQuadAAFlags::kLeft))); // right clipped -> left in ClipToW0()
524 GrQuadAAFlags v1EdgeFlag = (!validW[0] ? GrQuadAAFlags::kLeft : in ClipToW0()
525 (!validW[1] ? GrQuadAAFlags::kBottom : in ClipToW0()
526 (!validW[2] ? GrQuadAAFlags::kTop : in ClipToW0()
527 GrQuadAAFlags::kRight))); in ClipToW0()
547 GrQuadAAFlags clippedEdges; in CropToRect()
629 quad->fEdgeFlags = cropAA == GrAA::kYes ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in CropToRect()