Home
last modified time | relevance | path

Searched refs:aaFlags (Results 1 – 25 of 26) sorted by relevance

12

/external/skia/gm/
Dcrbug_1177833.cpp36 SkCanvas::QuadAAFlags aaFlags = static_cast<SkCanvas::QuadAAFlags>(0x00000002); variable
42 canvas->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, color, mode);
61 SkCanvas::QuadAAFlags aaFlags = static_cast<SkCanvas::QuadAAFlags>(0x00000002); variable
67 canvas->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, color, mode);
88 SkCanvas::QuadAAFlags aaFlags = static_cast<SkCanvas::QuadAAFlags>(0x00000004); variable
94 canvas->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, color, mode);
Dcrbug_1174186.cpp31 SkCanvas::QuadAAFlags aaFlags = static_cast<SkCanvas::QuadAAFlags>(flags); variable
34 canvas->experimental_DrawEdgeAAQuad(SkRect::MakeWH(1000, 1000), pts, aaFlags, color,
Dcrbug_1167277.cpp31 SkCanvas::QuadAAFlags aaFlags = static_cast<SkCanvas::QuadAAFlags>(flags); variable
34 canvas->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, color, SkBlendMode::kSrcOver);
Dcrbug_1162942.cpp50 for (auto aaFlags : flags) { variable
53 canvas->experimental_DrawEdgeAAQuad(bounds, pts, aaFlags, color, SkBlendMode::kSrcOver);
Dcompositor_quads.cpp580 SkCanvas::QuadAAFlags aaFlags = fEnableAAOverride ? fAAOverride : this->maskToFlags(edgeAA); in drawTile() local
582 rect, clip, aaFlags, c.toSkColor(), SkBlendMode::kSrcOver); in drawTile()
/external/skqp/src/gpu/ops/
DGrFillRectOp.cpp30 GrQuadAAFlags aaFlags) { in dump_quad_info() argument
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()
461 GrQuadAAFlags aaFlags = GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() local
462 aaFlags |= random->nextBool() ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
463 aaFlags |= random->nextBool() ? GrQuadAAFlags::kTop : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
464 aaFlags |= random->nextBool() ? GrQuadAAFlags::kRight : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
465 aaFlags |= random->nextBool() ? GrQuadAAFlags::kBottom : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
[all …]
DGrQuadPerEdgeAA.cpp39 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()
[all …]
DGrTextureOp.cpp106 GrQuadAAFlags aaFlags, in Make() argument
113 std::move(proxy), filter, color, srcRect, dstRect, aaType, aaFlags, constraint, in Make()
196 const SkRect& srcRect, const SkRect& dstRect, GrAAType aaType, GrQuadAAFlags aaFlags, in TextureOp() argument
208 GrResolveAATypeForQuad(aaType, aaFlags, quad, quadType, &aaType, &aaFlags); in TextureOp()
233 fQuads.push_back(quad, quadType, {color, srcRect, domain, aaFlags}); in TextureOp()
269 GrQuadAAFlags aaFlags; in TextureOp() local
272 GrResolveAATypeForQuad(aaType, set[p].fAAFlags, quad, quadType, &aaForQuad, &aaFlags); in TextureOp()
285 fQuads.push_back(quad, quadType, {color, set[p].fSrcRect, Domain::kNo, aaFlags}); in TextureOp()
319 info.aaFlags()); in tess()
495 Domain hasDomain, GrQuadAAFlags aaFlags) in ColorDomainAndAA()
[all …]
/external/skia/src/gpu/ops/
DGrFillRectOp.cpp35 GrQuadAAFlags aaFlags) { in dump_quad_info() argument
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()
567 GrQuadAAFlags aaFlags = GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() local
568 aaFlags |= random->nextBool() ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
569 aaFlags |= random->nextBool() ? GrQuadAAFlags::kTop : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
570 aaFlags |= random->nextBool() ? GrQuadAAFlags::kRight : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
571 aaFlags |= random->nextBool() ? GrQuadAAFlags::kBottom : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
[all …]
DGrQuadPerEdgeAA.cpp310 const SkPMColor4f& color, const SkRect& uvSubset, GrQuadAAFlags aaFlags) { in append() argument
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()
362 edgeDistances = { (aaFlags & GrQuadAAFlags::kLeft) ? 0.5f : 0.f, in append()
363 (aaFlags & GrQuadAAFlags::kBottom) ? 0.5f : 0.f, in append()
364 (aaFlags & GrQuadAAFlags::kTop) ? 0.5f : 0.f, in append()
365 (aaFlags & GrQuadAAFlags::kRight) ? 0.5f : 0.f }; in append()
DGrTextureOp.cpp317 ColorSubsetAndAA(const SkPMColor4f& color, const SkRect& subsetRect, GrQuadAAFlags aaFlags) in ColorSubsetAndAA()
320 , fAAFlags(static_cast<uint16_t>(aaFlags)) { in ColorSubsetAndAA()
321 SkASSERT(fAAFlags == static_cast<uint16_t>(aaFlags)); in ColorSubsetAndAA()
330 GrQuadAAFlags aaFlags() const { return static_cast<GrQuadAAFlags>(fAAFlags); } in aaFlags() function
728 info.fSubsetRect, info.aaFlags()); in FillInVertices()
1417 GrQuadAAFlags aaFlags = GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() local
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()
[all …]
DGrQuadPerEdgeAA.h147 const SkPMColor4f& color, const SkRect& uvSubset, GrQuadAAFlags aaFlags);
/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp346 GrQuadAAFlags aaFlags, in draw_texture() argument
387 aaFlags, in draw_texture()
402 aaFlags, in draw_texture()
421 GrQuadAAFlags aaFlags, in draw_image() argument
446 aaFlags, in draw_image()
473 bool coordsAllInsideSrcRect = aaFlags == GrQuadAAFlags::kNone && !mf; in draw_image()
537 rtc->fillQuadWithEdgeAA(clip, std::move(grPaint), aa, aaFlags, ctm, dstClip, srcClip); in draw_image()
540 rtc->fillRectWithEdgeAA(clip, std::move(grPaint), aa, aaFlags, ctm, dst, in draw_image()
627 GrQuadAAFlags aaFlags = GrQuadAAFlags::kNone; in draw_tiled_bitmap() local
631 aaFlags |= GrQuadAAFlags::kLeft; in draw_tiled_bitmap()
[all …]
DSkGpuDevice.h102 void drawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], SkCanvas::QuadAAFlags aaFlags,
188 const SkPoint dstClip[4], GrAA aa, GrQuadAAFlags aaFlags,
DSkGpuDevice_nga.h65 void drawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], SkCanvas::QuadAAFlags aaFlags,
DSkGpuDevice.cpp448 SkCanvas::QuadAAFlags aaFlags, const SkColor4f& color, argument
462 GrQuadAAFlags grAA = SkToGrQuadAAFlags(aaFlags);
773 GrQuadAAFlags aaFlags = (aa == GrAA::kYes) ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; local
774 this->drawImageQuad(image, src, &dst, nullptr, aa, aaFlags, nullptr, sampling, paint,
DSkGpuDevice_nga.cpp176 SkCanvas::QuadAAFlags aaFlags, in drawEdgeAAQuad() argument
/external/skia/include/core/
DSkCanvasVirtualEnforcer.h47 SkCanvas::QuadAAFlags aaFlags, const SkColor4f& color, SkBlendMode mode) override {} in onDrawEdgeAAQuad() argument
50 SkCanvas::QuadAAFlags aaFlags, const SkColor4f& color, SkBlendMode mode) override = 0;
DSkCanvas.h1575 int matrixIndex, float alpha, unsigned aaFlags, bool hasClip);
1578 float alpha, unsigned aaFlags);
1613 void experimental_DrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags,
1615 void experimental_DrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags, in experimental_DrawEdgeAAQuad() argument
1617 this->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, SkColor4f::FromColor(color), mode); in experimental_DrawEdgeAAQuad()
2251 virtual void onDrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags,
/external/skia/tools/
DMSKPPlayer.cpp274 SkCanvas::QuadAAFlags aaFlags, in onDrawEdgeAAQuad() argument
280 SkCanvas::QuadAAFlags aaFlags, in onDrawEdgeAAQuad() argument
285 aaFlags, in onDrawEdgeAAQuad()
/external/skqp/src/gpu/
DSkGpuDevice_drawTexture.cpp137 GrQuadAAFlags aaFlags = aa == GrAA::kYes ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in draw_texture() local
138 rtc->drawTexture(clip, std::move(proxy), filter, color, srcRect, dstRect, aaFlags, constraint, in draw_texture()
/external/skqp/src/core/
DSkPicturePlayback.cpp280 SkCanvas::QuadAAFlags aaFlags = static_cast<SkCanvas::QuadAAFlags>(reader->read32()); in handleOp() local
285 canvas->experimental_DrawEdgeAARectV1(rect, aaFlags, color, blend); in handleOp()
/external/skia/src/core/
DSkCanvas.cpp1837 QuadAAFlags aaFlags, const SkColor4f& color, in experimental_DrawEdgeAAQuad() argument
1841 this->onDrawEdgeAAQuad(rect.makeSorted(), clip, aaFlags, color, mode); in experimental_DrawEdgeAAQuad()
2547 unsigned aaFlags, bool hasClip) in ImageSetEntry() argument
2553 , fAAFlags(aaFlags) in ImageSetEntry()
2557 const SkRect& dstRect, float alpha, unsigned aaFlags) in ImageSetEntry() argument
2562 , fAAFlags(aaFlags) {} in ImageSetEntry()
DSkPicturePlayback.cpp271 SkCanvas::QuadAAFlags aaFlags = static_cast<SkCanvas::QuadAAFlags>(reader->read32()); in handleOp() local
281 canvas->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, color, blend); in handleOp()
DSkDevice.h298 SkCanvas::QuadAAFlags aaFlags, const SkColor4f& color,

12