/external/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()
|
/external/skqp/src/core/ |
D | SkRasterClip.cpp | 74 SkRect devRect; in opRect() local 75 ctm.mapRect(&devRect, localRect); in opRect() 76 ir = doAA ? devRect.roundOut() : devRect.round(); in opRect() 110 void SkConservativeClip::opIRect(const SkIRect& devRect, SkRegion::Op op) { in opIRect() argument 112 if (!fBounds.intersect(devRect)) { in opIRect() 121 result.op(SkRegion(fBounds), SkRegion(devRect), op); in opIRect() 366 SkRect devRect; in op() local 376 matrix.mapRect(&devRect, localRect); in op() 381 if (nearly_integral(devRect.fLeft) && nearly_integral(devRect.fTop) && in op() 382 nearly_integral(devRect.fRight) && nearly_integral(devRect.fBottom)) { in op() [all …]
|
D | SkDraw.cpp | 79 SkIRect devRect; in drawPaint() local 80 devRect.set(0, 0, fDst.width(), fDst.height()); in drawPaint() 83 SkScan::FillIRect(devRect, *fRC, blitter.get()); in drawPaint() 633 SkRect devRect; in drawRect() local 636 fMatrix->mapPoints(rect_points(devRect), rect_points(paintRect), 2); in drawRect() 637 devRect.sort(); in drawRect() 640 SkRect bbox = devRect; in drawRect() 677 SkScan::AntiFillRect(devRect, clip, blitter); in drawRect() 679 SkScan::FillRect(devRect, clip, blitter); in drawRect() 684 SkScan::AntiFrameRect(devRect, strokeSize, clip, blitter); in drawRect() [all …]
|
D | SkClipStack.h | 332 bool quickContains(const SkRect& devRect) const { in quickContains() argument 333 return this->isWideOpen() || this->internalQuickContains(devRect); in quickContains() 498 bool internalQuickContains(const SkRect& devRect) const;
|
D | SkCanvas.cpp | 100 SkRect devRect; in wouldOverwriteEntireSurface() local 101 this->getTotalMatrix().mapRectScaleTranslate(&devRect, *rect); in wouldOverwriteEntireSurface() 102 if (!devRect.contains(bounds)) { in wouldOverwriteEntireSurface() 1556 static inline bool is_nan_or_clipped(const Sk4f& devRect, const Sk4f& devClip) { in is_nan_or_clipped() argument 1558 __m128 lLtT = _mm_unpacklo_ps(devRect.fVec, devClip.fVec); in is_nan_or_clipped() 1559 __m128 RrBb = _mm_unpackhi_ps(devClip.fVec, devRect.fVec); in is_nan_or_clipped() 1563 float32x4_t lLtT = vzipq_f32(devRect.fVec, devClip.fVec).val[0]; in is_nan_or_clipped() 1564 float32x4_t RrBb = vzipq_f32(devClip.fVec, devRect.fVec).val[1]; in is_nan_or_clipped() 1570 devRect.store(&devRectAsRect.fLeft); in is_nan_or_clipped() 1620 Sk4f devRect = Sk4f(min[2], min[3], max[0], max[1]); in quickReject() local [all …]
|
D | SkClipStack.cpp | 165 SkRect devRect; in initRect() local 166 m.mapRect(&devRect, rect); in initRect() 167 fDeviceSpaceRRect.setRect(devRect); in initRect()
|
/external/skia/src/core/ |
D | SkRasterClip.cpp | 76 SkRect devRect; in opRect() local 77 ctm.mapRect(&devRect, localRect); in opRect() 78 ir = doAA ? devRect.roundOut() : devRect.round(); in opRect() 116 void SkConservativeClip::opIRect(const SkIRect& devRect, SkRegion::Op op) { in opIRect() argument 120 if (!fBounds.intersect(devRect)) { in opIRect() 129 result.op(SkRegion(fBounds), SkRegion(devRect), op); in opIRect() 399 SkRect devRect; in op() local 409 matrix.mapRect(&devRect, localRect); in op() 414 if (nearly_integral(devRect.fLeft) && nearly_integral(devRect.fTop) && in op() 415 nearly_integral(devRect.fRight) && nearly_integral(devRect.fBottom)) { in op() [all …]
|
D | SkRasterClipStack.h | 132 SkIRect devRect = rect; in replaceClip() local 133 if (!devRect.intersect(fRootBounds)) { in replaceClip() 136 this->writable_rc().setRect(devRect); in replaceClip()
|
D | SkDraw.cpp | 82 SkIRect devRect; in drawPaint() local 83 devRect.setWH(fDst.width(), fDst.height()); in drawPaint() 86 SkScan::FillIRect(devRect, *fRC, blitter.get()); in drawPaint() 632 SkRect devRect; in drawRect() local 635 ctm.mapPoints(rect_points(devRect), rect_points(paintRect), 2); in drawRect() 636 devRect.sort(); in drawRect() 639 SkRect bbox = devRect; in drawRect() 676 SkScan::AntiFillRect(devRect, clip, blitter); in drawRect() 678 SkScan::FillRect(devRect, clip, blitter); in drawRect() 683 SkScan::AntiFrameRect(devRect, strokeSize, clip, blitter); in drawRect() [all …]
|
D | SkClipStack.h | 353 bool quickContains(const SkRect& devRect) const { in quickContains() argument 354 return this->isWideOpen() || this->internalQuickContains(devRect); in quickContains() 514 bool internalQuickContains(const SkRect& devRect) const;
|
D | SkClipStack.cpp | 187 SkRect devRect; in initRect() local 188 m.mapRect(&devRect, rect); in initRect() 189 fDeviceSpaceRRect.setRect(devRect); in initRect()
|
D | SkCanvas.cpp | 111 SkRect devRect; in wouldOverwriteEntireSurface() local 112 this->getTotalMatrix().mapRectScaleTranslate(&devRect, *rect); in wouldOverwriteEntireSurface() 113 if (!devRect.contains(bounds)) { in wouldOverwriteEntireSurface() 1545 SkRect devRect = SkMatrixPriv::MapRect(fMCRec->fMatrix, src); in quickReject() local 1546 return !devRect.isFinite() || !devRect.intersects(fQuickRejectBounds); in quickReject()
|
/external/skqp/src/gpu/gl/ |
D | GrGLIRect.h | 56 void setRelativeTo(const GrGLIRect& glViewport, const SkIRect& devRect, GrSurfaceOrigin org) { in setRelativeTo() 57 this->setRelativeTo(glViewport, devRect.x(), devRect.y(), devRect.width(), devRect.height(), in setRelativeTo()
|
/external/skqp/src/gpu/ops/ |
D | GrStrokeRectOp.cpp | 247 SkRect devRect; in compute_aa_rects() local 248 viewMatrix.mapRect(&devRect, rect); in compute_aa_rects() 264 *devOutside = devRect; in compute_aa_rects() 265 *devOutsideAssist = devRect; in compute_aa_rects() 266 *devInside = devRect; in compute_aa_rects() 276 SkScalar w = devRect.width() - dx; in compute_aa_rects() 277 SkScalar h = devRect.height() - dy; in compute_aa_rects() 283 devInside->fLeft = devInside->fRight = devRect.centerX(); in compute_aa_rects() 284 devInside->fTop = devInside->fBottom = devRect.centerY(); in compute_aa_rects()
|
D | GrShadowRRectOp.cpp | 194 ShadowCircularRRectOp(GrColor color, const SkRect& devRect, in ShadowCircularRRectOp() argument 197 SkRect bounds = devRect; in ShadowCircularRRectOp() 216 if (insetWidth <= 0.5f*SkTMin(devRect.width(), devRect.height())) { in ShadowCircularRRectOp()
|
D | GrOvalOpFactory.cpp | 2205 const SkRect& devRect, in Make() argument 2210 devRect, devRadius, in Make() 2214 const SkMatrix& viewMatrix, const SkRect& devRect, float devRadius, in CircularRRectOp() argument 2219 SkRect bounds = devRect; in CircularRRectOp() 2237 if (devStrokeWidth <= devRect.width() && devStrokeWidth <= devRect.height()) { in CircularRRectOp() 2531 const SkRect& devRect, in Make() argument 2565 viewMatrix, devRect, in Make() 2571 const SkMatrix& viewMatrix, const SkRect& devRect, float devXRadius, in EllipticalRRectOp() argument 2576 SkRect bounds = devRect; in EllipticalRRectOp()
|
/external/skia/src/gpu/ops/ |
D | GrStrokeRectOp.cpp | 282 SkRect devRect; in compute_aa_rects() local 283 viewMatrix.mapRect(&devRect, rect); in compute_aa_rects() 302 *devOutside = devRect; in compute_aa_rects() 303 *devOutsideAssist = devRect; in compute_aa_rects() 304 *devInside = devRect; in compute_aa_rects() 314 SkScalar w = devRect.width() - dx; in compute_aa_rects() 315 SkScalar h = devRect.height() - dy; in compute_aa_rects() 321 devInside->fLeft = devInside->fRight = devRect.centerX(); in compute_aa_rects() 322 devInside->fTop = devInside->fBottom = devRect.centerY(); in compute_aa_rects()
|
D | GrShadowRRectOp.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 | 2510 const SkRect& devRect, in Make() argument 2515 devRect, devRadius, in Make() 2519 const SkMatrix& viewMatrix, const SkRect& devRect, float devRadius, in CircularRRectOp() argument 2524 SkRect bounds = devRect; in CircularRRectOp() 2542 if (devStrokeWidth <= devRect.width() && devStrokeWidth <= devRect.height()) { in CircularRRectOp() 2871 const SkRect& devRect, in Make() argument 2905 viewMatrix, devRect, in Make() 2911 const SkMatrix& viewMatrix, const SkRect& devRect, float devXRadius, in EllipticalRRectOp() argument 2918 SkRect bounds = devRect; in EllipticalRRectOp()
|