Searched refs:devBounds (Results 1 - 18 of 18) sorted by relevance

/external/skia/bench/
H A DSKPAnimationBench.cpp55 virtual void preConcatFrameMatrix(double animationTimeMs, const SkIRect& devBounds, argument
61 SkPoint center = SkPoint::Make((devBounds.fLeft + devBounds.fRight) / 2.0f,
62 (devBounds.fTop + devBounds.fBottom) / 2.0f);
H A DSKPAnimationBench.h23 virtual void preConcatFrameMatrix(double animationTimeMs, const SkIRect& devBounds,
/external/skia/src/core/
H A DSkRasterClip.cpp63 void SkConservativeClip::op(const SkRect& localRect, const SkMatrix& ctm, const SkIRect& devBounds, argument
70 ir = devBounds;
81 void SkConservativeClip::op(const SkRRect& rrect, const SkMatrix& ctm, const SkIRect& devBounds, argument
83 this->op(rrect.getBounds(), ctm, devBounds, op, doAA);
86 void SkConservativeClip::op(const SkPath& path, const SkMatrix& ctm, const SkIRect& devBounds, argument
93 ir = devBounds;
243 bool SkRasterClip::op(const SkRRect& rrect, const SkMatrix& matrix, const SkIRect& devBounds, argument
245 SkIRect bounds(devBounds);
254 bool SkRasterClip::op(const SkPath& path, const SkMatrix& matrix, const SkIRect& devBounds, argument
257 SkIRect bounds(devBounds);
362 op(const SkRect& localRect, const SkMatrix& matrix, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument
[all...]
H A DSkRecordDraw.cpp256 void updateClipBounds(const ClipPath& op) { this->updateClipBoundsForClipOp(op.devBounds); }
257 void updateClipBounds(const ClipRRect& op) { this->updateClipBoundsForClipOp(op.devBounds); }
258 void updateClipBounds(const ClipRect& op) { this->updateClipBoundsForClipOp(op.devBounds); }
259 void updateClipBounds(const ClipRegion& op) { this->updateClipBoundsForClipOp(op.devBounds); }
262 void updateClipBoundsForClipOp(const SkIRect& devBounds) { argument
263 Bounds clip = SkRect::Make(devBounds);
273 // Restore holds the devBounds for the clip after the {save,saveLayer}/restore block completes.
277 // devBounds reflect the state of the world after the saveLayer/restore block is done,
280 Bounds clip = SkRect::Make(op.devBounds);
H A DSkClipStack.cpp878 SkRect* devBounds,
880 SkASSERT(devBounds);
882 devBounds->setLTRB(0, 0,
897 if (!devBounds->intersect(temp)) {
898 devBounds->setEmpty();
874 getConservativeBounds(int offsetX, int offsetY, int maxWidth, int maxHeight, SkRect* devBounds, bool* isIntersectionOfRects) const argument
H A DSkClipStack.h534 * 'devBounds' is the result of an intersection of rects. In this case
535 * 'devBounds' is the exact answer/clip.
541 SkRect* devBounds,
H A DSkDraw.cpp106 SkIRect devBounds = fRC->getBounds(); local
108 devBounds.outset(1, 1);
109 inverse.mapRect(localBounds, SkRect::Make(devBounds));
1198 SkIRect devBounds; local
1199 devBounds.set(0, 0, fDst.width(), fDst.height());
1201 if (!mask.fBounds.intersect(devBounds)) {
/external/skia/src/gpu/instanced/
H A DInstanceProcessor.h47 static IndexRange GetIndexRangeForOval(GrAAType, const SkRect& devBounds);
H A DInstanceProcessor.cpp2043 IndexRange InstanceProcessor::GetIndexRangeForOval(GrAAType aaType, const SkRect& devBounds) { argument
2044 if (GrAAType::kCoverage == aaType && devBounds.height() * devBounds.width() >= 256 * 256) {
/external/skia/src/gpu/
H A DGrClipStackClip.cpp68 SkRect devBounds; local
69 fStack->getConservativeBounds(0, 0, width, height, &devBounds, isIntersectionOfRects);
70 devBounds.roundOut(devResult);
253 SkRect devBounds = SkRect::MakeIWH(renderTargetContext->width(), renderTargetContext->height()); local
254 if (!devBounds.intersect(*bounds)) {
262 const GrReducedClip reducedClip(*fStack, devBounds,
265 if (reducedClip.hasIBounds() && !GrClip::IsInsideClip(reducedClip.ibounds(), devBounds)) {
306 get_analytic_clip_processor(reducedClip.elements(), disallowAnalyticAA, devBounds,
H A DGrSoftwarePathRenderer.cpp27 SkIRect* devBounds) {
42 shapeDevBounds.roundOut(devBounds);
26 get_unclipped_shape_dev_bounds(const GrShape& shape, const SkMatrix& matrix, SkIRect* devBounds) argument
/external/skia/include/private/
H A DSkRecords.h175 SkIRect devBounds;
209 SkIRect devBounds;
213 SkIRect devBounds;
217 SkIRect devBounds;
221 SkIRect devBounds;
/external/skia/src/gpu/ops/
H A DGrDefaultPathRenderer.cpp103 bool isHairline, const SkRect& devBounds) {
105 viewMatrix, isHairline, devBounds));
123 const SkMatrix& viewMatrix, bool isHairline, const SkRect& devBounds)
131 this->setBounds(devBounds, HasAABloat::kNo,
526 SkRect devBounds; local
528 &devBounds);
536 bounds = devBounds;
562 viewMatrix, isHairline, devBounds);
101 Make(GrColor color, const SkPath& path, SkScalar tolerance, uint8_t coverage, const SkMatrix& viewMatrix, bool isHairline, const SkRect& devBounds) argument
122 DefaultPathOp(GrColor color, const SkPath& path, SkScalar tolerance, uint8_t coverage, const SkMatrix& viewMatrix, bool isHairline, const SkRect& devBounds) argument
H A DGrTessellatingPathRenderer.cpp333 SkRect devBounds; local
334 viewMatrix.mapRect(&devBounds, shape.bounds());
338 devBounds.join(SkRect::Make(fDevClipBounds));
340 this->setBounds(devBounds, HasAABloat::kNo, IsZeroArea::kNo);
H A DGrMSAAPathRenderer.cpp222 const SkMatrix& viewMatrix, const SkRect& devBounds) {
234 color, path, viewMatrix, devBounds, maxLineVertices, maxQuadVertices, isIndexed));
252 const SkRect& devBounds, int maxLineVertices, int maxQuadVertices, bool isIndexed)
259 this->setBounds(devBounds, HasAABloat::kNo, IsZeroArea::kNo);
618 SkRect devBounds; local
620 &devBounds);
625 MSAAPathOp::Make(paint.getColor(), path, viewMatrix, devBounds);
646 bounds = devBounds;
221 Make(GrColor color, const SkPath& path, const SkMatrix& viewMatrix, const SkRect& devBounds) argument
251 MSAAPathOp(GrColor color, const SkPath& path, const SkMatrix& viewMatrix, const SkRect& devBounds, int maxLineVertices, int maxQuadVertices, bool isIndexed) argument
H A DGrAAHairLinePathRenderer.cpp635 bool check_bounds(const SkMatrix& viewMatrix, const SkRect& devBounds, void* vertices, int vCount) argument
637 SkRect tolDevBounds = devBounds;
H A DGrShadowRRectOp.cpp108 SkRect devBounds = SkRect::MakeLTRB(center.fX - outerRadius, center.fY - outerRadius, local
112 Circle{color, outerRadius, innerRadius, blurRadius, devBounds, stroked});
H A DGrOvalOpFactory.cpp687 SkRect devBounds = SkRect::MakeLTRB(center.fX - outerRadius, center.fY - outerRadius, local
721 devBounds,
733 devBounds,
756 devBounds,
770 devBounds,

Completed in 274 milliseconds