Home
last modified time | relevance | path

Searched refs:devBounds (Results 1 - 16 of 16) sorted by relevance

/third_party/skia/bench/
H A DSKPAnimationBench.cpp51 void preConcatFrameMatrix(double animationTimeMs, const SkIRect& devBounds,
57 SkPoint center = SkPoint::Make((devBounds.fLeft + devBounds.fRight) / 2.0f,
58 (devBounds.fTop + devBounds.fBottom) / 2.0f);
H A DSKPAnimationBench.h24 virtual void preConcatFrameMatrix(double animationTimeMs, const SkIRect& devBounds,
/third_party/skia/src/gpu/ops/
H A DStrokeTessellateOp.cpp53 SkRect devBounds = path.getBounds(); in StrokeTessellateOp() local
57 devBounds.outset(r, r); in StrokeTessellateOp()
59 viewMatrix.mapRect(&devBounds, devBounds); in StrokeTessellateOp()
64 devBounds.outset(r, r); in StrokeTessellateOp()
66 this->setBounds(devBounds, HasAABloat::kNo, IsHairline::kNo); in StrokeTessellateOp()
H A DDefaultPathRenderer.cpp402 const SkRect& devBounds, in Make()
406 devBounds, stencilSettings); in Make()
421 GrAAType aaType, const SkRect& devBounds, in DefaultPathOp()
432 this->setBounds(devBounds, aaBloat, in DefaultPathOp()
713 SkRect devBounds; in internalDrawPath() local
715 viewMatrix, &devBounds); in internalDrawPath()
723 bounds = devBounds; in internalDrawPath()
750 newCoverage, viewMatrix, isHairline, aaType, devBounds, in internalDrawPath()
755 viewMatrix, isHairline, aaType, devBounds, passes[p]); in internalDrawPath()
394 Make(GrRecordingContext* context, GrPaint&& paint, const SkPath& path, SkScalar tolerance, uint8_t coverage, const SkMatrix& viewMatrix, bool isHairline, GrAAType aaType, const SkRect& devBounds, const GrUserStencilSettings* stencilSettings) Make() argument
419 DefaultPathOp(GrProcessorSet* processorSet, const SkPMColor4f& color, const SkPath& path, SkScalar tolerance, uint8_t coverage, const SkMatrix& viewMatrix, bool isHairline, GrAAType aaType, const SkRect& devBounds, const GrUserStencilSettings* stencilSettings) DefaultPathOp() argument
H A DTriangulatingPathRenderer.cpp204 SkRect devBounds; in TriangulatingPathOp() local
205 viewMatrix.mapRect(&devBounds, shape.bounds()); in TriangulatingPathOp()
209 devBounds.join(SkRect::Make(fDevClipBounds)); in TriangulatingPathOp()
211 this->setBounds(devBounds, HasAABloat(fAntiAlias), IsHairline::kNo); in TriangulatingPathOp()
H A DSoftwarePathRenderer.cpp60 SkIRect* devBounds) { in get_unclipped_shape_dev_bounds()
80 shapeDevBounds.roundOut(devBounds); in get_unclipped_shape_dev_bounds()
59 get_unclipped_shape_dev_bounds(const GrStyledShape& shape, const SkMatrix& matrix, SkIRect* devBounds) get_unclipped_shape_dev_bounds() argument
H A DGrOvalOpFactory.cpp1109 SkRect devBounds = SkRect::MakeLTRB(center.fX - outerRadius, center.fY - outerRadius,
1177 devBounds,
1190 devBounds,
1214 devBounds,
1229 devBounds,
1591 SkRect devBounds = SkRect::MakeLTRB(center.fX - outerRadius, center.fY - outerRadius,
1606 devBounds
/third_party/skia/gm/
H A Ddashcircle.cpp197 SkRect devBounds; variable
198 m.mapRect(&devBounds, kBounds);
199 bounds.join(devBounds);
/third_party/skia/src/core/
H A DSkDevice.cpp584 SkRect devBounds = bounds.isEmpty() ? SkRect::MakeEmpty() in op() local
587 if (!fClipBounds.intersect(isAA ? devBounds.roundOut() : devBounds.round())) { in op()
598 if (SkRectPriv::Subtract(fClipBounds, isAA ? devBounds.roundIn() : devBounds.round(), in op()
H A DSkClipStack.cpp856 SkRect* devBounds, in getConservativeBounds()
858 SkASSERT(devBounds); in getConservativeBounds()
860 devBounds->setLTRB(0, 0, in getConservativeBounds()
875 if (!devBounds->intersect(temp)) { in getConservativeBounds()
876 devBounds->setEmpty(); in getConservativeBounds()
852 getConservativeBounds(int offsetX, int offsetY, int maxWidth, int maxHeight, SkRect* devBounds, bool* isIntersectionOfRects) const getConservativeBounds() argument
H A DSkDraw.cpp67 SkIRect devBounds = fRC->getBounds(); in computeConservativeLocalClipBounds() local
69 devBounds.outset(1, 1); in computeConservativeLocalClipBounds()
70 inverse.mapRect(localBounds, SkRect::Make(devBounds)); in computeConservativeLocalClipBounds()
999 SkIRect devBounds = fDst.bounds(); in drawBitmapAsMask() local
1000 devBounds.intersect(fRC->getBounds().makeOutset(1, 1)); in drawBitmapAsMask()
1002 if (!mask.fBounds.intersect(devBounds)) { in drawBitmapAsMask()
H A DSkCanvas.cpp1161 SkIRect devBounds; in internalSaveBehind() local
1165 if (!devBounds.intersect(tmp.round(), device->devClipBounds())) { in internalSaveBehind()
1166 devBounds.setEmpty(); in internalSaveBehind()
1169 devBounds = device->devClipBounds(); in internalSaveBehind()
1171 if (devBounds.isEmpty()) { in internalSaveBehind()
1179 auto backImage = device->snapSpecial(devBounds, /* copy */ true); in internalSaveBehind()
1188 std::make_unique<BackImage>(BackImage{std::move(backImage), devBounds.topLeft()}); in internalSaveBehind()
H A DSkClipStack.h500 * 'devBounds' is the result of an intersection of rects. In this case
501 * 'devBounds' is the exact answer/clip.
507 SkRect* devBounds,
H A DSkBlurMF.cpp1501 SkRect devBounds; in directFilterMaskGPU() local
1503 devBounds = devRRect.getBounds(); in directFilterMaskGPU()
1508 devBounds = {center.x() - radius, in directFilterMaskGPU()
1513 fp = make_circle_blur(context, devBounds, xformedSigma); in directFilterMaskGPU()
/third_party/skia/src/utils/
H A DSkShadowUtils.cpp806 SkRect devBounds; in drawShadow() local
807 viewMatrix.mapRect(&devBounds, path.getBounds()); in drawShadow()
811 SkTAbs(factory.fOffset.fX) > 0.5f*devBounds.width() || in drawShadow()
812 SkTAbs(factory.fOffset.fY) > 0.5f*devBounds.height()) { in drawShadow()
/third_party/skia/src/gpu/
H A DGrBlurUtils.cpp245 SkIRect* devBounds) { in get_unclipped_shape_dev_bounds()
265 shapeDevBounds.roundOut(devBounds); in get_unclipped_shape_dev_bounds()
244 get_unclipped_shape_dev_bounds(const GrStyledShape& shape, const SkMatrix& matrix, SkIRect* devBounds) get_unclipped_shape_dev_bounds() argument

Completed in 33 milliseconds