/third_party/skia/src/gpu/ops/ |
H A D | SoftwarePathRenderer.cpp | 128 SkIRect* devClipBounds) { in GetShapeAndClipBounds() 130 *devClipBounds = clip ? clip->getConservativeBounds() in GetShapeAndClipBounds() 138 if (!clippedDevShapeBounds->intersect(*devClipBounds, *unclippedDevShapeBounds)) { in GetShapeAndClipBounds() 163 const SkIRect& devClipBounds, in DrawAroundInvPath() 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 in DrawAroundInvPath() 122 GetShapeAndClipBounds(SurfaceDrawContext* sdc, const GrClip* clip, const GrStyledShape& shape, const SkMatrix& matrix, SkIRect* unclippedDevShapeBounds, SkIRect* clippedDevShapeBounds, SkIRect* devClipBounds) GetShapeAndClipBounds() argument 158 DrawAroundInvPath(SurfaceDrawContext* sdc, GrPaint&& paint, const GrUserStencilSettings& userStencilSettings, const GrClip* clip, const SkMatrix& viewMatrix, const SkIRect& devClipBounds, const SkIRect& devPathBounds) DrawAroundInvPath() argument 245 SkIRect unclippedDevShapeBounds, clippedDevShapeBounds, devClipBounds; onDrawPath() local [all...] |
H A D | TriangulatingPathRenderer.cpp | 172 SkIRect devClipBounds, in Make() 176 viewMatrix, devClipBounds, aaType, in Make() 194 const SkIRect& devClipBounds, in TriangulatingPathOp() 202 , fDevClipBounds(devClipBounds) in TriangulatingPathOp() 235 const SkIRect& devClipBounds) { in CreateKey() 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() 168 Make(GrRecordingContext* context, GrPaint&& paint, const GrStyledShape& shape, const SkMatrix& viewMatrix, SkIRect devClipBounds, GrAAType aaType, const GrUserStencilSettings* stencilSettings) Make() argument 190 TriangulatingPathOp(GrProcessorSet* processorSet, const SkPMColor4f& color, const GrStyledShape& shape, const SkMatrix& viewMatrix, const SkIRect& devClipBounds, GrAAType aaType, const GrUserStencilSettings* stencilSettings) TriangulatingPathOp() argument 233 CreateKey(GrUniqueKey* key, const GrStyledShape& shape, const SkIRect& devClipBounds) CreateKey() argument 257 Triangulate(GrEagerVertexAllocator* allocator, const SkMatrix& viewMatrix, const GrStyledShape& shape, const SkIRect& devClipBounds, SkScalar tol, bool* isLinear) Triangulate() argument 549 SkIRect devClipBounds = SkIRect::MakeLTRB( GR_DRAW_OP_TEST_DEFINE() local [all...] |
H A D | SoftwarePathRenderer.h | 37 SkIRect* devClipBounds); 52 const SkIRect& devClipBounds,
|
H A D | AAHairLinePathRenderer.cpp | 254 const SkIRect& devClipBounds, in gather_lines_and_quads() 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() 773 devClipBounds, capLength, stencilSettings); in Make() 781 SkIRect devClipBounds, in AAHairlineOp() 788 fPaths.emplace_back(PathData{viewMatrix, path, devClipBounds, capLengt in AAHairlineOp() 252 gather_lines_and_quads(const SkPath& path, const SkMatrix& m, const SkIRect& devClipBounds, SkScalar capLength, bool convertConicsToQuads, PtArray* lines, PtArray* quads, PtArray* conics, IntArray* quadSubdivCnts, FloatArray* conicWeights) gather_lines_and_quads() argument 755 Make(GrRecordingContext* context, GrPaint&& paint, const SkMatrix& viewMatrix, const SkPath& path, const GrStyle& style, const SkIRect& devClipBounds, const GrUserStencilSettings* stencilSettings) Make() argument 776 AAHairlineOp(GrProcessorSet* processorSet, const SkPMColor4f& color, uint8_t coverage, const SkMatrix& viewMatrix, const SkPath& path, SkIRect devClipBounds, SkScalar capLength, const GrUserStencilSettings* stencilSettings) AAHairlineOp() argument 1282 SkIRect devClipBounds; GR_DRAW_OP_TEST_DEFINE() local [all...] |
/third_party/skia/src/gpu/ |
H A D | GrBlurUtils.cpp | 276 SkIRect* devClipBounds) { in get_shape_and_clip_bounds() 278 *devClipBounds = clip ? clip->getConservativeBounds() in get_shape_and_clip_bounds() 300 const SkIRect& devClipBounds, in compute_key_and_clip_bounds() 302 *boundsForClip = devClipBounds; in compute_key_and_clip_bounds() 312 maskFilter->canFilterMaskGPU(shape, unclippedDevShapeBounds, devClipBounds, in compute_key_and_clip_bounds() 541 SkIRect unclippedDevShapeBounds, devClipBounds; in draw_shape_with_mask_filter() local 543 &unclippedDevShapeBounds, &devClipBounds)) { in draw_shape_with_mask_filter() 557 devClipBounds, in draw_shape_with_mask_filter() 590 *shape, unclippedDevShapeBounds, devClipBounds)) { in draw_shape_with_mask_filter() 271 get_shape_and_clip_bounds(skgpu::v1::SurfaceDrawContext* sdc, const GrClip* clip, const GrStyledShape& shape, const SkMatrix& matrix, SkIRect* unclippedDevShapeBounds, SkIRect* devClipBounds) get_shape_and_clip_bounds() argument 292 compute_key_and_clip_bounds(GrUniqueKey* maskKey, SkIRect* boundsForClip, const GrCaps* caps, const SkMatrix& viewMatrix, bool inverseFilled, const SkMaskFilterBase* maskFilter, const GrStyledShape& shape, const SkIRect& unclippedDevShapeBounds, const SkIRect& devClipBounds, const bool canUseSDFBlur = false) compute_key_and_clip_bounds() argument
|
/third_party/skia/src/core/ |
H A D | SkCanvas.cpp | 863 filter, dst->localToDevice(), skif::DeviceSpace<SkIRect>(dst->devClipBounds()), in internalDrawDeviceWithFilter() 1054 skif::DeviceSpace<SkIRect>(priorDevice->devClipBounds()), in internalSaveLayer() 1165 if (!devBounds.intersect(tmp.round(), device->devClipBounds())) { in internalSaveBehind() 1169 devBounds = device->devClipBounds(); in internalSaveBehind() 1687 SkRect devClipBounds = 1688 SkMatrixPriv::MapRect(dev->deviceToGlobal(), SkRect::Make(dev->devClipBounds())); 1692 devClipBounds.outset(1.f, 1.f); 1694 return devClipBounds; 2748 SkIRect clip = dev->devClipBounds();
|
H A D | SkDevice.h | 79 SkIRect devClipBounds() const { return this->onDevClipBounds(); } in devClipBounds() function in SkBaseDevice
|
H A D | SkDevice.cpp | 338 skif::DeviceSpace<SkIRect>(this->devClipBounds())); in drawFilteredImage()
|
/third_party/skia/src/gpu/v1/ |
H A D | SurfaceDrawContext_v1.h | 513 const SkIRect& devClipBounds, 519 const SkIRect& devClipBounds,
|
H A D | SurfaceDrawContext.cpp | 1496 const SkIRect& devClipBounds, in setLastClip() 1500 opsTask->fLastDevClipBounds = devClipBounds; in setLastClip() 1505 const SkIRect& devClipBounds, in mustRenderClip() 1509 !opsTask->fLastDevClipBounds.contains(devClipBounds) || in mustRenderClip() 1495 setLastClip(uint32_t clipStackGenID, const SkIRect& devClipBounds, int numClipAnalyticElements) setLastClip() argument 1504 mustRenderClip(uint32_t clipStackGenID, const SkIRect& devClipBounds, int numClipAnalyticElements) mustRenderClip() argument
|
H A D | Device.cpp | 373 SkRasterClip rc(this->devClipBounds()); in drawPoints() 898 drawable->snapGpuDrawHandler(api, combinedMatrix, this->devClipBounds(), in drawDrawable()
|
/third_party/skia/experimental/graphite/src/ |
H A D | Device.cpp | 152 SkRect deviceBounds = SkRect::Make(this->devClipBounds()); in drawPaint() 336 SkIRect scissor = this->devClipBounds(); in applyClipToDraw()
|
/third_party/skia/src/utils/ |
H A D | SkCanvasStateUtils.cpp | 218 setup_MC_state(&layerState->mcState, device->localToDevice(), device->devClipBounds()); in CaptureCanvasState()
|
/third_party/skia/src/pdf/ |
H A D | SkPDFDevice.cpp | 416 draw_points(mode, count, points, *paint, this->devClipBounds(), this); in drawPoints() 1587 if (!outlineBounds.intersect(SkRect::Make(this->devClipBounds()))) { in internalDrawImageRect()
|