Home
last modified time | relevance | path

Searched refs:devClipBounds (Results 1 – 23 of 23) sorted by relevance

/external/skia/src/gpu/ganesh/ops/
DSoftwarePathRenderer.cpp166 SkIRect* devClipBounds) { in GetShapeAndClipBounds() argument
168 *devClipBounds = clip ? clip->getConservativeBounds() in GetShapeAndClipBounds()
176 if (!clippedDevShapeBounds->intersect(*devClipBounds, *unclippedDevShapeBounds)) { in GetShapeAndClipBounds()
201 const SkIRect& devClipBounds, in DrawAroundInvPath() argument
209 if (devClipBounds.fTop < devPathBounds.fTop) { in DrawAroundInvPath()
210 rect.setLTRB(SkIntToScalar(devClipBounds.fLeft), SkIntToScalar(devClipBounds.fTop), in DrawAroundInvPath()
211 SkIntToScalar(devClipBounds.fRight), SkIntToScalar(devPathBounds.fTop)); in DrawAroundInvPath()
215 if (devClipBounds.fLeft < devPathBounds.fLeft) { in DrawAroundInvPath()
216 rect.setLTRB(SkIntToScalar(devClipBounds.fLeft), SkIntToScalar(devPathBounds.fTop), in DrawAroundInvPath()
221 if (devClipBounds.fRight > devPathBounds.fRight) { in DrawAroundInvPath()
[all …]
DTriangulatingPathRenderer.cpp218 SkIRect devClipBounds, in Make() argument
222 viewMatrix, devClipBounds, aaType, in Make()
240 const SkIRect& devClipBounds, in TriangulatingPathOp() argument
248 , fDevClipBounds(devClipBounds) in TriangulatingPathOp()
281 const SkIRect& devClipBounds) { in CreateKey() argument
286 static constexpr int kClipBoundsCnt = sizeof(devClipBounds) / sizeof(uint32_t); in CreateKey()
293 memcpy(&builder[shapeKeyDataCnt], &devClipBounds, sizeof(devClipBounds)); in CreateKey()
295 memset(&builder[shapeKeyDataCnt], 0, sizeof(devClipBounds)); in CreateKey()
306 const SkIRect& devClipBounds, in Triangulate() argument
309 SkRect clipBounds = SkRect::Make(devClipBounds); in Triangulate()
[all …]
DSoftwarePathRenderer.h45 SkIRect* devClipBounds);
60 const SkIRect& devClipBounds,
DAAHairLinePathRenderer.cpp305 const SkIRect& devClipBounds, in gather_lines_and_quads() argument
340 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
398 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
441 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
473 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
511 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
823 const SkIRect& devClipBounds, in Make() argument
836 devClipBounds, capLength, stencilSettings); in Make()
844 SkIRect devClipBounds, in AAHairlineOp() argument
851 fPaths.emplace_back(PathData{viewMatrix, path, devClipBounds, capLength}); in AAHairlineOp()
[all …]
/external/skia/src/core/
DSkDevice.h241 virtual SkIRect devClipBounds() const = 0;
588 bool isClipEmpty() const override { return this->devClipBounds().isEmpty(); } in isClipEmpty()
592 this->devClipBounds() == this->bounds(); in isClipWideOpen()
595 rgn->setRect(this->devClipBounds()); in android_utils_clipAsRgn()
597 SkIRect devClipBounds() const override { return this->clip().fClipBounds; } in devClipBounds() function
DSkClipStackDevice.h53 SkIRect devClipBounds() const override;
DSkClipStackDevice.cpp24 SkIRect SkClipStackDevice::devClipBounds() const { in devClipBounds() function in SkClipStackDevice
DSkCanvas.cpp731 skif::DeviceSpace<SkIRect> outputBounds{dst->devClipBounds()}; in internalDrawDeviceWithFilter()
940 skif::DeviceSpace<SkIRect> outputBounds{priorDevice->devClipBounds()}; in internalSaveLayer()
1052 newDevice->clipRect(SkRect::Make(newDevice->devClipBounds().makeInset(1, 1)), in internalSaveLayer()
1112 if (!devBounds.intersect(tmp.round(), device->devClipBounds())) { in internalSaveBehind()
1116 devBounds = device->devClipBounds(); in internalSaveBehind()
1635 SkRect devClipBounds = in computeDeviceClipBounds() local
1636 SkMatrixPriv::MapRect(dev->deviceToGlobal(), SkRect::Make(dev->devClipBounds())); in computeDeviceClipBounds()
1640 devClipBounds.outset(1.f, 1.f); in computeDeviceClipBounds()
1642 return devClipBounds; in computeDeviceClipBounds()
2283 skif::DeviceSpace<SkIRect> outputBounds{device->devClipBounds()}; in onDrawImageRect2()
[all …]
DSkBitmapDevice.h99 SkIRect devClipBounds() const override;
DSkBitmapDevice.cpp680 SkIRect SkBitmapDevice::devClipBounds() const { in devClipBounds() function in SkBitmapDevice
DSkDevice.cpp356 skif::DeviceSpace<SkIRect>(this->devClipBounds())); in drawFilteredImage()
DSkImageFilterTypes.cpp1248 device->devClipBounds(), in draw()
1261 LayerSpace<SkIRect>(device->devClipBounds()), &dstBounds)) { in draw()
/external/skia/src/gpu/ganesh/
DSurfaceDrawContext.h526 const SkIRect& devClipBounds,
532 const SkIRect& devClipBounds,
DGrBlurUtils.cpp336 SkIRect* devClipBounds) { in get_shape_and_clip_bounds() argument
338 *devClipBounds = clip ? clip->getConservativeBounds() in get_shape_and_clip_bounds()
1144 const SkIRect& devClipBounds) { in compute_key_and_clip_bounds() argument
1146 *boundsForClip = devClipBounds; in compute_key_and_clip_bounds()
1156 can_filter_mask(maskFilter, shape, unclippedDevShapeBounds, devClipBounds, in compute_key_and_clip_bounds()
1413 SkIRect unclippedDevShapeBounds, devClipBounds; in draw_shape_with_mask_filter() local
1415 &unclippedDevShapeBounds, &devClipBounds)) { in draw_shape_with_mask_filter()
1429 devClipBounds)) { in draw_shape_with_mask_filter()
DDevice.h261 SkIRect devClipBounds() const override { return fClip.getConservativeBounds(); } in devClipBounds() function
DSurfaceDrawContext.cpp1482 const SkIRect& devClipBounds, in setLastClip() argument
1486 opsTask->fLastDevClipBounds = devClipBounds; in setLastClip()
1491 const SkIRect& devClipBounds, in mustRenderClip() argument
1495 !opsTask->fLastDevClipBounds.contains(devClipBounds) || in mustRenderClip()
DDevice.cpp537 SkRasterClip rc(this->devClipBounds()); in drawPoints()
1270 drawable->snapGpuDrawHandler(api, combinedMatrix, this->devClipBounds(), in drawDrawable()
/external/skia/src/utils/
DSkCanvasStateUtils.cpp230 setup_MC_state(&layerState->mcState, device->localToDevice(), device->devClipBounds()); in CaptureCanvasState()
/external/skia/src/gpu/graphite/
DDevice.h133 SkIRect devClipBounds() const override;
DDevice.cpp679 SkIRect Device::devClipBounds() const { in devClipBounds() function in skgpu::graphite::Device
685 SkIRect bounds = this->devClipBounds(); in android_utils_clipAsRgn()
/external/skia/src/gpu/
DTiledTextureUtils.cpp403 SkIRect clipRect = device->devClipBounds(); in DrawAsTiledImageRect()
/external/skia/src/pdf/
DSkPDFDevice.cpp468 draw_points(mode, count, points, *paint, this->devClipBounds(), this); in drawPoints()
1706 if (!outlineBounds.intersect(SkRect::Make(this->devClipBounds()))) { in internalDrawImageRect()
/external/skia/src/xps/
DSkXPSDevice.cpp1564 this->devClipBounds(), in drawPath()