Home
last modified time | relevance | path

Searched refs:devBounds (Results 1 – 25 of 47) sorted by relevance

12

/external/skqp/src/gpu/ccpr/
DGrCCPathProcessor.h61 void set(const SkRect& devBounds, const SkRect& devBounds45,
113 inline void GrCCPathProcessor::Instance::set(const SkRect& devBounds, const SkRect& devBounds45, in set() argument
118 fDevBounds.setLTRB(devBounds.fRight, devBounds.fTop, devBounds.fLeft, devBounds.fBottom); in set()
120 fDevBounds = devBounds; in set()
DGrCCPerFlushResources.cpp277 const SkAutoSTArray<32, SkPoint>& outDevPts, SkRect* devBounds, in transform_path_pts() argument
325 devBounds->setLTRB(topLeftPts[0].x(), topLeftPts[0].y(), bottomRightPts[0].x(), in transform_path_pts()
334 SkRect* devBounds, SkRect* devBounds45, SkIRect* devIBounds, SkIVector* devToAtlasOffset) { in renderShapeInAtlas() argument
344 if (!transform_path_pts(m, path, fLocalDevPtsBuffer, devBounds, devBounds45)) { in renderShapeInAtlas()
354 devBounds->outset(r, r); in renderShapeInAtlas()
359 devBounds->roundOut(devIBounds); in renderShapeInAtlas()
DGrCCDrawPathsOp.cpp361 SkRect devBounds, devBounds45; in setupResources() local
365 fMaskDevIBounds, fMatrix, fShape, fStrokeDevWidth, &devBounds, &devBounds45, in setupResources()
368 resources->appendDrawPathInstance().set(devBounds, devBounds45, devToAtlasOffset, in setupResources()
375 fCacheEntry->setCoverageCountAtlas(onFlushRP, atlas, devToAtlasOffset, devBounds, in setupResources()
DGrCoverageCountingPathRenderer.cpp70 SkRect devBounds; in onCanDrawPath() local
71 args.fViewMatrix->mapRect(&devBounds, path.getBounds()); in onCanDrawPath()
74 devBounds.roundOut(&clippedIBounds); in onCanDrawPath()
/external/skia/bench/
DSKPAnimationBench.cpp51 void preConcatFrameMatrix(double animationTimeMs, const SkIRect& devBounds, in preConcatFrameMatrix() argument
57 SkPoint center = SkPoint::Make((devBounds.fLeft + devBounds.fRight) / 2.0f, in preConcatFrameMatrix()
58 (devBounds.fTop + devBounds.fBottom) / 2.0f); in preConcatFrameMatrix()
DSKPAnimationBench.h24 virtual void preConcatFrameMatrix(double animationTimeMs, const SkIRect& devBounds,
/external/skqp/bench/
DSKPAnimationBench.cpp55 virtual void preConcatFrameMatrix(double animationTimeMs, const SkIRect& devBounds, in preConcatFrameMatrix() argument
61 SkPoint center = SkPoint::Make((devBounds.fLeft + devBounds.fRight) / 2.0f, in preConcatFrameMatrix()
62 (devBounds.fTop + devBounds.fBottom) / 2.0f); in preConcatFrameMatrix()
DSKPAnimationBench.h23 virtual void preConcatFrameMatrix(double animationTimeMs, const SkIRect& devBounds,
/external/skqp/src/core/
DSkRasterClip.cpp65 const SkIRect& devBounds, SkRegion::Op op, bool doAA) { in opRect() argument
71 ir = devBounds; in opRect()
83 const SkIRect& devBounds, SkRegion::Op op, bool doAA) { in opRRect() argument
84 this->opRect(rrect.getBounds(), ctm, devBounds, op, doAA); in opRRect()
87 void SkConservativeClip::opPath(const SkPath& path, const SkMatrix& ctm, const SkIRect& devBounds, in opPath() argument
94 ir = devBounds; in opPath()
244 bool SkRasterClip::op(const SkRRect& rrect, const SkMatrix& matrix, const SkIRect& devBounds, in op() argument
246 SkIRect bounds(devBounds); in op()
255 bool SkRasterClip::op(const SkPath& path, const SkMatrix& matrix, const SkIRect& devBounds, in op() argument
258 SkIRect bounds(devBounds); in op()
[all …]
/external/skia/src/core/
DSkRasterClip.cpp65 const SkIRect& devBounds, SkRegion::Op op, bool doAA) { in opRect() argument
73 ir = devBounds; in opRect()
85 const SkIRect& devBounds, SkRegion::Op op, bool doAA) { in opRRect() argument
88 this->opRect(rrect.getBounds(), ctm, devBounds, op, doAA); in opRRect()
91 void SkConservativeClip::opPath(const SkPath& path, const SkMatrix& ctm, const SkIRect& devBounds, in opPath() argument
99 ir = devBounds; in opPath()
269 bool SkRasterClip::op(const SkRRect& rrect, const SkMatrix& matrix, const SkIRect& devBounds, in op() argument
271 SkIRect bounds(devBounds); in op()
277 bool SkRasterClip::op(const SkPath& path, const SkMatrix& matrix, const SkIRect& devBounds, in op() argument
280 SkIRect bounds(devBounds); in op()
[all …]
/external/skia/src/gpu/tessellate/
DGrPathStencilFillOp.h33 SkRect devBounds; in GrPathStencilFillOp() local
34 fViewMatrix.mapRect(&devBounds, path.getBounds()); in GrPathStencilFillOp()
35 this->setBounds(devBounds, HasAABloat::kNo, IsHairline::kNo); in GrPathStencilFillOp()
DGrTessellationPathRenderer.cpp250 SkRect devBounds; in onDrawPath() local
251 args.fViewMatrix->mapRect(&devBounds, args.fShape->bounds()); in onDrawPath()
262 devBounds, args.fAAType, &devIBounds, &locationInAtlas, in onDrawPath()
287 devBounds, *args.fViewMatrix, *args.fShape, std::move(args.fPaint))) { in onDrawPath()
295 const SkRect& devBounds, GrAAType aaType, SkIRect* devIBounds, SkIPoint16* locationInAtlas, in tryAddPathToAtlas() argument
320 devBounds.roundOut(devIBounds); in tryAddPathToAtlas()
361 SkRect devBounds; in onStencilPath() local
362 args.fViewMatrix->mapRect(&devBounds, args.fShape->bounds()); in onStencilPath()
364 devBounds, *args.fViewMatrix, *args.fShape, GrPaint())) { in onStencilPath()
DGrPathInnerTriangulateOp.h39 SkRect devBounds; in GrPathInnerTriangulateOp() local
40 fViewMatrix.mapRect(&devBounds, path.getBounds()); in GrPathInnerTriangulateOp()
41 this->setBounds(devBounds, HasAABloat::kNo, IsHairline::kNo); in GrPathInnerTriangulateOp()
DGrStrokeTessellateOp.cpp35 SkRect devBounds = path.getBounds(); in GrStrokeTessellateOp() local
37 devBounds.outset(inflationRadius, inflationRadius); in GrStrokeTessellateOp()
38 viewMatrix.mapRect(&devBounds, devBounds); in GrStrokeTessellateOp()
39 this->setBounds(devBounds, HasAABloat::kNo, IsHairline::kNo); in GrStrokeTessellateOp()
DGrTessellationPathRenderer.h68 const SkRect& devBounds, GrAAType, SkIRect* devIBounds,
/external/skqp/src/gpu/ops/
DGrStencilAndCoverPathRenderer.cpp104 SkRect devBounds = SkRect::MakeIWH(args.fRenderTargetContext->width(), in onDrawPath() local
110 GrAATypeIsHW(args.fAAType), true, &appliedClip, &devBounds)) { in onDrawPath()
143 vmi.mapRect(&coverBounds, devBounds); in onDrawPath()
149 coverBounds = devBounds; in onDrawPath()
DGrDefaultPathRenderer.cpp350 const SkRect& devBounds, in Make() argument
354 devBounds, stencilSettings); in Make()
378 GrAAType aaType, const SkRect& devBounds, in DefaultPathOp() argument
388 this->setBounds(devBounds, HasAABloat::kNo, in DefaultPathOp()
586 SkRect devBounds; in internalDrawPath() local
590 viewMatrix, &devBounds); in internalDrawPath()
598 bounds = devBounds; in internalDrawPath()
626 newCoverage, viewMatrix, isHairline, aaType, devBounds, in internalDrawPath()
631 viewMatrix, isHairline, aaType, devBounds, passes[p]); in internalDrawPath()
DGrTessellatingPathRenderer.cpp218 SkRect devBounds; in TessellatingPathOp() local
219 viewMatrix.mapRect(&devBounds, shape.bounds()); in TessellatingPathOp()
223 devBounds.join(SkRect::Make(fDevClipBounds)); in TessellatingPathOp()
225 this->setBounds(devBounds, HasAABloat::kNo, IsZeroArea::kNo); in TessellatingPathOp()
/external/skia/src/gpu/ops/
DGrDefaultPathRenderer.cpp371 const SkRect& devBounds, in Make() argument
375 devBounds, stencilSettings); in Make()
390 GrAAType aaType, const SkRect& devBounds, in DefaultPathOp() argument
401 this->setBounds(devBounds, aaBloat, in DefaultPathOp()
647 SkRect devBounds; in internalDrawPath() local
649 viewMatrix, &devBounds); in internalDrawPath()
657 bounds = devBounds; in internalDrawPath()
684 newCoverage, viewMatrix, isHairline, aaType, devBounds, in internalDrawPath()
689 viewMatrix, isHairline, aaType, devBounds, passes[p]); in internalDrawPath()
DGrFillRRectOp.cpp84 const SkRect& devBounds);
187 SkRect devBounds; in Make() local
190 devBounds = SkRect::MakeXYWH(m.getTranslateX(), m.getTranslateY(), 0, 0); in Make()
191 devBounds.outset(SkScalarAbs(m.getScaleX()) + SkScalarAbs(m.getSkewX()), in Make()
195 devBounds); in Make()
204 const SkRect& devBounds) in FillRRectOp() argument
217 this->setBounds(devBounds, GrOp::HasAABloat(!(processorFlags & ProcessorFlags::kFakeNonAA)), in FillRRectOp()
/external/skqp/src/gpu/
DGrClipStackClip.cpp73 SkRect devBounds; in getConservativeBounds() local
74 fStack->getConservativeBounds(0, 0, width, height, &devBounds, isIntersectionOfRects); in getConservativeBounds()
75 devBounds.roundOut(devResult); in getConservativeBounds()
195 SkRect devBounds = SkRect::MakeIWH(renderTargetContext->width(), renderTargetContext->height()); in apply() local
196 if (!devBounds.intersect(*bounds)) { in apply()
218 GrReducedClip reducedClip(*fStack, devBounds, context->contextPriv().caps(), in apply()
225 if (reducedClip.hasScissor() && !GrClip::IsInsideClip(reducedClip.scissor(), devBounds)) { in apply()
DGrBlurUtils.cpp88 SkRect devBounds = shape.bounds(); in sw_draw_with_mask_filter() local
89 viewMatrix.mapRect(&devBounds); in sw_draw_with_mask_filter()
93 if (!SkDraw::ComputeMaskBounds(devBounds, &clipBounds, filter, &viewMatrix, in sw_draw_with_mask_filter()
207 SkIRect* devBounds) { in get_unclipped_shape_dev_bounds() argument
227 shapeDevBounds.roundOut(devBounds); in get_unclipped_shape_dev_bounds()
/external/skia/src/gpu/
DGrClipStackClip.cpp63 SkRect devBounds; in getConservativeBounds() local
64 fStack->getConservativeBounds(0, 0, fDeviceSize.fWidth, fDeviceSize.fHeight, &devBounds); in getConservativeBounds()
65 return devBounds.roundOut(); in getConservativeBounds()
191 SkRect devBounds = SkRect::MakeIWH(fDeviceSize.fWidth, fDeviceSize.fHeight); in apply() local
192 if (!devBounds.intersect(*bounds)) { in apply()
218 GrReducedClip reducedClip(*fStack, devBounds, context->priv().caps(), maxWindowRectangles, in apply()
226 if (reducedClip.hasScissor() && !GrClip::IsInsideClip(reducedClip.scissor(), devBounds)) { in apply()
/external/skia/gm/
Ddashcircle.cpp197 SkRect devBounds; in onDraw() local
198 m.mapRect(&devBounds, kBounds); in onDraw()
199 bounds.join(devBounds); in onDraw()
/external/skqp/gm/
Ddashcircle.cpp187 SkRect devBounds; in onDraw() local
188 m.mapRect(&devBounds, kBounds); in onDraw()
189 bounds.join(devBounds); in onDraw()

12