/third_party/flutter/skia/src/gpu/ops/ |
D | GrFillRectOp.cpp | 34 GrQuadAAFlags aaFlags) { in dump_quad_info() argument 42 (uint32_t) (aaFlags & GrQuadAAFlags::kLeft), in dump_quad_info() 43 (uint32_t) (aaFlags & GrQuadAAFlags::kTop), in dump_quad_info() 44 (uint32_t) (aaFlags & GrQuadAAFlags::kRight), in dump_quad_info() 45 (uint32_t) (aaFlags & GrQuadAAFlags::kBottom), in dump_quad_info() 326 GrQuadAAFlags aaFlags, in Make() argument 330 return FillRectOp::Make(context, std::move(paint), aaType, aaFlags, stencil, in Make() 395 GrQuadAAFlags aaFlags = GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() local 396 aaFlags |= random->nextBool() ? GrQuadAAFlags::kLeft : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() 397 aaFlags |= random->nextBool() ? GrQuadAAFlags::kTop : GrQuadAAFlags::kNone; in GR_DRAW_OP_TEST_DEFINE() [all …]
|
D | GrTextureOp.cpp | 150 GrQuadAAFlags aaFlags, in Make() argument 156 std::move(proxy), std::move(textureXform), filter, color, aaType, aaFlags, in Make() 243 ColorDomainAndAA(const SkPMColor4f& color, const SkRect* domainRect, GrQuadAAFlags aaFlags) in ColorDomainAndAA() 247 , fAAFlags(static_cast<unsigned>(aaFlags)) { in ColorDomainAndAA() 248 SkASSERT(fAAFlags == static_cast<unsigned>(aaFlags)); in ColorDomainAndAA() 257 GrQuadAAFlags aaFlags() const { return static_cast<GrQuadAAFlags>(fAAFlags); } in aaFlags() function 268 GrAAType aaType, GrQuadAAFlags aaFlags, in TextureOp() argument 276 GrQuadUtils::ResolveAAType(aaType, aaFlags, dstQuad, &aaType, &aaFlags); in TextureOp() 290 fQuads.append(dstQuad, {color, domainRect, aaFlags}, &srcQuad); in TextureOp() 342 GrQuadAAFlags aaFlags; in TextureOp() local [all …]
|
D | GrQuadPerEdgeAA.cpp | 97 static AI QuadMetadata get_metadata(const Vertices& vertices, GrQuadAAFlags aaFlags) { in get_metadata() argument 102 V4f mask = aaFlags == GrQuadAAFlags::kAll ? V4f(1.f) : in get_metadata() 103 V4f{(GrQuadAAFlags::kLeft & aaFlags) ? 1.f : 0.f, in get_metadata() 104 (GrQuadAAFlags::kBottom & aaFlags) ? 1.f : 0.f, in get_metadata() 105 (GrQuadAAFlags::kTop & aaFlags) ? 1.f : 0.f, in get_metadata() 106 (GrQuadAAFlags::kRight & aaFlags) ? 1.f : 0.f}; in get_metadata() 191 GrQuadAAFlags aaFlags, Vertices* quad) { in outset_projected_vertices() argument 218 if (aaFlags == GrQuadAAFlags::kAll) { in outset_projected_vertices() 225 M4f aMask = M4f{(aaFlags & GrQuadAAFlags::kLeft) ? kTrue : kFalse, in outset_projected_vertices() 226 (aaFlags & GrQuadAAFlags::kLeft) ? kTrue : kFalse, in outset_projected_vertices() [all …]
|
D | GrTextureOp.h | 43 GrQuadAAFlags aaFlags,
|
D | GrFillRectOp.h | 33 GrQuadAAFlags aaFlags,
|
/third_party/skia/gm/ |
D | crbug_1177833.cpp | 36 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);
|
D | crbug_1174186.cpp | 31 SkCanvas::QuadAAFlags aaFlags = static_cast<SkCanvas::QuadAAFlags>(flags); variable 34 canvas->experimental_DrawEdgeAAQuad(SkRect::MakeWH(1000, 1000), pts, aaFlags, color,
|
D | crbug_1167277.cpp | 31 SkCanvas::QuadAAFlags aaFlags = static_cast<SkCanvas::QuadAAFlags>(flags); variable 34 canvas->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, color, SkBlendMode::kSrcOver);
|
D | crbug_1162942.cpp | 50 for (auto aaFlags : flags) { variable 53 canvas->experimental_DrawEdgeAAQuad(bounds, pts, aaFlags, color, SkBlendMode::kSrcOver);
|
/third_party/flutter/skia/src/gpu/ |
D | SkGpuDevice_drawTexture.cpp | 176 const SkPoint dstClip[4], GrAA aa, GrQuadAAFlags aaFlags, in draw_texture() argument 224 srcQuad, dstClip, aa, aaFlags, in draw_texture() 229 dstRect, aa, aaFlags, constraint, ctm, std::move(textureXform)); in draw_texture() 238 const SkMatrix& srcToDst, GrAA aa, GrQuadAAFlags aaFlags, in draw_texture_producer() argument 248 draw_texture(rtc, clip, ctm, paint, src, dst, dstClip, aa, aaFlags, constraint, in draw_texture_producer() 283 bool coordsAllInsideSrcRect = aaFlags == GrQuadAAFlags::kNone && !mf; in draw_texture_producer() 328 rtc->fillQuadWithEdgeAA(clip, std::move(grPaint), aa, aaFlags, ctm, dstClip, srcClip); in draw_texture_producer() 331 rtc->fillRectWithEdgeAA(clip, std::move(grPaint), aa, aaFlags, ctm, dst, in draw_texture_producer() 358 const SkPoint dstClip[4], GrAA aa, GrQuadAAFlags aaFlags, in drawImageQuad() argument 392 paint, &maker, src, dst, dstClip, srcToDst, aa, aaFlags, constraint, in drawImageQuad() [all …]
|
D | SkGpuDevice.h | 114 SkCanvas::QuadAAFlags aaFlags, SkColor color, SkBlendMode mode) override; 214 const SkPoint dstClip[4], GrAA aa, GrQuadAAFlags aaFlags,
|
/third_party/skia/src/gpu/ops/ |
D | FillRectOp.cpp | 37 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 …]
|
D | QuadPerEdgeAA.cpp | 368 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()
|
D | TextureOp.cpp | 322 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 …]
|
D | QuadPerEdgeAA.h | 147 const SkPMColor4f& color, const SkRect& uvSubset, GrQuadAAFlags aaFlags);
|
/third_party/skia/src/gpu/v1/ |
D | Device_drawTexture.cpp | 349 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 …]
|
D | Device_v1.h | 133 void drawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], SkCanvas::QuadAAFlags aaFlags, 205 const SkPoint dstClip[4], GrAA aa, GrQuadAAFlags aaFlags,
|
D | Device.cpp | 439 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/ |
D | SkCanvasVirtualEnforcer.h | 47 SkCanvas::QuadAAFlags aaFlags, const SkColor4f& color, SkBlendMode mode) override {} in onDrawEdgeAAQuad() argument 50 SkCanvas::QuadAAFlags aaFlags, const SkColor4f& color, SkBlendMode mode) override = 0;
|
D | SkCanvas.h | 1588 int matrixIndex, float alpha, unsigned aaFlags, bool hasClip); 1591 float alpha, unsigned aaFlags); 1626 void experimental_DrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags, 1628 void experimental_DrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags, in experimental_DrawEdgeAAQuad() argument 1630 this->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, SkColor4f::FromColor(color), mode); in experimental_DrawEdgeAAQuad() 2274 virtual void onDrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags,
|
/third_party/flutter/skia/include/core/ |
D | SkCanvasVirtualEnforcer.h | 58 SkCanvas::QuadAAFlags aaFlags, SkColor color, SkBlendMode mode) override {} in onDrawEdgeAAQuad() argument 64 SkCanvas::QuadAAFlags aaFlags, SkColor color, SkBlendMode mode) override = 0;
|
D | SkCanvas.h | 1823 int matrixIndex, float alpha, unsigned aaFlags, bool hasClip); 1826 float alpha, unsigned aaFlags); 1861 void experimental_DrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags, 2480 virtual void onDrawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], QuadAAFlags aaFlags,
|
/third_party/skia/tools/ |
D | MSKPPlayer.cpp | 274 SkCanvas::QuadAAFlags aaFlags, in onDrawEdgeAAQuad() argument 280 SkCanvas::QuadAAFlags aaFlags, in onDrawEdgeAAQuad() argument 285 aaFlags, in onDrawEdgeAAQuad()
|
/third_party/skia/experimental/graphite/src/ |
D | Device.h | 84 SkCanvas::QuadAAFlags aaFlags, const SkColor4f& color, in drawEdgeAAQuad() argument
|
/third_party/flutter/skia/src/core/ |
D | SkPicturePlayback.cpp | 280 SkCanvas::QuadAAFlags aaFlags = static_cast<SkCanvas::QuadAAFlags>(reader->read32()); in handleOp() local 289 canvas->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, color, blend); in handleOp()
|