Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/ops/
DSoftwarePathRenderer.cpp128 SkIRect* devClipBounds) { in GetShapeAndClipBounds() argument
130 *devClipBounds = clip ? clip->getConservativeBounds() in GetShapeAndClipBounds()
138 if (!clippedDevShapeBounds->intersect(*devClipBounds, *unclippedDevShapeBounds)) { in GetShapeAndClipBounds()
163 const SkIRect& devClipBounds, in DrawAroundInvPath() argument
171 if (devClipBounds.fTop < devPathBounds.fTop) { in DrawAroundInvPath()
172 rect.setLTRB(SkIntToScalar(devClipBounds.fLeft), SkIntToScalar(devClipBounds.fTop), in DrawAroundInvPath()
173 SkIntToScalar(devClipBounds.fRight), SkIntToScalar(devPathBounds.fTop)); in DrawAroundInvPath()
177 if (devClipBounds.fLeft < devPathBounds.fLeft) { in DrawAroundInvPath()
178 rect.setLTRB(SkIntToScalar(devClipBounds.fLeft), SkIntToScalar(devPathBounds.fTop), in DrawAroundInvPath()
183 if (devClipBounds.fRight > devPathBounds.fRight) { in DrawAroundInvPath()
[all …]
DTriangulatingPathRenderer.cpp172 SkIRect devClipBounds, in Make() argument
176 viewMatrix, devClipBounds, aaType, in Make()
194 const SkIRect& devClipBounds, in TriangulatingPathOp() argument
202 , fDevClipBounds(devClipBounds) in TriangulatingPathOp()
235 const SkIRect& devClipBounds) { in CreateKey() argument
240 static constexpr int kClipBoundsCnt = sizeof(devClipBounds) / sizeof(uint32_t); in CreateKey()
247 memcpy(&builder[shapeKeyDataCnt], &devClipBounds, sizeof(devClipBounds)); in CreateKey()
249 memset(&builder[shapeKeyDataCnt], 0, sizeof(devClipBounds)); in CreateKey()
260 const SkIRect& devClipBounds, in Triangulate() argument
263 SkRect clipBounds = SkRect::Make(devClipBounds); in Triangulate()
[all …]
DSoftwarePathRenderer.h37 SkIRect* devClipBounds);
52 const SkIRect& devClipBounds,
DAAHairLinePathRenderer.cpp254 const SkIRect& devClipBounds, in gather_lines_and_quads() argument
289 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
347 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
390 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
422 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
460 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
760 const SkIRect& devClipBounds, in Make() argument
773 devClipBounds, capLength, stencilSettings); in Make()
781 SkIRect devClipBounds, in AAHairlineOp() argument
788 fPaths.emplace_back(PathData{viewMatrix, path, devClipBounds, capLength}); in AAHairlineOp()
[all …]
/third_party/skia/src/gpu/
DGrBlurUtils.cpp270 SkIRect* devClipBounds) { in get_shape_and_clip_bounds() argument
272 *devClipBounds = clip ? clip->getConservativeBounds() in get_shape_and_clip_bounds()
294 const SkIRect& devClipBounds) { in compute_key_and_clip_bounds() argument
295 *boundsForClip = devClipBounds; in compute_key_and_clip_bounds()
305 maskFilter->canFilterMaskGPU(shape, unclippedDevShapeBounds, devClipBounds, in compute_key_and_clip_bounds()
502 SkIRect unclippedDevShapeBounds, devClipBounds; in draw_shape_with_mask_filter() local
504 &unclippedDevShapeBounds, &devClipBounds)) { in draw_shape_with_mask_filter()
518 devClipBounds)) { in draw_shape_with_mask_filter()
/third_party/skia/experimental/graphite/src/
DDevice.cpp152 SkRect deviceBounds = SkRect::Make(this->devClipBounds()); in drawPaint()
336 SkIRect scissor = this->devClipBounds(); in applyClipToDraw()
/third_party/skia/src/core/
DSkCanvas.cpp858 filter, dst->localToDevice(), skif::DeviceSpace<SkIRect>(dst->devClipBounds()), in internalDrawDeviceWithFilter()
1049 skif::DeviceSpace<SkIRect>(priorDevice->devClipBounds()), in internalSaveLayer()
1160 if (!devBounds.intersect(tmp.round(), device->devClipBounds())) { in internalSaveBehind()
1164 devBounds = device->devClipBounds(); in internalSaveBehind()
1678 SkRect devClipBounds = in computeDeviceClipBounds() local
1679 SkMatrixPriv::MapRect(dev->deviceToGlobal(), SkRect::Make(dev->devClipBounds())); in computeDeviceClipBounds()
1683 devClipBounds.outset(1.f, 1.f); in computeDeviceClipBounds()
1685 return devClipBounds; in computeDeviceClipBounds()
2736 SkIRect clip = dev->devClipBounds(); in accessTopRasterHandle()
DSkDevice.h78 SkIRect devClipBounds() const { return this->onDevClipBounds(); } in devClipBounds() function
DSkDevice.cpp338 skif::DeviceSpace<SkIRect>(this->devClipBounds())); in drawFilteredImage()
/third_party/skia/src/gpu/v1/
DSurfaceDrawContext_v1.h512 const SkIRect& devClipBounds,
518 const SkIRect& devClipBounds,
DSurfaceDrawContext.cpp1494 const SkIRect& devClipBounds, in setLastClip() argument
1498 opsTask->fLastDevClipBounds = devClipBounds; in setLastClip()
1503 const SkIRect& devClipBounds, in mustRenderClip() argument
1507 !opsTask->fLastDevClipBounds.contains(devClipBounds) || in mustRenderClip()
DDevice.cpp373 SkRasterClip rc(this->devClipBounds()); in drawPoints()
898 drawable->snapGpuDrawHandler(api, combinedMatrix, this->devClipBounds(), in drawDrawable()
/third_party/skia/src/utils/
DSkCanvasStateUtils.cpp218 setup_MC_state(&layerState->mcState, device->localToDevice(), device->devClipBounds()); in CaptureCanvasState()
/third_party/skia/src/pdf/
DSkPDFDevice.cpp416 draw_points(mode, count, points, *paint, this->devClipBounds(), this); in drawPoints()
1587 if (!outlineBounds.intersect(SkRect::Make(this->devClipBounds()))) { in internalDrawImageRect()