/external/skqp/src/gpu/ops/ |
D | GrFillRectOp.cpp | 30 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 …]
|
D | GrQuadPerEdgeAA.cpp | 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() [all …]
|
D | GrTextureOp.cpp | 106 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 …]
|
D | GrFillRectOp.h | 32 GrQuadAAFlags edgeAA, 40 GrQuadAAFlags edgeAA, 49 GrQuadAAFlags edgeAA,
|
D | GrTextureOp.h | 37 GrQuadAAFlags,
|
D | GrQuadPerEdgeAA.h | 88 GrQuadAAFlags aa);
|
/external/skia/tests/ |
D | BulkRectTest.cpp | 34 typedef GrQuadAAFlags (*PerQuadAAFunc)(int i); 216 auto noAA = [](int i) -> GrQuadAAFlags { in run_test() 217 return GrQuadAAFlags::kNone; in run_test() 229 auto noAA = [](int i) -> GrQuadAAFlags { in run_test() 230 return GrQuadAAFlags::kNone; in run_test() 242 auto alternateAA = [](int i) -> GrQuadAAFlags { in run_test() 243 return (i % 2) ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in run_test() 257 auto runOfNonAA = [](int i) -> GrQuadAAFlags { in run_test() 258 return (i < GrResourceProvider::MaxNumAAQuads()) ? GrQuadAAFlags::kNone in run_test() 259 : GrQuadAAFlags::kAll; in run_test() [all …]
|
D | GrQuadCropTest.cpp | 31 clipAA == GrAA::kYes ? GrQuadAAFlags::kNone : GrQuadAAFlags::kAll}; in run_crop_axis_aligned_test() 70 ASSERTF(quad.fEdgeFlags & GrQuadAAFlags::kLeft, "Expected left edge AA set"); in run_crop_axis_aligned_test() 72 ASSERTF(!(quad.fEdgeFlags & GrQuadAAFlags::kLeft), "Expected left edge AA unset"); in run_crop_axis_aligned_test() 77 ASSERTF(quad.fEdgeFlags & GrQuadAAFlags::kRight, "Expected right edge AA set"); in run_crop_axis_aligned_test() 79 ASSERTF(!(quad.fEdgeFlags & GrQuadAAFlags::kRight), "Expected right edge AA unset"); in run_crop_axis_aligned_test() 84 ASSERTF(quad.fEdgeFlags & GrQuadAAFlags::kTop, "Expected top edge AA set"); in run_crop_axis_aligned_test() 86 ASSERTF(!(quad.fEdgeFlags & GrQuadAAFlags::kTop), "Expected top edge AA unset"); in run_crop_axis_aligned_test() 91 ASSERTF(quad.fEdgeFlags & GrQuadAAFlags::kBottom, "Expected bottom edge AA set"); in run_crop_axis_aligned_test() 93 ASSERTF(!(quad.fEdgeFlags & GrQuadAAFlags::kBottom), "Expected bottom edge AA unset"); in run_crop_axis_aligned_test() 114 clipAA == GrAA::kYes ? GrQuadAAFlags::kNone : GrQuadAAFlags::kAll}; in run_crop_fully_covered_test() [all …]
|
D | TextureOpTest.cpp | 56 quad.fEdgeFlags = isAA ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in create_op()
|
/external/skia/src/gpu/ops/ |
D | GrFillRectOp.cpp | 35 GrQuadAAFlags aaFlags) { in dump_quad_info() 44 (uint32_t) (aaFlags & GrQuadAAFlags::kLeft), in dump_quad_info() 45 (uint32_t) (aaFlags & GrQuadAAFlags::kTop), in dump_quad_info() 46 (uint32_t) (aaFlags & GrQuadAAFlags::kRight), in dump_quad_info() 47 (uint32_t) (aaFlags & GrQuadAAFlags::kBottom), in dump_quad_info() 93 int count = quad->fEdgeFlags != GrQuadAAFlags::kNone ? GrQuadUtils::ClipToW0(quad, &extra) in FillRectOp() 98 quad->fEdgeFlags = GrQuadAAFlags::kNone; in FillRectOp() 415 int count = quad->fEdgeFlags != GrQuadAAFlags::kNone ? GrQuadUtils::ClipToW0(quad, &extra) in addQuad() 440 GrQuadAAFlags fAAFlags; 474 DrawQuad quad{GrQuad::MakeFromRect(rect, view), GrQuad(rect), GrQuadAAFlags::kNone}; in MakeNonAARect() [all …]
|
D | GrQuadPerEdgeAA.cpp | 19 static_assert((int)GrQuadAAFlags::kLeft == SkCanvas::kLeft_QuadAAFlag); 20 static_assert((int)GrQuadAAFlags::kTop == SkCanvas::kTop_QuadAAFlag); 21 static_assert((int)GrQuadAAFlags::kRight == SkCanvas::kRight_QuadAAFlag); 22 static_assert((int)GrQuadAAFlags::kBottom == SkCanvas::kBottom_QuadAAFlag); 23 static_assert((int)GrQuadAAFlags::kNone == SkCanvas::kNone_QuadAAFlags); 24 static_assert((int)GrQuadAAFlags::kAll == SkCanvas::kAll_QuadAAFlags); 310 const SkPMColor4f& color, const SkRect& uvSubset, GrQuadAAFlags aaFlags) { in append() 338 float outset = aaFlags == GrQuadAAFlags::kAll ? 0.5f : 1.f; in append() 343 if (aaFlags == GrQuadAAFlags::kNone) { in append() 359 if (aaFlags == GrQuadAAFlags::kAll) { in append() [all …]
|
D | GrTextureOp.cpp | 317 ColorSubsetAndAA(const SkPMColor4f& color, const SkRect& subsetRect, GrQuadAAFlags aaFlags) in ColorSubsetAndAA() 330 GrQuadAAFlags aaFlags() const { return static_cast<GrQuadAAFlags>(fAAFlags); } in aaFlags() 629 int quadCount = quad->fEdgeFlags != GrQuadAAFlags::kNone in appendQuad() 635 quad->fEdgeFlags = GrQuadAAFlags::kNone; in appendQuad() 1334 if (set[absIndex].fAAFlags != GrQuadAAFlags::kNone || in AddTextureSetOps() 1417 GrQuadAAFlags aaFlags = GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 1418 aaFlags |= random->nextBool() ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 1419 aaFlags |= random->nextBool() ? GrQuadAAFlags::kTop : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 1420 aaFlags |= random->nextBool() ? GrQuadAAFlags::kRight : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 1421 aaFlags |= random->nextBool() ? GrQuadAAFlags::kBottom : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
|
/external/skqp/src/gpu/ |
D | GrQuad.cpp | 95 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*);
|
D | GrRenderTargetContext.h | 133 void fillRectWithEdgeAA(const GrClip& clip, GrPaint&& paint, GrQuadAAFlags edgeAA, 141 GrQuadAAFlags fAAFlags; 156 GrQuadAAFlags, SkCanvas::SrcRectConstraint, const SkMatrix& viewMatrix, 165 GrQuadAAFlags fAAFlags;
|
D | GrQuad.h | 18 enum class GrQuadAAFlags; variable 46 void GrResolveAATypeForQuad(GrAAType requestedAAType, GrQuadAAFlags requestedEdgeFlags, 48 GrAAType* outAAtype, GrQuadAAFlags* outEdgeFlags);
|
D | SkGpuDevice_drawTexture.cpp | 137 GrQuadAAFlags aaFlags = aa == GrAA::kYes ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in draw_texture()
|
/external/skia/src/gpu/geometry/ |
D | GrQuadUtils.cpp | 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() [all …]
|
D | GrQuadUtils.h | 14 enum class GrQuadAAFlags; variable 23 void ResolveAAType(GrAAType requestedAAType, GrQuadAAFlags requestedEdgeFlags, 24 const GrQuad& quad, GrAAType* outAAtype, GrQuadAAFlags* outEdgeFlags);
|
D | GrQuad.h | 16 enum class GrQuadAAFlags; variable 171 GrQuadAAFlags fEdgeFlags;
|
/external/skia/src/gpu/ |
D | GrSurfaceDrawContext.h | 195 GrQuad::MakeFromRect(rect, localMatrix), GrQuadAAFlags::kNone}; in fillPixelsWithLocalMatrix() 205 void fillRectWithEdgeAA(const GrClip* clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA, 208 if (edgeAA == GrQuadAAFlags::kAll) { 230 void fillQuadWithEdgeAA(const GrClip* clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA, in fillQuadWithEdgeAA() 244 GrQuadAAFlags fAAFlags; 267 GrQuadAAFlags, 289 GrQuadAAFlags edgeAA, in drawTextureQuad() 308 GrQuadAAFlags fAAFlags; 579 doStencilMSAA == GrAA::kYes ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone};
|
D | SkGpuDevice_drawTexture.cpp | 346 GrQuadAAFlags aaFlags, in draw_texture() 421 GrQuadAAFlags aaFlags, in draw_image() 473 bool coordsAllInsideSrcRect = aaFlags == GrQuadAAFlags::kNone && !mf; in draw_image() 627 GrQuadAAFlags aaFlags = GrQuadAAFlags::kNone; in draw_tiled_bitmap() 631 aaFlags |= GrQuadAAFlags::kLeft; in draw_tiled_bitmap() 634 aaFlags |= GrQuadAAFlags::kRight; in draw_tiled_bitmap() 637 aaFlags |= GrQuadAAFlags::kTop; in draw_tiled_bitmap() 640 aaFlags |= GrQuadAAFlags::kBottom; in draw_tiled_bitmap() 694 GrQuadAAFlags aaFlags = (aa == GrAA::kYes) ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in drawSpecial() 747 GrQuadAAFlags aaFlags, in drawImageQuad()
|
/external/skia/samplecode/ |
D | SampleDegenerateQuads.cpp | 416 GrQuadAAFlags flags = GrQuadAAFlags::kNone; in getTessellatedPoints() 417 flags |= fEdgeAA[0] ? GrQuadAAFlags::kTop : GrQuadAAFlags::kNone; in getTessellatedPoints() 418 flags |= fEdgeAA[1] ? GrQuadAAFlags::kRight : GrQuadAAFlags::kNone; in getTessellatedPoints() 419 flags |= fEdgeAA[2] ? GrQuadAAFlags::kBottom : GrQuadAAFlags::kNone; in getTessellatedPoints() 420 flags |= fEdgeAA[3] ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in getTessellatedPoints()
|
/external/skqp/gm/ |
D | clockwise.cpp | 166 {100, 0, 200, 200}, GrQuadAAFlags::kNone, in onDraw() 182 {200, 0, 300, 200}, GrQuadAAFlags::kNone, in onDraw()
|
/external/skia/gm/ |
D | clockwise.cpp | 272 GrQuadAAFlags::kNone, in onDraw() 296 GrQuadAAFlags::kNone, in onDraw()
|
/external/skqp/tests/ |
D | GrSurfaceTest.cpp | 476 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()
|