Home
last modified time | relevance | path

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

/external/skia/bench/
DAAClipBench.cpp21 SkRect fClipRect; member in AAClipBench
35 fClipRect.set(10.5f, 10.5f, in AAClipBench()
37 fClipPath.addRoundRect(fClipRect, SkIntToScalar(10), SkIntToScalar(10)); in AAClipBench()
53 fClipRect.offset((i % 2) == 0 ? SkIntToScalar(10) : SkIntToScalar(-10), 0); in onDraw()
55 fClipPath.addRoundRect(fClipRect, in onDraw()
64 canvas->clipRect(fClipRect, SkRegion::kReplace_Op, fDoAA); in onDraw()
75 canvas->drawRect(fClipRect, paint); in onDraw()
/external/skia/src/core/
DSkBlitter.cpp281 if (!y_in_rect(y, fClipRect)) { in blitH()
287 if (left < fClipRect.fLeft) { in blitH()
288 left = fClipRect.fLeft; in blitH()
290 if (right > fClipRect.fRight) { in blitH()
291 right = fClipRect.fRight; in blitH()
302 if (!y_in_rect(y, fClipRect) || left >= fClipRect.fRight) { in blitAntiH()
309 if (x1 <= fClipRect.fLeft) { in blitAntiH()
314 if (x0 < fClipRect.fLeft) { in blitAntiH()
315 int dx = fClipRect.fLeft - x0; in blitAntiH()
319 x0 = fClipRect.fLeft; in blitAntiH()
[all …]
DSkScanPriv.h22 const SkIRect* getClipRect() const { return fClipRect; } in getClipRect()
28 const SkIRect* fClipRect; variable
DSkScan_Path.cpp522 fClipRect = NULL; in SkScanClipper()
525 fClipRect = &clip->getBounds(); in SkScanClipper()
526 if (!skipRejectTest && !SkIRect::Intersects(*fClipRect, ir)) { // completely clipped out in SkScanClipper()
531 if (fClipRect->contains(ir)) { in SkScanClipper()
532 fClipRect = NULL; in SkScanClipper()
535 if (fClipRect->fLeft > ir.fLeft || fClipRect->fRight < ir.fRight) { in SkScanClipper()
536 fRectBlitter.init(blitter, *fClipRect); in SkScanClipper()
DSkScan_AntiPath.cpp400 fRealBlitter->blitMask(fMask, fClipRect); in ~MaskSuperBlitter()
430 SkIRect fClipRect; member in MaskSuperBlitter
448 fClipRect = ir; in MaskSuperBlitter()
449 if (!fClipRect.intersect(clip.getBounds())) { in MaskSuperBlitter()
451 fClipRect.setEmpty(); in MaskSuperBlitter()
DSkBlitter.h168 fClipRect = clipRect; in init()
191 SkIRect fClipRect; variable
/external/skia/samplecode/
DSampleFatBits.cpp51 fClipRect.set(2, 2, 11, 8 ); in FatBits()
110 SkRect fBounds, fClipRect; member in FatBits
217 fClipRect.fLeft * fZoom, in drawFG()
218 fClipRect.fTop * fZoom, in drawFG()
219 fClipRect.fRight * fZoom, in drawFG()
220 fClipRect.fBottom * fZoom in drawFG()
276 SkRect r = fClipRect; in drawLine()
/external/skia/src/gpu/
DGrTextContext.h57 SkIRect fClipRect; variable
DGrTextContext.cpp42 fClip.getConservativeBounds(fRenderTarget->width(), fRenderTarget->height(), &fClipRect); in init()
/external/skia/include/core/
DSkPathEffect.h92 SkRect fClipRect; // clip required to draw the points (if kUseClip is set) variable