/third_party/skia/docs/examples/ |
D | Region_op_2.cpp | 13 SkIRect drawBounds = {0, 0, 128, 128}; 14 xRegion.setPath(xPath, SkRegion(drawBounds)); 15 xRegion.op(drawBounds.fLeft + frame * drawBounds.width(), drawBounds.fTop, 16 drawBounds.fRight, drawBounds.fBottom, SkRegion::kReverseDifference_Op);
|
D | Region_op_4.cpp | 14 SkIRect drawBounds = {0, 0, 128, 128}; 15 opRegion.setPath(opPath, SkRegion(drawBounds)); 16 xRegion.setPath(xPath, SkRegion(drawBounds)); 17 drawBounds.inset(frame * drawBounds.width() / 2, 0); 18 rectRegion.op(drawBounds, opRegion, SkRegion::kIntersect_Op);
|
D | Region_op_5.cpp | 14 SkIRect drawBounds = {0, 0, 128, 128}; 15 opRegion.setPath(opPath, SkRegion(drawBounds)); 16 xRegion.setPath(xPath, SkRegion(drawBounds)); 17 drawBounds.inset(frame * drawBounds.width() / 2, 0); 18 rectRegion.op(opRegion, drawBounds, SkRegion::kUnion_Op);
|
D | Region_op_6.cpp | 16 SkIRect drawBounds = {0, 0, 128, 128}; 17 opRegion.setPath(opPath, SkRegion(drawBounds)); 18 xRegion.setPath(xPath, SkRegion(drawBounds)); 19 drawBounds.inset(frame * drawBounds.width() / 2, 0); 20 rectRegion.setRect(drawBounds);
|
D | Region_contains_3.cpp | 14 SkIRect drawBounds = {0, 0, 128, 128}; 15 xRegion.setPath(xPath, SkRegion(drawBounds)); 16 testRegion.setPath(testPath, SkRegion(drawBounds)); 17 xRegion.op(drawBounds, SkRegion::kReverseDifference_Op);
|
D | Region_op_1.cpp | 13 SkIRect drawBounds = {0, 0, 128, 128}; 14 xRegion.setPath(xPath, SkRegion(drawBounds)); 15 xRegion.op(drawBounds, SkRegion::kReverseDifference_Op);
|
D | Region_op_3.cpp | 14 SkIRect drawBounds = {0, 0, 128, 128}; 15 opRegion.setPath(opPath, SkRegion(drawBounds)); 16 xRegion.setPath(xPath, SkRegion(drawBounds));
|
D | Region_contains_2.cpp | 13 SkIRect drawBounds = {0, 0, 128, 128}; 14 xRegion.setPath(xPath, SkRegion(drawBounds)); 15 xRegion.op(drawBounds, SkRegion::kReverseDifference_Op);
|
/third_party/flutter/skia/docs/examples/ |
D | Region_op_2.cpp | 13 SkIRect drawBounds = {0, 0, 128, 128}; 14 xRegion.setPath(xPath, SkRegion(drawBounds)); 15 xRegion.op(drawBounds.fLeft + frame * drawBounds.width(), drawBounds.fTop, 16 drawBounds.fRight, drawBounds.fBottom, SkRegion::kReverseDifference_Op);
|
D | Region_op_4.cpp | 14 SkIRect drawBounds = {0, 0, 128, 128}; 15 opRegion.setPath(opPath, SkRegion(drawBounds)); 16 xRegion.setPath(xPath, SkRegion(drawBounds)); 17 drawBounds.inset(frame * drawBounds.width() / 2, 0); 18 rectRegion.op(drawBounds, opRegion, SkRegion::kIntersect_Op);
|
D | Region_op_5.cpp | 14 SkIRect drawBounds = {0, 0, 128, 128}; 15 opRegion.setPath(opPath, SkRegion(drawBounds)); 16 xRegion.setPath(xPath, SkRegion(drawBounds)); 17 drawBounds.inset(frame * drawBounds.width() / 2, 0); 18 rectRegion.op(opRegion, drawBounds, SkRegion::kUnion_Op);
|
D | Region_op_6.cpp | 16 SkIRect drawBounds = {0, 0, 128, 128}; 17 opRegion.setPath(opPath, SkRegion(drawBounds)); 18 xRegion.setPath(xPath, SkRegion(drawBounds)); 19 drawBounds.inset(frame * drawBounds.width() / 2, 0); 20 rectRegion.setRect(drawBounds);
|
D | Region_contains_3.cpp | 14 SkIRect drawBounds = {0, 0, 128, 128}; 15 xRegion.setPath(xPath, SkRegion(drawBounds)); 16 testRegion.setPath(testPath, SkRegion(drawBounds)); 17 xRegion.op(drawBounds, SkRegion::kReverseDifference_Op);
|
D | Region_op_1.cpp | 13 SkIRect drawBounds = {0, 0, 128, 128}; 14 xRegion.setPath(xPath, SkRegion(drawBounds)); 15 xRegion.op(drawBounds, SkRegion::kReverseDifference_Op);
|
D | Region_op_3.cpp | 14 SkIRect drawBounds = {0, 0, 128, 128}; 15 opRegion.setPath(opPath, SkRegion(drawBounds)); 16 xRegion.setPath(xPath, SkRegion(drawBounds));
|
D | Region_contains_2.cpp | 13 SkIRect drawBounds = {0, 0, 128, 128}; 14 xRegion.setPath(xPath, SkRegion(drawBounds)); 15 xRegion.op(drawBounds, SkRegion::kReverseDifference_Op);
|
/third_party/skia/src/gpu/ops/ |
D | PathStencilCoverOp.h | 35 const SkRect& drawBounds) in PathStencilCoverOp() argument 44 this->setBounds(drawBounds, HasAABloat::kNo, IsHairline::kNo); in PathStencilCoverOp() 45 SkDEBUGCODE(fOriginalDrawBounds = drawBounds;) in PathStencilCoverOp() 57 const SkRect& drawBounds) in PathStencilCoverOp() argument 66 this->setBounds(drawBounds, HasAABloat::kNo, IsHairline::kNo); in PathStencilCoverOp() 67 SkDEBUGCODE(fOriginalDrawBounds = drawBounds;) in PathStencilCoverOp()
|
D | TessellationPathRenderer.cpp | 32 const SkRect& drawBounds, in make_non_convex_fill_op() argument 43 float gpuFragmentWork = drawBounds.height() * drawBounds.width(); in make_non_convex_fill_op() 54 drawBounds); in make_non_convex_fill_op() 64 drawBounds); in make_non_convex_fill_op() 181 const SkRect& drawBounds = path.isInverseFillType() in onDrawPath() local 188 drawBounds, in onDrawPath()
|
/third_party/skia/experimental/graphite/src/ |
D | Device.cpp | 273 if (clip.drawBounds().isEmptyNegativeOrNaN()) { in drawShape() 291 fColorDepthBoundsManager->getMostRecentDraw(clip.drawBounds()); in drawShape() 338 Rect drawBounds = shape.bounds(); in applyClipToDraw() local 341 drawBounds.outset(localStyleOutset); in applyClipToDraw() 343 drawBounds = localToDevice.mapRect(drawBounds); in applyClipToDraw() 347 drawBounds.outset(0.5f); in applyClipToDraw() 350 drawBounds.intersect(SkRect::Make(scissor)); in applyClipToDraw() 351 if (drawBounds.isEmptyNegativeOrNaN()) { in applyClipToDraw() 353 return {{drawBounds, scissor}, DrawOrder::kNoIntersection}; in applyClipToDraw() 357 return {{drawBounds, scissor}, DrawOrder::kNoIntersection}; in applyClipToDraw()
|
/third_party/skia/src/gpu/ |
D | GrClip.h | 86 virtual PreClipResult preApply(const SkRect& drawBounds, GrAA aa) const { in preApply() argument 87 SkIRect pixelBounds = GetPixelIBounds(drawBounds, aa); in preApply() 117 static bool IsInsideClip(const SkIRect& innerClipBounds, const SkRect& drawBounds, GrAA aa) { in IsInsideClip() argument 118 return innerClipBounds.contains(GetPixelIBounds(drawBounds, aa)); in IsInsideClip() 128 static bool IsOutsideClip(const SkIRect& outerClipBounds, const SkRect& drawBounds, GrAA aa) { in IsOutsideClip() argument 129 return !SkIRect::Intersects(outerClipBounds, GetPixelIBounds(drawBounds, aa)); in IsOutsideClip()
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrCCPerFlushResources.cpp | 51 const SkISize& drawBounds) in AtlasOp() argument 54 this->setBounds(SkRect::MakeIWH(drawBounds.width(), drawBounds.height()), in AtlasOp() 69 const SkISize& drawBounds) { in Make() argument 73 endInstance, drawBounds); in Make() 105 int baseInstance, int endInstance, const SkISize& drawBounds) in CopyAtlasOp() argument 106 : AtlasOp(ClassID(), std::move(resources), drawBounds) in CopyAtlasOp() 123 FillBatchID fillBatchID, StrokeBatchID strokeBatchID, const SkISize& drawBounds) { in Make() argument 127 std::move(resources), fillBatchID, strokeBatchID, drawBounds); in Make() 145 StrokeBatchID strokeBatchID, const SkISize& drawBounds) in RenderAtlasOp() argument 146 : AtlasOp(ClassID(), std::move(resources), drawBounds) in RenderAtlasOp() [all …]
|
D | GrCCStroker.h | 59 GrOpFlushState*, GrCCCoverageProcessor*, BatchID, const SkIRect& drawBounds) const; 99 int startScissorSubBatch, const SkIRect& drawBounds) const; 101 GrPipeline&, const SkIRect& drawBounds) const; 107 const SkIRect& drawBounds) const;
|
D | GrStencilAtlasOp.h | 53 const SkISize& drawBounds); 62 int endStencilResolveInstance, const SkISize& drawBounds) in GrStencilAtlasOp() argument 69 , fDrawBounds(drawBounds) { in GrStencilAtlasOp()
|
/third_party/skia/src/gpu/v1/ |
D | StencilClip.h | 55 PreClipResult preApply(const SkRect& drawBounds, GrAA aa) const final { in preApply() argument 57 return this->INHERITED::preApply(drawBounds, aa); in preApply() 59 return fFixedClip.preApply(drawBounds, aa); in preApply()
|
/third_party/skia/bench/graphite/ |
D | IntersectionTreeBench.cpp | 137 SkRect drawBounds = matrix.mapRect(path.getBounds()); in gatherRects() local 138 float gpuFragmentWork = drawBounds.height() * drawBounds.width(); in gatherRects() 145 rects->push_back(drawBounds); in gatherRects()
|