Home
last modified time | relevance | path

Searched refs:devBounds (Results 1 – 25 of 48) 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/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.cpp280 const SkAutoSTArray<32, SkPoint>& outDevPts, SkRect* devBounds, in transform_path_pts() argument
328 devBounds->setLTRB(topLeftPts[0].x(), topLeftPts[0].y(), bottomRightPts[0].x(), in transform_path_pts()
337 SkRect* devBounds, SkRect* devBounds45, SkIRect* devIBounds, SkIVector* devToAtlasOffset) { in renderShapeInAtlas() argument
347 if (!transform_path_pts(m, path, fLocalDevPtsBuffer, devBounds, devBounds45)) { in renderShapeInAtlas()
357 devBounds->outset(r, r); in renderShapeInAtlas()
362 devBounds->roundOut(devIBounds); in renderShapeInAtlas()
DGrCCDrawPathsOp.cpp364 SkRect devBounds, devBounds45; in setupResources() local
368 fMaskDevIBounds, fMatrix, fShape, fStrokeDevWidth, &devBounds, &devBounds45, in setupResources()
371 resources->appendDrawPathInstance().set(devBounds, devBounds45, devToAtlasOffset, in setupResources()
378 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/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/skia/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()
/external/skia/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/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/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/
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.cpp346 const SkRect& devBounds, in Make() argument
350 devBounds, stencilSettings); in Make()
374 GrAAType aaType, const SkRect& devBounds, in DefaultPathOp() argument
384 this->setBounds(devBounds, HasAABloat::kNo, in DefaultPathOp()
585 SkRect devBounds; in internalDrawPath() local
589 viewMatrix, &devBounds); in internalDrawPath()
597 bounds = devBounds; in internalDrawPath()
625 newCoverage, viewMatrix, isHairline, aaType, devBounds, in internalDrawPath()
630 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/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.cpp74 SkRect devBounds; in getConservativeBounds() local
75 fStack->getConservativeBounds(0, 0, width, height, &devBounds, isIntersectionOfRects); in getConservativeBounds()
76 devBounds.roundOut(devResult); in getConservativeBounds()
196 SkRect devBounds = SkRect::MakeIWH(renderTargetContext->width(), renderTargetContext->height()); in apply() local
197 if (!devBounds.intersect(*bounds)) { in apply()
219 GrReducedClip reducedClip(*fStack, devBounds, context->priv().caps(), in apply()
226 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/skqp/gm/
Ddashcircle.cpp187 SkRect devBounds; in onDraw() local
188 m.mapRect(&devBounds, kBounds); in onDraw()
189 bounds.join(devBounds); in onDraw()
/external/skia/gm/
Ddashcircle.cpp187 SkRect devBounds; in onDraw() local
188 m.mapRect(&devBounds, kBounds); in onDraw()
189 bounds.join(devBounds); in onDraw()

12