Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/src/gpu/ops/
DGrFillRectOp.cpp34 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 …]
DGrTextureOp.cpp150 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 …]
DGrQuadPerEdgeAA.cpp97 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 …]
DGrTextureOp.h43 GrQuadAAFlags aaFlags,
DGrFillRectOp.h33 GrQuadAAFlags aaFlags,
/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);
/third_party/flutter/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp176 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 …]
DSkGpuDevice.h114 SkCanvas::QuadAAFlags aaFlags, SkColor color, SkBlendMode mode) override;
214 const SkPoint dstClip[4], GrAA aa, GrQuadAAFlags aaFlags,
/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.h133 void drawEdgeAAQuad(const SkRect& rect, const SkPoint clip[4], SkCanvas::QuadAAFlags aaFlags,
205 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.h1588 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/
DSkCanvasVirtualEnforcer.h58 SkCanvas::QuadAAFlags aaFlags, SkColor color, SkBlendMode mode) override {} in onDrawEdgeAAQuad() argument
64 SkCanvas::QuadAAFlags aaFlags, SkColor color, SkBlendMode mode) override = 0;
DSkCanvas.h1823 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/
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/flutter/skia/src/core/
DSkPicturePlayback.cpp280 SkCanvas::QuadAAFlags aaFlags = static_cast<SkCanvas::QuadAAFlags>(reader->read32()); in handleOp() local
289 canvas->experimental_DrawEdgeAAQuad(rect, clip, aaFlags, color, blend); in handleOp()

12