Lines Matching refs:rrect
49 void InstancedOp::appendRRectParams(const SkRRect& rrect) { in appendRRectParams() argument
51 switch (rrect.getType()) { in appendRRectParams()
53 const SkVector& radii = rrect.getSimpleRadii(); in appendRRectParams()
54 this->appendParamsTexel(radii.x(), radii.y(), rrect.width(), rrect.height()); in appendRRectParams()
58 float twoOverW = 2 / rrect.width(); in appendRRectParams()
59 float twoOverH = 2 / rrect.height(); in appendRRectParams()
60 const SkVector& radiiTL = rrect.radii(SkRRect::kUpperLeft_Corner); in appendRRectParams()
61 const SkVector& radiiBR = rrect.radii(SkRRect::kLowerRight_Corner); in appendRRectParams()
80 float twoOverW = 2 / rrect.width(); in appendRRectParams()
81 float twoOverH = 2 / rrect.height(); in appendRRectParams()
82 const SkVector& radiiTL = rrect.radii(SkRRect::kUpperLeft_Corner); in appendRRectParams()
83 const SkVector& radiiTR = rrect.radii(SkRRect::kUpperRight_Corner); in appendRRectParams()
84 const SkVector& radiiBR = rrect.radii(SkRRect::kLowerRight_Corner); in appendRRectParams()
85 const SkVector& radiiBL = rrect.radii(SkRRect::kLowerLeft_Corner); in appendRRectParams()
304 std::unique_ptr<GrDrawOp> OpAllocator::recordRRect(const SkRRect& rrect, in recordRRect() argument
309 this->recordShape(GetRRectShapeType(rrect), rrect.rect(), viewMatrix, in recordRRect()
310 std::move(paint), rrect.rect(), aa, info)) { in recordRRect()
311 op->appendRRectParams(rrect); in recordRRect()