Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrSoftwarePathRenderer.cpp74 SkIRect* devClipBounds) { in GetShapeAndClipBounds() argument
78 devClipBounds); in GetShapeAndClipBounds()
85 if (!clippedDevShapeBounds->intersect(*devClipBounds, *unclippedDevShapeBounds)) { in GetShapeAndClipBounds()
113 const SkIRect& devClipBounds, in DrawAroundInvPath() argument
121 if (devClipBounds.fTop < devPathBounds.fTop) { in DrawAroundInvPath()
122 rect.iset(devClipBounds.fLeft, devClipBounds.fTop, in DrawAroundInvPath()
123 devClipBounds.fRight, devPathBounds.fTop); in DrawAroundInvPath()
127 if (devClipBounds.fLeft < devPathBounds.fLeft) { in DrawAroundInvPath()
128 rect.iset(devClipBounds.fLeft, devPathBounds.fTop, in DrawAroundInvPath()
133 if (devClipBounds.fRight > devPathBounds.fRight) { in DrawAroundInvPath()
[all …]
DGrRenderTargetContextPriv.h28 void setLastClip(uint32_t clipStackGenID, const SkIRect& devClipBounds, in setLastClip() argument
32 opList->fLastDevClipBounds = devClipBounds; in setLastClip()
38 bool mustRenderClip(uint32_t clipStackGenID, const SkIRect& devClipBounds, in mustRenderClip() argument
42 !opList->fLastDevClipBounds.contains(devClipBounds) || in mustRenderClip()
DGrSoftwarePathRenderer.h33 SkIRect* devClipBounds);
48 const SkIRect& devClipBounds,
DGrBlurUtils.cpp238 SkIRect* devClipBounds) { in get_shape_and_clip_bounds() argument
242 devClipBounds); in get_shape_and_clip_bounds()
295 SkIRect unclippedDevShapeBounds, devClipBounds; in draw_shape_with_mask_filter() local
298 &devClipBounds)) { in draw_shape_with_mask_filter()
314 const SkIRect* boundsForClip = &devClipBounds; in draw_shape_with_mask_filter()
317 maskFilter->canFilterMaskGPU(*shape, unclippedDevShapeBounds, devClipBounds, in draw_shape_with_mask_filter()
DSkGpuDevice.cpp186 const SkIRect clipBounds = this->devClipBounds().makeOffset(-left, -top); in filterTexture()
340 SkRasterClip rc(this->devClipBounds()); in drawPoints()
/external/skia/src/gpu/
DGrSoftwarePathRenderer.cpp75 SkIRect* devClipBounds) { in GetShapeAndClipBounds() argument
77 *devClipBounds = clip ? clip->getConservativeBounds() in GetShapeAndClipBounds()
86 if (!clippedDevShapeBounds->intersect(*devClipBounds, *unclippedDevShapeBounds)) { in GetShapeAndClipBounds()
111 const SkIRect& devClipBounds, in DrawAroundInvPath() argument
119 if (devClipBounds.fTop < devPathBounds.fTop) { in DrawAroundInvPath()
120 rect.setLTRB(SkIntToScalar(devClipBounds.fLeft), SkIntToScalar(devClipBounds.fTop), in DrawAroundInvPath()
121 SkIntToScalar(devClipBounds.fRight), SkIntToScalar(devPathBounds.fTop)); in DrawAroundInvPath()
125 if (devClipBounds.fLeft < devPathBounds.fLeft) { in DrawAroundInvPath()
126 rect.setLTRB(SkIntToScalar(devClipBounds.fLeft), SkIntToScalar(devPathBounds.fTop), in DrawAroundInvPath()
131 if (devClipBounds.fRight > devPathBounds.fRight) { in DrawAroundInvPath()
[all …]
DGrBlurUtils.cpp261 SkIRect* devClipBounds) { in get_shape_and_clip_bounds() argument
263 *devClipBounds = clip ? clip->getConservativeBounds() in get_shape_and_clip_bounds()
286 const SkIRect& devClipBounds) { in compute_key_and_clip_bounds() argument
287 *boundsForClip = devClipBounds; in compute_key_and_clip_bounds()
297 maskFilter->canFilterMaskGPU(shape, unclippedDevShapeBounds, devClipBounds, in compute_key_and_clip_bounds()
496 SkIRect unclippedDevShapeBounds, devClipBounds; in draw_shape_with_mask_filter() local
498 &unclippedDevShapeBounds, &devClipBounds)) { in draw_shape_with_mask_filter()
512 devClipBounds)) { in draw_shape_with_mask_filter()
DGrSoftwarePathRenderer.h35 SkIRect* devClipBounds);
50 const SkIRect& devClipBounds,
DGrSurfaceDrawContext.h542 const SkIRect& devClipBounds, in setLastClip() argument
546 opsTask->fLastDevClipBounds = devClipBounds; in setLastClip()
553 const SkIRect& devClipBounds, in mustRenderClip() argument
557 !opsTask->fLastDevClipBounds.contains(devClipBounds) || in mustRenderClip()
DSkGpuDevice.cpp383 SkRasterClip rc(this->devClipBounds());
/external/skia/src/gpu/ops/
DGrTriangulatingPathRenderer.cpp245 SkIRect devClipBounds, in Make() argument
249 viewMatrix, devClipBounds, aaType, in Make()
267 const SkIRect& devClipBounds, in TriangulatingPathOp() argument
275 , fDevClipBounds(devClipBounds) in TriangulatingPathOp()
308 const SkIRect& devClipBounds) { in CreateKey() argument
313 static constexpr int kClipBoundsCnt = sizeof(devClipBounds) / sizeof(uint32_t); in CreateKey()
320 memcpy(&builder[shapeKeyDataCnt], &devClipBounds, sizeof(devClipBounds)); in CreateKey()
322 memset(&builder[shapeKeyDataCnt], 0, sizeof(devClipBounds)); in CreateKey()
333 const SkIRect& devClipBounds, in Triangulate() argument
336 SkRect clipBounds = SkRect::Make(devClipBounds); in Triangulate()
[all …]
DGrAAHairLinePathRenderer.cpp246 const SkIRect& devClipBounds, in gather_lines_and_quads() argument
281 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
339 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
382 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
414 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
452 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
809 const SkIRect& devClipBounds, in Make() argument
822 devClipBounds, capLength, stencilSettings); in Make()
830 SkIRect devClipBounds, in AAHairlineOp() argument
837 fPaths.emplace_back(PathData{viewMatrix, path, devClipBounds, capLength}); in AAHairlineOp()
[all …]
/external/skqp/src/gpu/ops/
DGrAAHairLinePathRenderer.cpp245 const SkIRect& devClipBounds, in gather_lines_and_quads() argument
280 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
338 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
381 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
413 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
451 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
789 const SkIRect& devClipBounds, in Make() argument
802 devClipBounds, capLength, stencilSettings); in Make()
810 SkIRect devClipBounds, in AAHairlineOp() argument
817 fPaths.emplace_back(PathData{viewMatrix, path, devClipBounds, capLength}); in AAHairlineOp()
[all …]
DGrTessellatingPathRenderer.cpp180 SkIRect devClipBounds, in Make() argument
184 viewMatrix, devClipBounds, in Make()
208 const SkIRect& devClipBounds, in TessellatingPathOp() argument
216 , fDevClipBounds(devClipBounds) in TessellatingPathOp()
407 SkIRect devClipBounds = SkIRect::MakeLTRB( in GR_DRAW_OP_TEST_DEFINE() local
409 devClipBounds.sort(); in GR_DRAW_OP_TEST_DEFINE()
420 return TessellatingPathOp::Make(context, std::move(paint), shape, viewMatrix, devClipBounds, in GR_DRAW_OP_TEST_DEFINE()
/external/skqp/src/core/
DSkClipStackDevice.h24 SkIRect devClipBounds() const;
DSkClipStackDevice.cpp12 SkIRect SkClipStackDevice::devClipBounds() const { in devClipBounds() function in SkClipStackDevice
/external/skia/src/core/
DSkCanvas.cpp1082 if (!devBounds.intersect(tmp.round(), device->devClipBounds())) { in internalSaveBehind()
1086 devBounds = device->devClipBounds(); in internalSaveBehind()
1598 SkRect devClipBounds = SkRect::Make(dev->devClipBounds()); in computeDeviceClipBounds() local
1599 dev->deviceToGlobal().mapRect(&devClipBounds); in computeDeviceClipBounds()
1603 devClipBounds.outset(1.f, 1.f); in computeDeviceClipBounds()
1605 return devClipBounds; in computeDeviceClipBounds()
2617 SkIRect clip = dev->devClipBounds(); in accessTopRasterHandle()
DSkDevice.h81 SkIRect devClipBounds() const { return this->onDevClipBounds(); } in devClipBounds() function
DSkDevice.cpp335 skif::DeviceSpace<SkIRect>(this->devClipBounds())); in drawFilteredImage()
/external/skia/src/utils/
DSkCanvasStateUtils.cpp219 setup_MC_state(&layerState->mcState, device->localToDevice(), device->devClipBounds()); in CaptureCanvasState()
/external/skqp/src/compute/sk/
DSkDevice_Compute.cpp251 SkRect devClip = SkRect::Make(this->devClipBounds()); in path_rasterize_and_place()
/external/skia/src/pdf/
DSkPDFDevice.cpp417 draw_points(mode, count, points, *paint, this->devClipBounds(), this); in drawPoints()
1578 if (!bounds.intersect(SkRect::Make(this->devClipBounds()))) { in internalDrawImageRect()
/external/skqp/src/pdf/
DSkPDFDevice.cpp573 this->devClipBounds(), this->ctm(), this); in drawPoints()
/external/skqp/src/xps/
DSkXPSDevice.cpp1144 SkIRect r = dev->devClipBounds(); in draw()