Home
last modified time | relevance | path

Searched refs:isRRect (Results 1 – 25 of 49) sorted by relevance

12

/external/skia/include/private/
DSkPathRef.h158 void setIsRRect(bool isRRect, bool isCCW, unsigned start) { in setIsRRect() argument
159 fPathRef->setIsRRect(isRRect, isCCW, start); in setIsRRect()
249 bool isRRect(SkRRect* rrect, bool* isCCW, unsigned* start) const { in isRRect() function
479 void setIsRRect(bool isRRect, bool isCCW, unsigned start) { in setIsRRect() argument
480 fIsRRect = isRRect; in setIsRRect()
/external/skia/src/gpu/geometry/
DGrShape.h86 bool isRRect() const { return this->type() == Type::kRRect; } in isRRect() function
112 SkASSERT((this->isRect() && start < 4) || (this->isRRect() && start < 8) || in setPathWindingParams()
136 SkRRect& rrect() { SkASSERT(this->isRRect()); return fRRect; } in rrect()
137 const SkRRect& rrect() const { SkASSERT(this->isRRect()); return fRRect; } in rrect()
DGrStyledShape.h149 SkASSERT(!fShape.isRRect() || !fShape.rrect().isRect()); in isRect()
/external/skqp/src/gpu/
DGrStencilClip.h39 bool isRRect(const SkRect& rtBounds, SkRRect* rr, GrAA* aa) const override { in isRRect() function
40 return !this->hasStencilClip() && fFixedClip.isRRect(rtBounds, rr, aa); in isRRect()
DGrClip.h56 virtual bool isRRect(const SkRect& rtBounds, SkRRect* rrect, GrAA* aa) const = 0;
171 bool isRRect(const SkRect&, SkRRect*, GrAA*) const override { return false; } in isRRect() function
DGrFixedClip.h47 bool isRRect(const SkRect& rtBounds, SkRRect* rr, GrAA*) const override;
DGrClipStackClip.h34 bool isRRect(const SkRect& rtBounds, SkRRect* rr, GrAA* aa) const override;
DGrFixedClip.cpp32 bool GrFixedClip::isRRect(const SkRect& rtBounds, SkRRect* rr, GrAA* aa) const { in isRRect() function in GrFixedClip
DGrRenderTargetContext.cpp459 if (clip.isRRect(r, &rrect, &aa)) { in drawPaint()
577 if (!clip.isRRect(rtRect, &clipRRect, &clipAA) || !clipRRect.isRect()) { in drawFilledRectAsClear()
1173 bool isRRect = path.isRRect(&rrect) && SkRRectPriv::IsSimpleCircular(rrect) && in drawFastShadow() local
1175 if (!isRRect && in drawFastShadow()
1179 isRRect = true; in drawFastShadow()
1181 if (!isRRect && path.isRect(&rect)) { in drawFastShadow()
1183 isRRect = true; in drawFastShadow()
1186 if (!isRRect) { in drawFastShadow()
DGrClipStackClip.cpp51 bool GrClipStackClip::isRRect(const SkRect& origRTBounds, SkRRect* rr, GrAA* aa) const { in isRRect() function in GrClipStackClip
57 if (fStack->isRRect(*rtBounds, rr, &isAA)) { in isRRect()
/external/skqp/include/private/
DSkPathRef.h109 void setIsRRect(bool isRRect, bool isCCW, unsigned start) { in setIsRRect() argument
110 fPathRef->setIsRRect(isRRect, isCCW, start); in setIsRRect()
200 bool isRRect(SkRRect* rrect, bool* isCCW, unsigned* start) const { in isRRect() function
522 void setIsRRect(bool isRRect, bool isCCW, unsigned start) { in setIsRRect() argument
523 fIsRRect = isRRect; in setIsRRect()
/external/skia/tests/
DPathBuilderTest.cpp157 bool is_a = a.isRRect(&rra); in is_eq()
158 bool is_b = b.isRRect(&rrb); in is_eq()
225 REPORTER_ASSERT(reporter, !bp.isRRect(&tmp)); in DEF_TEST()
227 REPORTER_ASSERT(reporter, !bp.isRRect(&tmp)); in DEF_TEST()
/external/skia/docs/examples/
DPath_isRRect.cpp11 if (path.isRRect(&rrect)) { in draw()
/external/skia/src/core/
DSkPathRef.cpp85 static void transform_dir_and_start(const SkMatrix& matrix, bool isRRect, bool* isCCW, in transform_dir_and_start() argument
89 if (isRRect) { in transform_dir_and_start()
125 if (isRRect) { in transform_dir_and_start()
134 if (isRRect) { in transform_dir_and_start()
DSkPath_serial.cpp67 } else if (!fPathRef->isRRect(&rrect, &isCCW, &start)) { in writeToMemoryAsRRect()
DSkPathPriv.h263 bool result = path.fPathRef->isRRect(rrect, &isCCW, start); in IsRRect()
/external/skqp/src/core/
DSkPathRef.cpp119 static void transform_dir_and_start(const SkMatrix& matrix, bool isRRect, bool* isCCW, in transform_dir_and_start() argument
123 if (isRRect) { in transform_dir_and_start()
159 if (isRRect) { in transform_dir_and_start()
168 if (isRRect) { in transform_dir_and_start()
DSkPathPriv.h234 bool result = path.fPathRef->isRRect(rrect, &isCCW, start); in IsRRect()
DSkPath_serial.cpp64 } else if (!fPathRef->isRRect(&rrect, &isCCW, &start)) { in writeToMemoryAsRRect()
DSkClipStack.h379 bool isRRect(const SkRect& bounds, SkRRect* rrect, bool* aa) const;
/external/skia/src/gpu/
DGrClipStack.cpp218 } else if (e.fShape.isRRect()) { in analytic_clip_fp()
506 if (fShape.isRRect() && e.fShape.isRRect()) { in contains()
577 } else if (fShape.isRRect()) { in simplify()
643 } else if ((fShape.isRect() || fShape.isRRect()) && in combine()
644 (other.fShape.isRect() || other.fShape.isRRect())) { in combine()
DGrSWMaskHelper.cpp115 } else if (shape.isRRect()) { in drawShape()
DGrSurfaceDrawContext.cpp1143 bool isRRect = path.isRRect(&rrect) && SkRRectPriv::IsNearlySimpleCircular(rrect) && in drawFastShadow() local
1145 if (!isRRect && in drawFastShadow()
1149 isRRect = true; in drawFastShadow()
1151 if (!isRRect && path.isRect(&rect)) { in drawFastShadow()
1153 isRRect = true; in drawFastShadow()
1156 if (!isRRect) { in drawFastShadow()
/external/skqp/gm/
Dwindowrectangles.cpp137 bool isRRect(const SkRect& rtBounds, SkRRect* rr, GrAA*) const final { return false; } in isRRect() function in skiagm::MaskOnlyClipBase
/external/skqp/src/utils/
DSkShadowUtils.cpp364 bool isRRect(SkRRect* rrect) { return fShapeForKey.asRRect(rrect, nullptr, nullptr, nullptr); } in isRRect() function in __anonafcf09e30111::ShadowedPath
368 bool isRRect(SkRRect* rrect) { return false; } in isRRect() function in __anonafcf09e30111::ShadowedPath

12