Home
last modified time | relevance | path

Searched refs:GrQuadAAFlags (Results 1 – 25 of 34) sorted by relevance

12

/external/skia/src/gpu/ops/
DGrFillRectOp.cpp31 GrQuadAAFlags aaFlags) { in dump_quad_info()
39 (uint32_t) (aaFlags & GrQuadAAFlags::kLeft), in dump_quad_info()
40 (uint32_t) (aaFlags & GrQuadAAFlags::kTop), in dump_quad_info()
41 (uint32_t) (aaFlags & GrQuadAAFlags::kRight), in dump_quad_info()
42 (uint32_t) (aaFlags & GrQuadAAFlags::kBottom), in dump_quad_info()
63 GrQuadAAFlags edgeAA, in Make()
78 GrQuadAAFlags edgeFlags, const GrUserStencilSettings* stencil, in FillRectOp()
301 GrQuadType localQuadType, const SkPMColor4f& color, GrQuadAAFlags edgeAA, in addQuad()
342 GrQuadAAFlags fAAFlags;
362 GrQuadAAFlags edgeAA, in MakePerEdge()
[all …]
DGrTextureOp.cpp118 GrQuadAAFlags aaFlags, in Make()
147 GrQuadAAFlags aaFlags, in Make()
260 GrQuadAAFlags aaFlags, sk_sp<GrColorSpaceXform> textureColorSpaceXform) in TextureOp()
340 GrQuadAAFlags aaFlags; in TextureOp()
614 Domain hasDomain, GrQuadAAFlags aaFlags) in ColorDomainAndAA()
634 GrQuadAAFlags aaFlags() const { return static_cast<GrQuadAAFlags>(fAAFlags); } in aaFlags()
672 GrQuadAAFlags aaFlags, in Make()
687 GrQuadAAFlags aaFlags, in MakeQuad()
775 GrQuadAAFlags aaFlags = GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
776 aaFlags |= random->nextBool() ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
[all …]
DGrFillRectOp.h33 GrQuadAAFlags edgeAA,
41 GrQuadAAFlags edgeAA,
50 GrQuadAAFlags edgeAA,
61 GrQuadAAFlags edgeAA,
DGrQuadPerEdgeAA.cpp90 static AI QuadMetadata get_metadata(const Vertices& vertices, GrQuadAAFlags aaFlags) { in get_metadata()
95 Sk4f mask = aaFlags == GrQuadAAFlags::kAll ? Sk4f(1.f) : in get_metadata()
96 Sk4f((GrQuadAAFlags::kLeft & aaFlags) ? 1.f : 0.f, in get_metadata()
97 (GrQuadAAFlags::kBottom & aaFlags) ? 1.f : 0.f, in get_metadata()
98 (GrQuadAAFlags::kTop & aaFlags) ? 1.f : 0.f, in get_metadata()
99 (GrQuadAAFlags::kRight & aaFlags) ? 1.f : 0.f); in get_metadata()
184 GrQuadAAFlags aaFlags, Vertices* quad) { in outset_projected_vertices()
211 if (aaFlags == GrQuadAAFlags::kAll) { in outset_projected_vertices()
220 Sk4f aMask = Sk4f((aaFlags & GrQuadAAFlags::kLeft) ? 1.f : 0.f, in outset_projected_vertices()
221 (aaFlags & GrQuadAAFlags::kLeft) ? 1.f : 0.f, in outset_projected_vertices()
[all …]
DGrTextureOp.h37 GrQuadAAFlags,
52 GrQuadAAFlags,
DGrQuadPerEdgeAA.h91 GrQuadAAFlags aa);
/external/skqp/src/gpu/ops/
DGrFillRectOp.cpp30 GrQuadAAFlags aaFlags) { in dump_quad_info()
38 (uint32_t) (aaFlags & GrQuadAAFlags::kLeft), in dump_quad_info()
39 (uint32_t) (aaFlags & GrQuadAAFlags::kTop), in dump_quad_info()
40 (uint32_t) (aaFlags & GrQuadAAFlags::kRight), in dump_quad_info()
41 (uint32_t) (aaFlags & GrQuadAAFlags::kBottom), in dump_quad_info()
62 GrQuadAAFlags edgeAA, in Make()
77 GrQuadAAFlags edgeFlags, const GrUserStencilSettings* stencil, in FillRectOp()
276 GrQuadType localQuadType, const SkPMColor4f& color, GrQuadAAFlags edgeAA, in addQuad()
317 GrQuadAAFlags fAAFlags;
337 GrQuadAAFlags edgeAA, in MakePerEdge()
[all …]
DGrQuadPerEdgeAA.cpp39 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()
[all …]
DGrTextureOp.cpp106 GrQuadAAFlags aaFlags, in Make()
196 const SkRect& srcRect, const SkRect& dstRect, GrAAType aaType, GrQuadAAFlags aaFlags, in TextureOp()
269 GrQuadAAFlags aaFlags; in TextureOp()
495 Domain hasDomain, GrQuadAAFlags aaFlags) in ColorDomainAndAA()
511 GrQuadAAFlags aaFlags() const { return static_cast<GrQuadAAFlags>(fAAFlags); } in aaFlags()
545 GrQuadAAFlags aaFlags, in Make()
633 GrQuadAAFlags aaFlags = GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
634 aaFlags |= random->nextBool() ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
635 aaFlags |= random->nextBool() ? GrQuadAAFlags::kTop : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
636 aaFlags |= random->nextBool() ? GrQuadAAFlags::kRight : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
[all …]
DGrFillRectOp.h32 GrQuadAAFlags edgeAA,
40 GrQuadAAFlags edgeAA,
49 GrQuadAAFlags edgeAA,
DGrTextureOp.h37 GrQuadAAFlags,
DGrQuadPerEdgeAA.h88 GrQuadAAFlags aa);
/external/skqp/src/gpu/
DGrQuad.cpp95 void GrResolveAATypeForQuad(GrAAType requestedAAType, GrQuadAAFlags requestedEdgeFlags, in GrResolveAATypeForQuad()
97 GrAAType* outAAType, GrQuadAAFlags* outEdgeFlags) { in GrResolveAATypeForQuad()
105 if (requestedEdgeFlags == GrQuadAAFlags::kNone) { in GrResolveAATypeForQuad()
113 *outEdgeFlags = GrQuadAAFlags::kNone; in GrResolveAATypeForQuad()
120 *outEdgeFlags = GrQuadAAFlags::kNone; in GrResolveAATypeForQuad()
123 *outEdgeFlags = GrQuadAAFlags::kAll; in GrResolveAATypeForQuad()
132 template void GrResolveAATypeForQuad(GrAAType, GrQuadAAFlags, const GrQuad&, GrQuadType,
133 GrAAType*, GrQuadAAFlags*);
134 template void GrResolveAATypeForQuad(GrAAType, GrQuadAAFlags, const GrPerspQuad&, GrQuadType,
135 GrAAType*, GrQuadAAFlags*);
DGrRenderTargetContext.h133 void fillRectWithEdgeAA(const GrClip& clip, GrPaint&& paint, GrQuadAAFlags edgeAA,
141 GrQuadAAFlags fAAFlags;
156 GrQuadAAFlags, SkCanvas::SrcRectConstraint, const SkMatrix& viewMatrix,
165 GrQuadAAFlags fAAFlags;
DGrQuad.h18 enum class GrQuadAAFlags; variable
46 void GrResolveAATypeForQuad(GrAAType requestedAAType, GrQuadAAFlags requestedEdgeFlags,
48 GrAAType* outAAtype, GrQuadAAFlags* outEdgeFlags);
DSkGpuDevice_drawTexture.cpp137 GrQuadAAFlags aaFlags = aa == GrAA::kYes ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in draw_texture()
/external/skia/src/gpu/
DGrQuad.cpp149 void GrResolveAATypeForQuad(GrAAType requestedAAType, GrQuadAAFlags requestedEdgeFlags, in GrResolveAATypeForQuad()
151 GrAAType* outAAType, GrQuadAAFlags* outEdgeFlags) { in GrResolveAATypeForQuad()
159 if (requestedEdgeFlags == GrQuadAAFlags::kNone) { in GrResolveAATypeForQuad()
167 *outEdgeFlags = GrQuadAAFlags::kNone; in GrResolveAATypeForQuad()
174 *outEdgeFlags = GrQuadAAFlags::kNone; in GrResolveAATypeForQuad()
177 *outEdgeFlags = GrQuadAAFlags::kAll; in GrResolveAATypeForQuad()
186 template void GrResolveAATypeForQuad(GrAAType, GrQuadAAFlags, const GrQuad&, GrQuadType,
187 GrAAType*, GrQuadAAFlags*);
188 template void GrResolveAATypeForQuad(GrAAType, GrQuadAAFlags, const GrPerspQuad&, GrQuadType,
189 GrAAType*, GrQuadAAFlags*);
DGrRenderTargetContext.h120 aa == GrAA::kYes ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone, in fillRectToRect()
140 void fillRectWithEdgeAA(const GrClip& clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA,
156 void fillQuadWithEdgeAA(const GrClip& clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA,
165 GrQuadAAFlags fAAFlags;
180 const SkRect& dstRect, GrAA, GrQuadAAFlags, SkCanvas::SrcRectConstraint,
191 const SkPoint dstQuad[4], GrAA, GrQuadAAFlags, const SkRect* domain,
202 GrQuadAAFlags fAAFlags;
DSkGpuDevice_drawTexture.cpp176 const SkPoint dstClip[4], GrAA aa, GrQuadAAFlags aaFlags, in draw_texture()
238 const SkMatrix& srcToDst, GrAA aa, GrQuadAAFlags aaFlags, in draw_texture_producer()
283 bool coordsAllInsideSrcRect = aaFlags == GrQuadAAFlags::kNone && !mf; in draw_texture_producer()
357 const SkPoint dstClip[4], GrAA aa, GrQuadAAFlags aaFlags, in drawImageQuad()
598 paint.isAntiAlias() ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone, in drawTextureProducer()
DGrQuad.h18 enum class GrQuadAAFlags; variable
46 void GrResolveAATypeForQuad(GrAAType requestedAAType, GrQuadAAFlags requestedEdgeFlags,
48 GrAAType* outAAtype, GrQuadAAFlags* outEdgeFlags);
/external/skia/samplecode/
DSampleDegenerateQuads.cpp397 GrQuadAAFlags flags = GrQuadAAFlags::kNone; in getTessellatedPoints()
398 flags |= fEdgeAA[0] ? GrQuadAAFlags::kTop : GrQuadAAFlags::kNone; in getTessellatedPoints()
399 flags |= fEdgeAA[1] ? GrQuadAAFlags::kRight : GrQuadAAFlags::kNone; in getTessellatedPoints()
400 flags |= fEdgeAA[2] ? GrQuadAAFlags::kBottom : GrQuadAAFlags::kNone; in getTessellatedPoints()
401 flags |= fEdgeAA[3] ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in getTessellatedPoints()
/external/skia/gm/
Dclockwise.cpp164 {100, 0, 200, 200}, GrAA::kNo, GrQuadAAFlags::kNone, in onDraw()
181 {200, 0, 300, 200}, GrAA::kNo, GrQuadAAFlags::kNone, in onDraw()
/external/skqp/gm/
Dclockwise.cpp166 {100, 0, 200, 200}, GrQuadAAFlags::kNone, in onDraw()
182 {200, 0, 300, 200}, GrQuadAAFlags::kNone, in onDraw()
/external/skqp/tests/
DGrSurfaceTest.cpp476 GrQuadAAFlags::kNone, SkCanvas::kFast_SrcRectConstraint, in DEF_GPUTEST()
489 GrQuadAAFlags::kNone, SkCanvas::kFast_SrcRectConstraint, in DEF_GPUTEST()
508 GrQuadAAFlags::kNone, SkCanvas::kFast_SrcRectConstraint, in DEF_GPUTEST()
558 SkRect::MakeWH(kS, kS), GrQuadAAFlags::kNone, in DEF_GPUTEST()
/external/skqp/include/private/
DGrTypesPriv.h323 enum class GrQuadAAFlags { enum
333 GR_MAKE_BITFIELD_CLASS_OPS(GrQuadAAFlags) in GR_MAKE_BITFIELD_CLASS_OPS() argument
335 static inline GrQuadAAFlags SkToGrQuadAAFlags(unsigned flags) { in GR_MAKE_BITFIELD_CLASS_OPS()
336 return static_cast<GrQuadAAFlags>(flags); in GR_MAKE_BITFIELD_CLASS_OPS()

12