Home
last modified time | relevance | path

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

/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.cpp579 SkCanvas::QuadAAFlags aaFlags = fEnableAAOverride ? fAAOverride : this->maskToFlags(edgeAA); in drawTile() local
581 rect, clip, aaFlags, c.toSkColor(), SkBlendMode::kSrcOver); in drawTile()
/external/skia/src/gpu/ganesh/
DDevice_drawTexture.cpp358 GrQuadAAFlags aaFlags, in draw_texture() argument
373 float buffer = 0.5f * (aaFlags != GrQuadAAFlags::kNone) + in draw_texture()
398 aaFlags, in draw_texture()
412 aaFlags, in draw_texture()
430 GrQuadAAFlags aaFlags, in draw_image() argument
452 aaFlags, in draw_image()
479 bool coordsAllInsideSrcRect = aaFlags == GrQuadAAFlags::kNone && !mf; in draw_image()
554 sdc->fillQuadWithEdgeAA(clip, std::move(grPaint), aaFlags, ctm, dstClip, srcClip); in draw_image()
557 sdc->fillRectWithEdgeAA(clip, std::move(grPaint), aaFlags, ctm, dst, in draw_image()
647 GrQuadAAFlags aaFlags = GrQuadAAFlags::kNone; in draw_tiled_bitmap() local
[all …]
DDevice_v1.h154 void drawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], SkCanvas::QuadAAFlags aaFlags,
277 const SkPoint dstClip[4], GrQuadAAFlags aaFlags,
DDevice.cpp567 SkCanvas::QuadAAFlags aaFlags, in drawEdgeAAQuad() argument
585 SkToGrQuadAAFlags(aaFlags), in drawEdgeAAQuad()
593 SkToGrQuadAAFlags(aaFlags), in drawEdgeAAQuad()
945 GrQuadAAFlags aaFlags = (aa == GrAA::kYes) ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in drawImageRect() local
946 this->drawImageQuad(image, src, &dst, nullptr, aaFlags, nullptr, sampling, paint, constraint); in drawImageRect()
/external/skia/src/gpu/ganesh/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.cpp369 const SkPMColor4f& color, const SkRect& uvSubset, GrQuadAAFlags aaFlags) { in append() argument
397 float outset = aaFlags == GrQuadAAFlags::kAll ? 0.5f : 1.f; in append()
402 if (aaFlags == GrQuadAAFlags::kNone) { in append()
418 if (aaFlags == GrQuadAAFlags::kAll) { in append()
421 edgeDistances = { (aaFlags & GrQuadAAFlags::kLeft) ? 0.5f : 0.f, in append()
422 (aaFlags & GrQuadAAFlags::kBottom) ? 0.5f : 0.f, in append()
423 (aaFlags & GrQuadAAFlags::kTop) ? 0.5f : 0.f, in append()
424 (aaFlags & GrQuadAAFlags::kRight) ? 0.5f : 0.f }; in append()
436 const bool hairline = aaFlags == GrQuadAAFlags::kAll && in append()
DTextureOp.cpp329 ColorSubsetAndAA(const SkPMColor4f& color, const SkRect& subsetRect, GrQuadAAFlags aaFlags) in ColorSubsetAndAA()
332 , fAAFlags(static_cast<uint16_t>(aaFlags)) { in ColorSubsetAndAA()
333 SkASSERT(fAAFlags == static_cast<uint16_t>(aaFlags)); in ColorSubsetAndAA()
342 GrQuadAAFlags aaFlags() const { return static_cast<GrQuadAAFlags>(fAAFlags); } in aaFlags() function
745 info.fSubsetRect, info.aaFlags()); in FillInVertices()
1440 GrQuadAAFlags aaFlags = GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() local
1441 aaFlags |= random->nextBool() ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
1442 aaFlags |= random->nextBool() ? GrQuadAAFlags::kTop : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
1443 aaFlags |= random->nextBool() ? GrQuadAAFlags::kRight : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
1444 aaFlags |= random->nextBool() ? GrQuadAAFlags::kBottom : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE()
[all …]
DQuadPerEdgeAA.h148 const SkPMColor4f& color, const SkRect& uvSubset, GrQuadAAFlags aaFlags);
/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.h1615 int matrixIndex, float alpha, unsigned aaFlags, bool hasClip);
1618 float alpha, unsigned aaFlags);
1653 void experimental_DrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags,
1655 void experimental_DrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags, in experimental_DrawEdgeAAQuad() argument
1657 this->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, SkColor4f::FromColor(color), mode); in experimental_DrawEdgeAAQuad()
2286 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/skia/src/gpu/graphite/
DDevice.h148 SkCanvas::QuadAAFlags aaFlags, const SkColor4f& color,
DDevice.cpp693 SkCanvas::QuadAAFlags aaFlags, in drawEdgeAAQuad() argument
700 auto flags = SkEnumBitMask<EdgeAAQuad::Flags>(static_cast<EdgeAAQuad::Flags>(aaFlags)); in drawEdgeAAQuad()
/external/skia/src/core/
DSkCanvas.cpp2038 QuadAAFlags aaFlags, const SkColor4f& color, in experimental_DrawEdgeAAQuad() argument
2042 this->onDrawEdgeAAQuad(rect.makeSorted(), clip, aaFlags, color, mode); in experimental_DrawEdgeAAQuad()
2887 unsigned aaFlags, bool hasClip) in ImageSetEntry() argument
2893 , fAAFlags(aaFlags) in ImageSetEntry()
2897 const SkRect& dstRect, float alpha, unsigned aaFlags) in ImageSetEntry() argument
2902 , fAAFlags(aaFlags) {} in ImageSetEntry()
DSkPicturePlayback.cpp333 SkCanvas::QuadAAFlags aaFlags = static_cast<SkCanvas::QuadAAFlags>(reader->read32()); in handleOp() local
344 canvas->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, color, blend); in handleOp()
DSkDevice.h335 SkCanvas::QuadAAFlags aaFlags, const SkColor4f& color,