Home
last modified time | relevance | path

Searched refs:fRRects (Results 1 – 8 of 8) sorted by relevance

/third_party/flutter/skia/gm/
Drrects.cpp111 SkASSERT(kMaxTileBound.contains(fRRects[curRRect].getBounds())); in onDraw()
112 SkRect imageSpaceBounds = fRRects[curRRect].getBounds(); in onDraw()
119 SkRRect rrect = fRRects[curRRect]; in onDraw()
141 canvas->clipRRect(fRRects[curRRect], aaClip); in onDraw()
144 canvas->drawRRect(fRRects[curRRect], paint); in onDraw()
167 fRRects[0].setRect(SkRect::MakeWH(kTileX-2, kTileY-2)); in setUpRRects()
168 fRRects[1].setOval(SkRect::MakeWH(kTileX-2, kTileY-2)); in setUpRRects()
169 fRRects[2].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 10); in setUpRRects()
170 fRRects[3].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 5); in setUpRRects()
172 fRRects[4].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 1, 1); in setUpRRects()
[all …]
Dcomplexclip2.cpp69 fRRects[0].setRectXY(fRects[0], 7, 7); in onOnceBeforeDraw()
74 fRRects[1].setRectXY(fRects[1], 7, 7); in onOnceBeforeDraw()
79 fRRects[2].setRectXY(fRects[2], 7, 7); in onOnceBeforeDraw()
84 fRRects[3].setRectXY(fRects[3], 7, 7); in onOnceBeforeDraw()
89 fRRects[4].setRectXY(fRects[4], 7, 7); in onOnceBeforeDraw()
171 canvas->drawRRect(fRRects[k], rectPaint); in onDraw()
187 canvas->clipRRect(fRRects[k], in onDraw()
207 SkRRect fRRects[5]; member in skiagm::ComplexClip2GM
/third_party/skia/gm/
Drrects.cpp116 SkRect imageSpaceBounds = fRRects[curRRect].getBounds(); in onDraw()
123 SkRRect rrect = fRRects[curRRect]; in onDraw()
145 canvas->clipRRect(fRRects[curRRect], aaClip); in onDraw()
149 canvas->drawRRect(fRRects[curRRect], paint); in onDraw()
172 fRRects[0].setRect(SkRect::MakeWH(kTileX-2, kTileY-2)); in setUpRRects()
173 fRRects[1].setOval(SkRect::MakeWH(kTileX-2, kTileY-2)); in setUpRRects()
174 fRRects[2].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 10); in setUpRRects()
175 fRRects[3].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 5); in setUpRRects()
177 fRRects[4].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 1, 1); in setUpRRects()
178 fRRects[5].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.5f, 0.5f); in setUpRRects()
[all …]
Dcomplexclip2.cpp68 fRRects[0].setRectXY(fRects[0], 7, 7); in onOnceBeforeDraw()
73 fRRects[1].setRectXY(fRects[1], 7, 7); in onOnceBeforeDraw()
78 fRRects[2].setRectXY(fRects[2], 7, 7); in onOnceBeforeDraw()
83 fRRects[3].setRectXY(fRects[3], 7, 7); in onOnceBeforeDraw()
88 fRRects[4].setRectXY(fRects[4], 7, 7); in onOnceBeforeDraw()
166 canvas->drawRRect(fRRects[k], rectPaint); in onDraw()
182 canvas->clipRRect(fRRects[k], in onDraw()
202 SkRRect fRRects[5]; member in skiagm::ComplexClip2GM
/third_party/flutter/skia/bench/
DShadowBench.cpp53 fRRects[i].addRRect(SkRRect::MakeRectXY(rect, kRRRadius, kRRRadius)); in genRRects()
86 canvas->private_draw_shadow_rec(fRRects[i % kNumRRects], fRec); in onDraw()
93 SkPath fRRects[kNumRRects]; member in ShadowBench
/third_party/skia/bench/
DShadowBench.cpp53 fRRects[i].addRRect(SkRRect::MakeRectXY(rect, kRRRadius, kRRRadius)); in genRRects()
86 canvas->private_draw_shadow_rec(fRRects[i % kNumRRects], fRec); in onDraw()
93 SkPath fRRects[kNumRRects]; member in ShadowBench
/third_party/skia/src/gpu/ops/
DGrOvalOpFactory.cpp2569 fRRects.emplace_back(RRect{color, innerRadius, outerRadius, bounds, type}); in CircularRRectOp()
2587 SkPMColor4f* color = &fRRects.front().fColor; in finalize()
2701 for (const auto& rrect : fRRects) { in onPrepareDraws()
2798 fRRects.push_back_n(that->fRRects.count(), that->fRRects.begin()); in onCombineIfPossible()
2809 for (int i = 0; i < fRRects.count(); ++i) { in onDumpInfo()
2813 fRRects[i].fColor.toBytes_RGBA(), fRRects[i].fDevBounds.fLeft, in onDumpInfo()
2814 fRRects[i].fDevBounds.fTop, fRRects[i].fDevBounds.fRight, in onDumpInfo()
2815 fRRects[i].fDevBounds.fBottom, fRRects[i].fInnerRadius, in onDumpInfo()
2816 fRRects[i].fOuterRadius); in onDumpInfo()
2837 SkSTArray<1, RRect, true> fRRects; member in CircularRRectOp
[all …]
/third_party/flutter/skia/src/gpu/ops/
DGrOvalOpFactory.cpp2388 fRRects.emplace_back(RRect{color, innerRadius, outerRadius, bounds, type}); in CircularRRectOp()
2403 for (int i = 0; i < fRRects.count(); ++i) { in dumpInfo()
2407 fRRects[i].fColor.toBytes_RGBA(), fRRects[i].fDevBounds.fLeft, in dumpInfo()
2408 fRRects[i].fDevBounds.fTop, fRRects[i].fDevBounds.fRight, in dumpInfo()
2409 fRRects[i].fDevBounds.fBottom, fRRects[i].fInnerRadius, in dumpInfo()
2410 fRRects[i].fOuterRadius); in dumpInfo()
2421 SkPMColor4f* color = &fRRects.front().fColor; in finalize()
2511 for (const auto& rrect : fRRects) { in onPrepareDraws()
2603 fRRects.push_back_n(that->fRRects.count(), that->fRRects.begin()); in onCombineIfPossible()
2625 SkSTArray<1, RRect, true> fRRects; member in CircularRRectOp
[all …]