Home
last modified time | relevance | path

Searched refs:devBounds (Results 1 – 18 of 18) 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 …]
DSkRecordDraw.cpp256 void updateClipBounds(const ClipPath& op) { this->updateClipBoundsForClipOp(op.devBounds); } in updateClipBounds()
257 void updateClipBounds(const ClipRRect& op) { this->updateClipBoundsForClipOp(op.devBounds); } in updateClipBounds()
258 void updateClipBounds(const ClipRect& op) { this->updateClipBoundsForClipOp(op.devBounds); } in updateClipBounds()
259 void updateClipBounds(const ClipRegion& op) { this->updateClipBoundsForClipOp(op.devBounds); } in updateClipBounds()
262 void updateClipBoundsForClipOp(const SkIRect& devBounds) { in updateClipBoundsForClipOp() argument
263 Bounds clip = SkRect::Make(devBounds); in updateClipBoundsForClipOp()
280 Bounds clip = SkRect::Make(op.devBounds); in updateClipBounds()
DSkClipStack.cpp878 SkRect* devBounds, in getConservativeBounds() argument
880 SkASSERT(devBounds); in getConservativeBounds()
882 devBounds->setLTRB(0, 0, in getConservativeBounds()
897 if (!devBounds->intersect(temp)) { in getConservativeBounds()
898 devBounds->setEmpty(); in getConservativeBounds()
DSkDraw.cpp106 SkIRect devBounds = fRC->getBounds(); in computeConservativeLocalClipBounds() local
108 devBounds.outset(1, 1); in computeConservativeLocalClipBounds()
109 inverse.mapRect(localBounds, SkRect::Make(devBounds)); in computeConservativeLocalClipBounds()
1198 SkIRect devBounds; in drawBitmapAsMask() local
1199 devBounds.set(0, 0, fDst.width(), fDst.height()); in drawBitmapAsMask()
1201 if (!mask.fBounds.intersect(devBounds)) { in drawBitmapAsMask()
DSkClipStack.h541 SkRect* devBounds,
/external/skia/src/gpu/
DGrClipStackClip.cpp68 SkRect devBounds; in getConservativeBounds() local
69 fStack->getConservativeBounds(0, 0, width, height, &devBounds, isIntersectionOfRects); in getConservativeBounds()
70 devBounds.roundOut(devResult); in getConservativeBounds()
253 SkRect devBounds = SkRect::MakeIWH(renderTargetContext->width(), renderTargetContext->height()); in apply() local
254 if (!devBounds.intersect(*bounds)) { in apply()
262 const GrReducedClip reducedClip(*fStack, devBounds, in apply()
265 if (reducedClip.hasIBounds() && !GrClip::IsInsideClip(reducedClip.ibounds(), devBounds)) { in apply()
306 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.cpp103 bool isHairline, const SkRect& devBounds) { in Make() argument
105 viewMatrix, isHairline, devBounds)); in Make()
123 const SkMatrix& viewMatrix, bool isHairline, const SkRect& devBounds) in DefaultPathOp() argument
131 this->setBounds(devBounds, HasAABloat::kNo, in DefaultPathOp()
526 SkRect devBounds; in internalDrawPath() local
528 &devBounds); in internalDrawPath()
536 bounds = devBounds; in internalDrawPath()
562 viewMatrix, isHairline, devBounds); in internalDrawPath()
DGrMSAAPathRenderer.cpp222 const SkMatrix& viewMatrix, const SkRect& devBounds) { in Make() argument
234 color, path, viewMatrix, devBounds, maxLineVertices, maxQuadVertices, isIndexed)); in Make()
252 const SkRect& devBounds, int maxLineVertices, int maxQuadVertices, bool isIndexed) in MSAAPathOp() argument
259 this->setBounds(devBounds, HasAABloat::kNo, IsZeroArea::kNo); in MSAAPathOp()
618 SkRect devBounds; in internalDrawPath() local
620 &devBounds); in internalDrawPath()
625 MSAAPathOp::Make(paint.getColor(), path, viewMatrix, devBounds); in internalDrawPath()
646 bounds = devBounds; in internalDrawPath()
DGrTessellatingPathRenderer.cpp333 SkRect devBounds; in TessellatingPathOp() local
334 viewMatrix.mapRect(&devBounds, shape.bounds()); in TessellatingPathOp()
338 devBounds.join(SkRect::Make(fDevClipBounds)); in TessellatingPathOp()
340 this->setBounds(devBounds, HasAABloat::kNo, IsZeroArea::kNo); in TessellatingPathOp()
DGrAAHairLinePathRenderer.cpp635 bool check_bounds(const SkMatrix& viewMatrix, const SkRect& devBounds, void* vertices, int vCount) in check_bounds() argument
637 SkRect tolDevBounds = devBounds; in check_bounds()
DGrOvalOpFactory.cpp687 SkRect devBounds = SkRect::MakeLTRB(center.fX - outerRadius, center.fY - outerRadius, in Make() local
721 devBounds, in Make()
733 devBounds, in Make()
756 devBounds, in Make()
770 devBounds, in Make()
DGrShadowRRectOp.cpp108 SkRect devBounds = SkRect::MakeLTRB(center.fX - outerRadius, center.fY - outerRadius, in Make() local
112 Circle{color, outerRadius, innerRadius, blurRadius, devBounds, stroked}); in Make()
/external/skia/include/private/
DSkRecords.h175 SkIRect devBounds;
209 SkIRect devBounds;
213 SkIRect devBounds;
217 SkIRect devBounds;
221 SkIRect devBounds;
/external/skia/src/gpu/instanced/
DInstanceProcessor.h47 static IndexRange GetIndexRangeForOval(GrAAType, const SkRect& devBounds);
DInstanceProcessor.cpp2043 IndexRange InstanceProcessor::GetIndexRangeForOval(GrAAType aaType, const SkRect& devBounds) { in GetIndexRangeForOval() argument
2044 if (GrAAType::kCoverage == aaType && devBounds.height() * devBounds.width() >= 256 * 256) { in GetIndexRangeForOval()