Home
last modified time | relevance | path

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

/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()
DSKPAnimationBench.h23 virtual void preConcatFrameMatrix(double animationTimeMs, const SkIRect& devBounds,
/external/skia/src/core/
DSkRasterClip.cpp63 void SkConservativeClip::op(const SkRect& localRect, const SkMatrix& ctm, const SkIRect& devBounds, in op() argument
70 ir = devBounds; in op()
81 void SkConservativeClip::op(const SkRRect& rrect, const SkMatrix& ctm, const SkIRect& devBounds, in op() argument
83 this->op(rrect.getBounds(), ctm, devBounds, op, doAA); in op()
86 void SkConservativeClip::op(const SkPath& path, const SkMatrix& ctm, const SkIRect& devBounds, in op() argument
93 ir = devBounds; in op()
243 bool SkRasterClip::op(const SkRRect& rrect, const SkMatrix& matrix, const SkIRect& devBounds, in op() argument
245 SkIRect bounds(devBounds); in op()
254 bool SkRasterClip::op(const SkPath& path, const SkMatrix& matrix, const SkIRect& devBounds, in op() argument
257 SkIRect bounds(devBounds); in op()
[all …]
DSkRecords.h178 SkIRect devBounds;
213 SkIRect devBounds;
217 SkIRect devBounds;
221 SkIRect devBounds;
225 SkIRect devBounds;
DSkRecordDraw.cpp247 void updateClipBounds(const ClipPath& op) { this->updateClipBoundsForClipOp(op.devBounds); } in updateClipBounds()
248 void updateClipBounds(const ClipRRect& op) { this->updateClipBoundsForClipOp(op.devBounds); } in updateClipBounds()
249 void updateClipBounds(const ClipRect& op) { this->updateClipBoundsForClipOp(op.devBounds); } in updateClipBounds()
250 void updateClipBounds(const ClipRegion& op) { this->updateClipBoundsForClipOp(op.devBounds); } in updateClipBounds()
253 void updateClipBoundsForClipOp(const SkIRect& devBounds) { in updateClipBoundsForClipOp() argument
254 Bounds clip = SkRect::Make(devBounds); in updateClipBoundsForClipOp()
271 Bounds clip = SkRect::Make(op.devBounds); in updateClipBounds()
DSkClipStack.cpp859 SkRect* devBounds, in getConservativeBounds() argument
861 SkASSERT(devBounds); in getConservativeBounds()
863 devBounds->setLTRB(0, 0, in getConservativeBounds()
878 if (!devBounds->intersect(temp)) { in getConservativeBounds()
879 devBounds->setEmpty(); in getConservativeBounds()
DSkDraw.cpp64 SkIRect devBounds = fRC->getBounds(); in computeConservativeLocalClipBounds() local
66 devBounds.outset(1, 1); in computeConservativeLocalClipBounds()
67 inverse.mapRect(localBounds, SkRect::Make(devBounds)); in computeConservativeLocalClipBounds()
1155 SkIRect devBounds; in drawBitmapAsMask() local
1156 devBounds.set(0, 0, fDst.width(), fDst.height()); in drawBitmapAsMask()
1158 if (!mask.fBounds.intersect(devBounds)) { in drawBitmapAsMask()
DSkClipStack.h535 SkRect* devBounds,
/external/skia/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp78 SkRect devBounds; in DrawPathsOp() local
79 args.fViewMatrix->mapRect(&devBounds, args.fShape->bounds()); in DrawPathsOp()
82 fHeadDraw.fScissorMode = fHeadDraw.fClipBounds.contains(devBounds) ? in DrawPathsOp()
90 this->setBounds(devBounds, GrOp::HasAABloat::kYes, GrOp::IsZeroArea::kNo); in DrawPathsOp()
218 SkRect devBounds, devBounds45; in preFlush() local
219 atlasOpsBuilder.parsePath(draw->fScissorMode, draw->fMatrix, draw->fPath, &devBounds, in preFlush()
222 SkRect clippedDevBounds = devBounds; in preFlush()
224 !clippedDevBounds.intersect(devBounds, SkRect::Make(draw->fClipBounds))) { in preFlush()
257 devBounds, in preFlush()
DGrCCPRCoverageOpsBuilder.cpp74 void getAccumulatedBounds(SkRect* devBounds, SkRect* devBounds45) const;
162 const SkPath& path, SkRect* devBounds, in parsePath() argument
209 m.getAccumulatedBounds(devBounds, devBounds45); in parsePath()
633 inline void AccumulatingViewMatrix::getAccumulatedBounds(SkRect* devBounds, in getAccumulatedBounds() argument
638 devBounds->setLTRB(topLeft[0], topLeft[1], bottomRight[0], bottomRight[1]); in getAccumulatedBounds()
DGrCCPRCoverageOpsBuilder.h79 void parsePath(ScissorMode, const SkMatrix&, const SkPath&, SkRect* devBounds,
/external/skia/src/gpu/
DGrClipStackClip.cpp69 SkRect devBounds; in getConservativeBounds() local
70 fStack->getConservativeBounds(0, 0, width, height, &devBounds, isIntersectionOfRects); in getConservativeBounds()
71 devBounds.roundOut(devResult); in getConservativeBounds()
251 SkRect devBounds = SkRect::MakeIWH(renderTargetContext->width(), renderTargetContext->height()); in apply() local
252 if (!devBounds.intersect(*bounds)) { in apply()
260 const GrReducedClip reducedClip(*fStack, devBounds, in apply()
263 if (reducedClip.hasIBounds() && !GrClip::IsInsideClip(reducedClip.ibounds(), devBounds)) { in apply()
307 get_analytic_clip_processor(reducedClip.elements(), disallowAnalyticAA, devBounds, in apply()
DGrSoftwarePathRenderer.cpp27 SkIRect* devBounds) { in get_unclipped_shape_dev_bounds() argument
42 shapeDevBounds.roundOut(devBounds); in get_unclipped_shape_dev_bounds()
/external/skia/src/gpu/ops/
DGrDefaultPathRenderer.cpp337 bool isHairline, GrAAType aaType, const SkRect& devBounds, in Make() argument
340 viewMatrix, isHairline, aaType, devBounds, in Make()
359 GrAAType aaType, const SkRect& devBounds, in DefaultPathOp() argument
369 this->setBounds(devBounds, HasAABloat::kNo, in DefaultPathOp()
565 SkRect devBounds; in internalDrawPath() local
567 &devBounds); in internalDrawPath()
575 bounds = devBounds; in internalDrawPath()
602 viewMatrix, isHairline, aaType, devBounds, passes[p]); in internalDrawPath()
DGrMSAAPathRenderer.cpp226 const SkMatrix& viewMatrix, const SkRect& devBounds, in Make() argument
240 devBounds, maxLineVertices, maxQuadVertices, in Make()
258 GrAAType aaType, const SkMatrix& viewMatrix, const SkRect& devBounds, in MSAAPathOp() argument
268 this->setBounds(devBounds, HasAABloat::kNo, IsZeroArea::kNo); in MSAAPathOp()
633 SkRect devBounds; in internalDrawPath() local
635 &devBounds); in internalDrawPath()
647 viewMatrix, devBounds, passes[0]); in internalDrawPath()
659 bounds = devBounds; in internalDrawPath()
DGrTessellatingPathRenderer.cpp201 SkRect devBounds; in TessellatingPathOp() local
202 viewMatrix.mapRect(&devBounds, shape.bounds()); in TessellatingPathOp()
206 devBounds.join(SkRect::Make(fDevClipBounds)); in TessellatingPathOp()
208 this->setBounds(devBounds, HasAABloat::kNo, IsZeroArea::kNo); in TessellatingPathOp()
DGrAAHairLinePathRenderer.cpp703 bool check_bounds(const SkMatrix& viewMatrix, const SkRect& devBounds, void* vertices, int vCount) in check_bounds() argument
705 SkRect tolDevBounds = devBounds; in check_bounds()
DGrOvalOpFactory.cpp674 SkRect devBounds = SkRect::MakeLTRB(center.fX - outerRadius, center.fY - outerRadius, in CircleOp() local
720 devBounds, in CircleOp()
732 devBounds, in CircleOp()
755 devBounds, in CircleOp()
769 devBounds, in CircleOp()
/external/skia/src/gpu/instanced/
DInstanceProcessor.h47 static IndexRange GetIndexRangeForOval(GrAAType, const SkRect& devBounds);
DInstanceProcessor.cpp2042 IndexRange InstanceProcessor::GetIndexRangeForOval(GrAAType aaType, const SkRect& devBounds) { in GetIndexRangeForOval() argument
2043 if (GrAAType::kCoverage == aaType && devBounds.height() * devBounds.width() >= 256 * 256) { in GetIndexRangeForOval()
/external/skia/src/utils/
DSkShadowUtils.cpp599 SkRect devBounds; in drawShadow() local
600 viewMatrix.mapRect(&devBounds, path.getBounds()); in drawShadow()
602 SkTAbs(factory.fOffset.fX) > 0.5f*devBounds.width() || in drawShadow()
603 SkTAbs(factory.fOffset.fY) > 0.5f*devBounds.height()) { in drawShadow()