Home
last modified time | relevance | path

Searched refs:fClipRect (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/src/core/
DSkBlitter.cpp354 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 …]
DSkScan_Path.cpp514 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()
DSkBlitter.h185 fClipRect = clipRect; in init()
207 SkIRect fClipRect; variable
251 fClipRect = clipRect; in init()
275 SkIRect fClipRect; variable
DSkScanPriv.h24 const SkIRect* getClipRect() const { return fClipRect; } in getClipRect()
33 const SkIRect* fClipRect; variable
DSkScan_AntiPath.cpp400 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()
DSkPathEffectBase.h57 SkRect fClipRect; // clip required to draw the points (if kUseClip is set) variable
DSkScan_AAAPath.cpp146 ~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/
DAAClipBench.cpp21 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/
DMSKPPlayer.cpp37 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/
DSampleFatBits.cpp61 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/
DRunBaseImpl.cpp36 fClipRect(clipRect), in RunBaseImpl()
117 painter->clipRect(fClipRect.makeOffset(x, y)); in paint()
DRunBaseImpl.h67 SkRect fClipRect = SkRect::MakeEmpty();
DTextLine.h225 SkRect fClipRect = SkRect::MakeEmpty();
DTextLine.cpp472 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()
DParagraphImpl.cpp1558 rec.fClipRect.fRight, in GetLineFontMetrics()
/third_party/skia/src/gpu/ops/
DAtlasTextOp.h51 , fClipRect{clipRect}
80 const SkIRect fClipRect; member
DAtlasTextOp.cpp129 dst, offset, count, fColor.toBytes_RGBA(), positionMatrix, fClipRect); in fillVertexData()