/third_party/skia/src/gpu/ |
D | GrNativeRect.h | 25 static GrNativeRect MakeRelativeTo(GrSurfaceOrigin origin, int rtHeight, SkIRect devRect) { in MakeRelativeTo() 27 nativeRect.setRelativeTo(origin, rtHeight, devRect); in MakeRelativeTo() 31 static SkIRect MakeIRectRelativeTo(GrSurfaceOrigin origin, int rtHeight, SkIRect devRect) { in MakeIRectRelativeTo() 32 return MakeRelativeTo(origin, rtHeight, devRect).asSkIRect(); in MakeIRectRelativeTo() 57 void setRelativeTo(GrSurfaceOrigin org, int rtHeight, const SkIRect& devRect) { in setRelativeTo() 58 this->setRelativeTo(org, rtHeight, devRect.x(), devRect.y(), devRect.width(), in setRelativeTo() 59 devRect.height()); in setRelativeTo()
|
/third_party/skia/src/core/ |
D | SkRasterClip.cpp | 152 SkRect devRect = matrix.mapRect(localRect); in op() local 156 if (nearly_integral(devRect.fLeft) && nearly_integral(devRect.fTop) && in op() 157 nearly_integral(devRect.fRight) && nearly_integral(devRect.fBottom)) { in op() 163 (void)fBW.op(devRect.round(), (SkRegion::Op) op); in op() 168 (void)fAA.op(devRect, op, doAA); in op()
|
D | SkRasterClipStack.h | 79 SkIRect devRect = rect; in replaceClip() local 80 if (!devRect.intersect(fRootBounds)) { in replaceClip() 83 this->writable_rc().setRect(devRect); in replaceClip()
|
D | SkDraw.cpp | 83 SkIRect devRect; in drawPaint() local 84 devRect.setWH(fDst.width(), fDst.height()); in drawPaint() 87 SkScan::FillIRect(devRect, *fRC, blitter.get()); in drawPaint() 635 SkRect devRect; in drawRect() local 638 ctm.mapPoints(rect_points(devRect), rect_points(paintRect), 2); in drawRect() 639 devRect.sort(); in drawRect() 642 SkRect bbox = devRect; in drawRect() 679 SkScan::AntiFillRect(devRect, clip, blitter); in drawRect() 681 SkScan::FillRect(devRect, clip, blitter); in drawRect() 686 SkScan::AntiFrameRect(devRect, strokeSize, clip, blitter); in drawRect() [all …]
|
D | SkClipStack.h | 358 bool quickContains(const SkRect& devRect) const { in quickContains() argument 359 return this->isWideOpen() || this->internalQuickContains(devRect); in quickContains() 378 void replaceClip(const SkRect& devRect, bool doAA); 516 bool internalQuickContains(const SkRect& devRect) const;
|
D | SkClipStack.cpp | 189 SkRect devRect; in initRect() local 190 m.mapRect(&devRect, rect); in initRect() 191 fDeviceSpaceRRect.setRect(devRect); in initRect()
|
D | SkCanvas.cpp | 113 SkRect devRect; in wouldOverwriteEntireSurface() local 114 this->getTotalMatrix().mapRectScaleTranslate(&devRect, *rect); in wouldOverwriteEntireSurface() 115 if (!devRect.contains(bounds)) { in wouldOverwriteEntireSurface() 1625 SkRect devRect = SkMatrixPriv::MapRect(fMCRec->fMatrix, src); in quickReject() local 1626 return !devRect.isFinite() || !devRect.intersects(fQuickRejectBounds); in quickReject()
|
/third_party/skia/src/gpu/ops/ |
D | StrokeRectOp.cpp | 323 SkRect devRect; in compute_aa_rects() local 324 viewMatrix.mapRect(&devRect, rect); in compute_aa_rects() 330 if (!devRect.intersect(visibilityBounds)) { in compute_aa_rects() 334 *devOutside = devRect; in compute_aa_rects() 335 *devOutsideAssist = devRect; in compute_aa_rects() 336 *devInside = devRect; in compute_aa_rects() 346 SkScalar w = devRect.width() - dx; in compute_aa_rects() 347 SkScalar h = devRect.height() - dy; in compute_aa_rects() 353 devInside->fLeft = devInside->fRight = devRect.centerX(); in compute_aa_rects() 354 devInside->fTop = devInside->fBottom = devRect.centerY(); in compute_aa_rects()
|
D | ShadowRRectOp.cpp | 196 ShadowCircularRRectOp(GrColor color, const SkRect& devRect, in ShadowCircularRRectOp() argument 201 SkRect bounds = devRect; in ShadowCircularRRectOp() 220 if (insetWidth <= 0.5f*std::min(devRect.width(), devRect.height())) { in ShadowCircularRRectOp()
|
D | GrOvalOpFactory.cpp | 2515 const SkRect& devRect, in Make() argument 2520 devRect, devRadius, in Make() 2524 const SkMatrix& viewMatrix, const SkRect& devRect, float devRadius, in CircularRRectOp() argument 2529 SkRect bounds = devRect; in CircularRRectOp() 2547 if (devStrokeWidth <= devRect.width() && devStrokeWidth <= devRect.height()) { in CircularRRectOp() 2880 const SkRect& devRect, in Make() argument 2914 viewMatrix, devRect, in Make() 2920 const SkMatrix& viewMatrix, const SkRect& devRect, float devXRadius, in EllipticalRRectOp() argument 2927 SkRect bounds = devRect; in EllipticalRRectOp()
|