Home
last modified time | relevance | path

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

/third_party/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.cpp579 SkCanvas::QuadAAFlags aaFlags = fEnableAAOverride ? fAAOverride : this->maskToFlags(edgeAA); in drawTile() local
581 rect, clip, aaFlags, c.toSkColor(), SkBlendMode::kSrcOver); in drawTile()
/third_party/skia/src/gpu/ops/
DFillRectOp.cpp37 GrQuadAAFlags aaFlags) { in dump_quad_info() argument
46 (uint32_t) (aaFlags & GrQuadAAFlags::kLeft), in dump_quad_info()
47 (uint32_t) (aaFlags & GrQuadAAFlags::kTop), in dump_quad_info()
48 (uint32_t) (aaFlags & GrQuadAAFlags::kRight), in dump_quad_info()
49 (uint32_t) (aaFlags & GrQuadAAFlags::kBottom), in dump_quad_info()
576 GrQuadAAFlags aaFlags = GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() local
577 aaFlags |= random->nextBool() ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
578 aaFlags |= random->nextBool() ? GrQuadAAFlags::kTop : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
579 aaFlags |= random->nextBool() ? GrQuadAAFlags::kRight : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
580 aaFlags |= random->nextBool() ? GrQuadAAFlags::kBottom : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
[all …]
DQuadPerEdgeAA.cpp368 const SkPMColor4f& color, const SkRect& uvSubset, GrQuadAAFlags aaFlags) { in append() argument
396 float outset = aaFlags == GrQuadAAFlags::kAll ? 0.5f : 1.f; in append()
401 if (aaFlags == GrQuadAAFlags::kNone) { in append()
417 if (aaFlags == GrQuadAAFlags::kAll) { in append()
420 edgeDistances = { (aaFlags & GrQuadAAFlags::kLeft) ? 0.5f : 0.f, in append()
421 (aaFlags & GrQuadAAFlags::kBottom) ? 0.5f : 0.f, in append()
422 (aaFlags & GrQuadAAFlags::kTop) ? 0.5f : 0.f, in append()
423 (aaFlags & GrQuadAAFlags::kRight) ? 0.5f : 0.f }; in append()
435 const bool hairline = aaFlags == GrQuadAAFlags::kAll && in append()
DTextureOp.cpp322 ColorSubsetAndAA(const SkPMColor4f& color, const SkRect& subsetRect, GrQuadAAFlags aaFlags) in ColorSubsetAndAA()
325 , fAAFlags(static_cast<uint16_t>(aaFlags)) { in ColorSubsetAndAA()
326 SkASSERT(fAAFlags == static_cast<uint16_t>(aaFlags)); in ColorSubsetAndAA()
335 GrQuadAAFlags aaFlags() const { return static_cast<GrQuadAAFlags>(fAAFlags); } in aaFlags() function
737 info.fSubsetRect, info.aaFlags()); in FillInVertices()
1429 GrQuadAAFlags aaFlags = GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() local
1430 aaFlags |= random->nextBool() ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
1431 aaFlags |= random->nextBool() ? GrQuadAAFlags::kTop : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
1432 aaFlags |= random->nextBool() ? GrQuadAAFlags::kRight : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
1433 aaFlags |= random->nextBool() ? GrQuadAAFlags::kBottom : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
[all …]
DQuadPerEdgeAA.h147 const SkPMColor4f& color, const SkRect& uvSubset, GrQuadAAFlags aaFlags);
/third_party/skia/src/gpu/v1/
DDevice_drawTexture.cpp349 GrQuadAAFlags aaFlags, in draw_texture() argument
390 aaFlags, in draw_texture()
405 aaFlags, in draw_texture()
424 GrQuadAAFlags aaFlags, in draw_image() argument
449 aaFlags, in draw_image()
476 bool coordsAllInsideSrcRect = aaFlags == GrQuadAAFlags::kNone && !mf; in draw_image()
544 sdc->fillQuadWithEdgeAA(clip, std::move(grPaint), aa, aaFlags, ctm, dstClip, srcClip); in draw_image()
547 sdc->fillRectWithEdgeAA(clip, std::move(grPaint), aa, aaFlags, ctm, dst, in draw_image()
634 GrQuadAAFlags aaFlags = GrQuadAAFlags::kNone; in draw_tiled_bitmap() local
638 aaFlags |= GrQuadAAFlags::kLeft; in draw_tiled_bitmap()
[all …]
DDevice_v1.h134 void drawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], SkCanvas::QuadAAFlags aaFlags,
208 const SkPoint dstClip[4], GrAA aa, GrQuadAAFlags aaFlags,
DDevice.cpp439 SkCanvas::QuadAAFlags aaFlags, in drawEdgeAAQuad() argument
454 GrQuadAAFlags grAA = SkToGrQuadAAFlags(aaFlags); in drawEdgeAAQuad()
756 GrQuadAAFlags aaFlags = (aa == GrAA::kYes) ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in drawImageRect() local
757 this->drawImageQuad(image, src, &dst, nullptr, aa, aaFlags, nullptr, sampling, paint, in drawImageRect()
/third_party/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.h1601 int matrixIndex, float alpha, unsigned aaFlags, bool hasClip);
1604 float alpha, unsigned aaFlags);
1639 void experimental_DrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags,
1641 void experimental_DrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags, in experimental_DrawEdgeAAQuad() argument
1643 this->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, SkColor4f::FromColor(color), mode); in experimental_DrawEdgeAAQuad()
2314 virtual void onDrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags,
/third_party/skia/tools/
DMSKPPlayer.cpp274 SkCanvas::QuadAAFlags aaFlags, in onDrawEdgeAAQuad() argument
280 SkCanvas::QuadAAFlags aaFlags, in onDrawEdgeAAQuad() argument
285 aaFlags, in onDrawEdgeAAQuad()
/third_party/skia/experimental/graphite/src/
DDevice.h84 SkCanvas::QuadAAFlags aaFlags, const SkColor4f& color, in drawEdgeAAQuad() argument
/third_party/skia/src/core/
DSkCanvas.cpp1923 QuadAAFlags aaFlags, const SkColor4f& color, in experimental_DrawEdgeAAQuad() argument
1927 this->onDrawEdgeAAQuad(rect.makeSorted(), clip, aaFlags, color, mode); in experimental_DrawEdgeAAQuad()
2674 unsigned aaFlags, bool hasClip) in ImageSetEntry() argument
2680 , fAAFlags(aaFlags) in ImageSetEntry()
2684 const SkRect& dstRect, float alpha, unsigned aaFlags) in ImageSetEntry() argument
2689 , fAAFlags(aaFlags) {} in ImageSetEntry()
DSkPicturePlayback.cpp305 SkCanvas::QuadAAFlags aaFlags = static_cast<SkCanvas::QuadAAFlags>(reader->read32()); in handleOp() local
315 canvas->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, color, blend); in handleOp()
DSkDevice.h291 SkCanvas::QuadAAFlags aaFlags, const SkColor4f& color,