/third_party/skia/src/core/ |
D | SkBlitter.cpp | 354 if (!y_in_rect(y, fClipRect)) { in blitH() 360 if (left < fClipRect.fLeft) { in blitH() 361 left = fClipRect.fLeft; in blitH() 363 if (right > fClipRect.fRight) { in blitH() 364 right = fClipRect.fRight; in blitH() 375 if (!y_in_rect(y, fClipRect) || left >= fClipRect.fRight) { in blitAntiH() 382 if (x1 <= fClipRect.fLeft) { in blitAntiH() 387 if (x0 < fClipRect.fLeft) { in blitAntiH() 388 int dx = fClipRect.fLeft - x0; in blitAntiH() 392 x0 = fClipRect.fLeft; in blitAntiH() [all …]
|
D | SkScan_Path.cpp | 514 fClipRect = nullptr; in SkScanClipper() 517 fClipRect = &clip->getBounds(); in SkScanClipper() 518 if (!skipRejectTest && !SkIRect::Intersects(*fClipRect, ir)) { // completely clipped out in SkScanClipper() 523 if (!irPreClipped && fClipRect->contains(ir)) { in SkScanClipper() 525 fRectClipCheckBlitter.init(blitter, *fClipRect); in SkScanClipper() 528 fClipRect = nullptr; in SkScanClipper() 532 fClipRect->fLeft > ir.fLeft || fClipRect->fRight < ir.fRight) { in SkScanClipper() 533 fRectBlitter.init(blitter, *fClipRect); in SkScanClipper() 537 fRectClipCheckBlitter.init(blitter, *fClipRect); in SkScanClipper()
|
D | SkBlitter.h | 185 fClipRect = clipRect; in init() 207 SkIRect fClipRect; variable 251 fClipRect = clipRect; in init() 275 SkIRect fClipRect; variable
|
D | SkScanPriv.h | 24 const SkIRect* getClipRect() const { return fClipRect; } in getClipRect() 33 const SkIRect* fClipRect; variable
|
D | SkScan_AntiPath.cpp | 400 fRealBlitter->blitMask(fMask, fClipRect); in ~MaskSuperBlitter() 430 SkIRect fClipRect; member in MaskSuperBlitter 448 fClipRect = ir; in MaskSuperBlitter() 449 if (!fClipRect.intersect(clipBounds)) { in MaskSuperBlitter() 451 fClipRect.setEmpty(); in MaskSuperBlitter()
|
D | SkPathEffectBase.h | 57 SkRect fClipRect; // clip required to draw the points (if kUseClip is set) variable
|
D | SkScan_AAAPath.cpp | 146 ~MaskAdditiveBlitter() override { fRealBlitter->blitMask(fMask, fClipRect); } in ~MaskAdditiveBlitter() 170 int getWidth() override { return fClipRect.width(); } in getWidth() 201 SkIRect fClipRect; member in MaskAdditiveBlitter 226 fClipRect = ir; in MaskAdditiveBlitter() 227 if (!fClipRect.intersect(clipBounds)) { in MaskAdditiveBlitter() 229 fClipRect.setEmpty(); in MaskAdditiveBlitter()
|
/third_party/skia/bench/ |
D | AAClipBench.cpp | 21 SkRect fClipRect; member in AAClipBench 35 fClipRect.setLTRB(10.5f, 10.5f, 50.5f, 50.5f); in AAClipBench() 36 fClipPath.addRoundRect(fClipRect, SkIntToScalar(10), SkIntToScalar(10)); in AAClipBench() 51 fClipRect.offset((i % 2) == 0 ? SkIntToScalar(10) : SkIntToScalar(-10), 0); in onDraw() 53 fClipPath.addRoundRect(fClipRect, in onDraw() 62 canvas->clipRect(fClipRect, SkClipOp::kIntersect, fDoAA); in onDraw() 73 canvas->drawRect(fClipRect, paint); in onDraw()
|
/third_party/skia/tools/ |
D | MSKPPlayer.cpp | 37 SkIRect fClipRect = SkIRect::MakeEmpty(); // clip for picture (no clip if empty). member 40 if (fClipRect.isEmpty()) { in isFullRedraw() 43 return fClipRect.contains(SkIRect::MakeSize(canvas->getBaseLayerSize())); in isFullRedraw() 47 if (!fClipRect.isEmpty()) { in draw() 49 canvas->clipIRect(fClipRect); in draw() 52 if (!fClipRect.isEmpty()) { in draw() 125 fClipRect = *clipRect; in CmdRecordCanvas() 365 cmd->fClipRect = fClipRect; in recordPicCmd() 375 SkIRect fClipRect = SkIRect::MakeEmpty(); member in MSKPPlayer::CmdRecordCanvas
|
/third_party/skia/samplecode/ |
D | SampleFatBits.cpp | 61 fClipRect.setLTRB(2, 2, 11, 8 ); in FatBits() 130 SkRect fBounds, fClipRect; member in FatBits 225 fClipRect.fLeft * fZoom, in drawFG() 226 fClipRect.fTop * fZoom, in drawFG() 227 fClipRect.fRight * fZoom, in drawFG() 228 fClipRect.fBottom * fZoom in drawFG() 271 SkRect r = fClipRect; in drawLine()
|
/third_party/skia/modules/skparagraph/src/ |
D | RunBaseImpl.cpp | 36 fClipRect(clipRect), in RunBaseImpl() 117 painter->clipRect(fClipRect.makeOffset(x, y)); in paint()
|
D | RunBaseImpl.h | 67 SkRect fClipRect = SkRect::MakeEmpty();
|
D | TextLine.h | 225 SkRect fClipRect = SkRect::MakeEmpty();
|
D | TextLine.cpp | 472 record.fClipRect = extendHeight(context).makeOffset(this->offset()); in buildTextBlob() 474 record.fClipRect = context.clip.makeOffset(this->offset()); in buildTextBlob() 503 painter->clipRect(fClipRect.makeOffset(x, y)); in paint() 1763 blob.fBlob, blob.fOffset, blob.fPaint, blob.fClippingNeeded, blob.fClipRect, in shapeEllipsis()
|
D | ParagraphImpl.cpp | 1558 rec.fClipRect.fRight, in GetLineFontMetrics()
|
/third_party/skia/src/gpu/ops/ |
D | AtlasTextOp.h | 51 , fClipRect{clipRect} 80 const SkIRect fClipRect; member
|
D | AtlasTextOp.cpp | 129 dst, offset, count, fColor.toBytes_RGBA(), positionMatrix, fClipRect); in fillVertexData()
|