Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBlitter.cpp461 if (!y_in_rect(y, fClipRect)) { in blitH()
467 if (left < fClipRect.fLeft) { in blitH()
468 left = fClipRect.fLeft; in blitH()
470 if (right > fClipRect.fRight) { in blitH()
471 right = fClipRect.fRight; in blitH()
482 if (!y_in_rect(y, fClipRect) || left >= fClipRect.fRight) { in blitAntiH()
489 if (x1 <= fClipRect.fLeft) { in blitAntiH()
494 if (x0 < fClipRect.fLeft) { in blitAntiH()
495 int dx = fClipRect.fLeft - x0; in blitAntiH()
499 x0 = fClipRect.fLeft; in blitAntiH()
[all …]
DSkScan_Path.cpp515 fClipRect = nullptr; in SkScanClipper()
518 fClipRect = &clip->getBounds(); in SkScanClipper()
519 if (!skipRejectTest && !SkIRect::Intersects(*fClipRect, ir)) { // completely clipped out in SkScanClipper()
524 if (!irPreClipped && fClipRect->contains(ir)) { in SkScanClipper()
526 fRectClipCheckBlitter.init(blitter, *fClipRect); in SkScanClipper()
529 fClipRect = nullptr; in SkScanClipper()
533 fClipRect->fLeft > ir.fLeft || fClipRect->fRight < ir.fRight) { in SkScanClipper()
534 fRectBlitter.init(blitter, *fClipRect); in SkScanClipper()
538 fRectClipCheckBlitter.init(blitter, *fClipRect); in SkScanClipper()
DSkBlitter.h190 fClipRect = clipRect; in init()
212 SkIRect fClipRect; variable
256 fClipRect = clipRect; in init()
280 SkIRect fClipRect; variable
DSkScanPriv.h24 const SkIRect* getClipRect() const { return fClipRect; } in getClipRect()
33 const SkIRect* fClipRect; variable
DSkScan_AntiPath.cpp402 fRealBlitter->blitMask(fMask, fClipRect); in ~MaskSuperBlitter()
432 SkIRect fClipRect; member in MaskSuperBlitter
450 fClipRect = ir; in MaskSuperBlitter()
451 if (!fClipRect.intersect(clipBounds)) { in MaskSuperBlitter()
453 fClipRect.setEmpty(); in MaskSuperBlitter()
DSkScan_AAAPath.cpp150 fRealBlitter->blitMask(fMask, fClipRect); in ~MaskAdditiveBlitter()
175 int getWidth() override { return fClipRect.width(); } in getWidth()
206 SkIRect fClipRect; member in MaskAdditiveBlitter
229 fClipRect = ir; in MaskAdditiveBlitter()
230 if (!fClipRect.intersect(clipBounds)) { in MaskAdditiveBlitter()
232 fClipRect.setEmpty(); in MaskAdditiveBlitter()
/external/skqp/src/core/
DSkBlitter.cpp460 if (!y_in_rect(y, fClipRect)) { in blitH()
466 if (left < fClipRect.fLeft) { in blitH()
467 left = fClipRect.fLeft; in blitH()
469 if (right > fClipRect.fRight) { in blitH()
470 right = fClipRect.fRight; in blitH()
481 if (!y_in_rect(y, fClipRect) || left >= fClipRect.fRight) { in blitAntiH()
488 if (x1 <= fClipRect.fLeft) { in blitAntiH()
493 if (x0 < fClipRect.fLeft) { in blitAntiH()
494 int dx = fClipRect.fLeft - x0; in blitAntiH()
498 x0 = fClipRect.fLeft; in blitAntiH()
[all …]
DSkScan_Path.cpp515 fClipRect = nullptr; in SkScanClipper()
518 fClipRect = &clip->getBounds(); in SkScanClipper()
519 if (!skipRejectTest && !SkIRect::Intersects(*fClipRect, ir)) { // completely clipped out in SkScanClipper()
524 if (!irPreClipped && fClipRect->contains(ir)) { in SkScanClipper()
526 fRectClipCheckBlitter.init(blitter, *fClipRect); in SkScanClipper()
529 fClipRect = nullptr; in SkScanClipper()
533 fClipRect->fLeft > ir.fLeft || fClipRect->fRight < ir.fRight) { in SkScanClipper()
534 fRectBlitter.init(blitter, *fClipRect); in SkScanClipper()
538 fRectClipCheckBlitter.init(blitter, *fClipRect); in SkScanClipper()
DSkBlitter.h190 fClipRect = clipRect; in init()
212 SkIRect fClipRect; variable
256 fClipRect = clipRect; in init()
280 SkIRect fClipRect; variable
DSkScanPriv.h24 const SkIRect* getClipRect() const { return fClipRect; } in getClipRect()
33 const SkIRect* fClipRect; variable
DSkScan_AntiPath.cpp402 fRealBlitter->blitMask(fMask, fClipRect); in ~MaskSuperBlitter()
432 SkIRect fClipRect; member in MaskSuperBlitter
450 fClipRect = ir; in MaskSuperBlitter()
451 if (!fClipRect.intersect(clipBounds)) { in MaskSuperBlitter()
453 fClipRect.setEmpty(); in MaskSuperBlitter()
DSkScan_AAAPath.cpp150 fRealBlitter->blitMask(fMask, fClipRect); in ~MaskAdditiveBlitter()
175 int getWidth() override { return fClipRect.width(); } in getWidth()
206 SkIRect fClipRect; member in MaskAdditiveBlitter
229 fClipRect = ir; in MaskAdditiveBlitter()
230 if (!fClipRect.intersect(clipBounds)) { in MaskAdditiveBlitter()
232 fClipRect.setEmpty(); in MaskAdditiveBlitter()
/external/skqp/bench/
DAAClipBench.cpp22 SkRect fClipRect; member in AAClipBench
36 fClipRect.set(10.5f, 10.5f, in AAClipBench()
38 fClipPath.addRoundRect(fClipRect, SkIntToScalar(10), SkIntToScalar(10)); in AAClipBench()
54 fClipRect.offset((i % 2) == 0 ? SkIntToScalar(10) : SkIntToScalar(-10), 0); in onDraw()
56 fClipPath.addRoundRect(fClipRect, in onDraw()
65 canvas->clipRect(fClipRect, kReplace_SkClipOp, fDoAA); in onDraw()
76 canvas->drawRect(fClipRect, paint); in onDraw()
/external/skia/bench/
DAAClipBench.cpp22 SkRect fClipRect; member in AAClipBench
36 fClipRect.set(10.5f, 10.5f, in AAClipBench()
38 fClipPath.addRoundRect(fClipRect, SkIntToScalar(10), SkIntToScalar(10)); in AAClipBench()
54 fClipRect.offset((i % 2) == 0 ? SkIntToScalar(10) : SkIntToScalar(-10), 0); in onDraw()
56 fClipPath.addRoundRect(fClipRect, in onDraw()
65 canvas->clipRect(fClipRect, kReplace_SkClipOp, fDoAA); in onDraw()
76 canvas->drawRect(fClipRect, paint); in onDraw()
/external/skqp/samplecode/
DSampleFatBits.cpp62 fClipRect.set(2, 2, 11, 8 ); in FatBits()
131 SkRect fBounds, fClipRect; member in FatBits
226 fClipRect.fLeft * fZoom, in drawFG()
227 fClipRect.fTop * fZoom, in drawFG()
228 fClipRect.fRight * fZoom, in drawFG()
229 fClipRect.fBottom * fZoom in drawFG()
272 SkRect r = fClipRect; in drawLine()
/external/skia/samplecode/
DSampleFatBits.cpp62 fClipRect.set(2, 2, 11, 8 ); in FatBits()
131 SkRect fBounds, fClipRect; member in FatBits
226 fClipRect.fLeft * fZoom, in drawFG()
227 fClipRect.fTop * fZoom, in drawFG()
228 fClipRect.fRight * fZoom, in drawFG()
229 fClipRect.fBottom * fZoom in drawFG()
272 SkRect r = fClipRect; in drawLine()
/external/skqp/include/core/
DSkPathEffect.h103 SkRect fClipRect; // clip required to draw the points (if kUseClip is set) variable
/external/skia/include/core/
DSkPathEffect.h103 SkRect fClipRect; // clip required to draw the points (if kUseClip is set) variable
/external/skqp/src/gpu/ops/
DGrAtlasTextOp.h34 SkIRect fClipRect; member
DGrAtlasTextOp.cpp359 if (args.fClipRect.isEmpty()) { in onPrepareDraws()
363 clip_quads(args.fClipRect, currVertex, result.fFirstVertex, vertexStride, in onPrepareDraws()
/external/skia/src/gpu/ops/
DGrAtlasTextOp.h34 SkIRect fClipRect; member
DGrAtlasTextOp.cpp359 if (args.fClipRect.isEmpty()) { in onPrepareDraws()
363 clip_quads(args.fClipRect, currVertex, result.fFirstVertex, vertexStride, in onPrepareDraws()
/external/skqp/src/gpu/text/
DGrTextBlob.cpp189 geometry.fClipRect = clipRect; in makeOp()
/external/skia/src/gpu/text/
DGrTextBlob.cpp189 geometry.fClipRect = clipRect; in makeOp()