Home
last modified time | relevance | path

Searched refs:fShapes (Results 1 – 13 of 13) sorted by relevance

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/gm/
H A Dshapes.cpp43 fShapes.push_back().setOval(SkRect::MakeXYWH(-5, 25, 200, 100)); in onOnceBeforeDraw()
46 fShapes.push_back().setRect(SkRect::MakeXYWH(95, 75, 125, 100)); in onOnceBeforeDraw()
52 fShapes.push_back().setRectXY(SkRect::MakeXYWH(15, -20, 100, 100), 20, 15); in onOnceBeforeDraw()
55 fSimpleShapeCount = fShapes.count(); in onOnceBeforeDraw()
71 fShapes.push_back().setRectRadii(SkRect::MakeXYWH(180, -30, 80, 60), radii2); in onOnceBeforeDraw()
92 SkTArray<SkRRect> fShapes; member in skiagm::ShapesGM
107 for (int i = 0; i < fShapes.count(); i++) { in drawShapes()
111 const SkRRect& shape = fShapes[i]; in drawShapes()
139 for (int i = 0; i < fShapes.count(); i++) { in drawShapes()
140 const SkRRect& outer = fShapes[i]; in drawShapes()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/gm/
H A Dshapes.cpp43 fShapes.push_back().setOval(SkRect::MakeXYWH(-5, 25, 200, 100)); in onOnceBeforeDraw()
46 fShapes.push_back().setRect(SkRect::MakeXYWH(95, 75, 125, 100)); in onOnceBeforeDraw()
52 fShapes.push_back().setRectXY(SkRect::MakeXYWH(15, -20, 100, 100), 20, 15); in onOnceBeforeDraw()
55 fSimpleShapeCount = fShapes.count(); in onOnceBeforeDraw()
71 fShapes.push_back().setRectRadii(SkRect::MakeXYWH(180, -30, 80, 60), radii2); in onOnceBeforeDraw()
92 SkTArray<SkRRect> fShapes; member in skiagm::ShapesGM
107 for (int i = 0; i < fShapes.count(); i++) { in drawShapes()
111 const SkRRect& shape = fShapes[i]; in drawShapes()
139 for (int i = 0; i < fShapes.count(); i++) { in drawShapes()
140 const SkRRect& outer = fShapes[i]; in drawShapes()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/bench/
H A DShapesBench.cpp151 fShapes.push_back_n(fNumShapes); in onDelayedSetup()
155 fShapes[i].fMatrix.setTranslate(0.5f * pad + rand.nextF() * (kBenchWidth - pad), in onDelayedSetup()
157 fShapes[i].fMatrix.preRotate(rand.nextF() * 360.0f); in onDelayedSetup()
159 fShapes[i].fMatrix.setPerspX(0.00015f); in onDelayedSetup()
160 fShapes[i].fMatrix.setPerspY(-0.00015f); in onDelayedSetup()
162 fShapes[i].fColor = rand.nextU() | 0xff808080; in onDelayedSetup()
202 fShapes[i].fDraw = std::bind(&SkCanvas::drawDRRect, std::placeholders::_1, in onDelayedSetup()
215 canvas->setMatrix(fShapes[i].fMatrix); in onDraw()
216 paint.setColor(fShapes[i].fColor); in onDraw()
217 fShapes[i].fDraw(canvas, paint); in onDraw()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/bench/
H A DShapesBench.cpp151 fShapes.push_back_n(fNumShapes); in onDelayedSetup()
155 fShapes[i].fMatrix.setTranslate(0.5f * pad + rand.nextF() * (kBenchWidth - pad), in onDelayedSetup()
157 fShapes[i].fMatrix.preRotate(rand.nextF() * 360.0f); in onDelayedSetup()
159 fShapes[i].fMatrix.setPerspX(0.00015f); in onDelayedSetup()
160 fShapes[i].fMatrix.setPerspY(-0.00015f); in onDelayedSetup()
162 fShapes[i].fColor = rand.nextU() | 0xff808080; in onDelayedSetup()
202 fShapes[i].fDraw = std::bind(&SkCanvas::drawDRRect, std::placeholders::_1, in onDelayedSetup()
215 canvas->setMatrix(fShapes[i].fMatrix); in onDraw()
216 paint.setColor(fShapes[i].fColor); in onDraw()
217 fShapes[i].fDraw(canvas, paint); in onDraw()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/samplecode/
H A DSampleThinAA.cpp254 fShapes.push_back(RectRenderer::Make()); in onOnceBeforeDraw()
255 fShapes.push_back(PathRenderer::MakeLine()); in onOnceBeforeDraw()
256 fShapes.push_back(PathRenderer::MakeLines(4.f)); // 2 segments in onOnceBeforeDraw()
257 fShapes.push_back(PathRenderer::MakeCurve(2.f)); // Shallow curve in onOnceBeforeDraw()
258 fShapes.push_back(PathRenderer::MakeCurve(8.f)); // Deep curve in onOnceBeforeDraw()
260 for (int i = 0; i < fShapes.count(); ++i) { in onOnceBeforeDraw()
261 fNative.push_back(OffscreenShapeRenderer::Make(fShapes[i], 1)); in onOnceBeforeDraw()
262 fRaster.push_back(OffscreenShapeRenderer::Make(fShapes[i], 1, /* raster */ true)); in onOnceBeforeDraw()
263 fSS4.push_back(OffscreenShapeRenderer::Make(fShapes[i], 4)); // 4x4 -> 16 samples in onOnceBeforeDraw()
264 fSS16.push_back(OffscreenShapeRenderer::Make(fShapes[i], 8)); // 8x8 -> 64 samples in onOnceBeforeDraw()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/samplecode/
H A DSampleThinAA.cpp252 fShapes.push_back(RectRenderer::Make()); in onOnceBeforeDraw()
253 fShapes.push_back(PathRenderer::MakeLine()); in onOnceBeforeDraw()
254 fShapes.push_back(PathRenderer::MakeLines(4.f)); // 2 segments in onOnceBeforeDraw()
255 fShapes.push_back(PathRenderer::MakeCurve(2.f)); // Shallow curve in onOnceBeforeDraw()
256 fShapes.push_back(PathRenderer::MakeCurve(8.f)); // Deep curve in onOnceBeforeDraw()
258 for (int i = 0; i < fShapes.count(); ++i) { in onOnceBeforeDraw()
259 fNative.push_back(OffscreenShapeRenderer::Make(fShapes[i], 1)); in onOnceBeforeDraw()
260 fRaster.push_back(OffscreenShapeRenderer::Make(fShapes[i], 1, /* raster */ true)); in onOnceBeforeDraw()
261 fSS4.push_back(OffscreenShapeRenderer::Make(fShapes[i], 4)); // 4x4 -> 16 samples in onOnceBeforeDraw()
262 fSS16.push_back(OffscreenShapeRenderer::Make(fShapes[i], 8)); // 8x8 -> 64 samples in onOnceBeforeDraw()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/ops/
H A DGrSmallPathRenderer.cpp128 fShapes.emplace_back(Entry{color, shape, viewMatrix}); in SmallPathOp()
146 GrProcessorAnalysisCoverage::kSingleChannel, &fShapes.front().fColor, &fWideColor); in finalize()
184 int instanceCount = fShapes.count(); in onPrepareDraws()
207 const SkMatrix& ctm = fShapes[0].fViewMatrix; in onPrepareDraws()
265 const Entry& args = fShapes[i]; in onPrepareDraws()
621 const SkPMColor4f& color() const { return fShapes[0].fColor; } in color()
634 const SkMatrix& thisCtm = this->fShapes[0].fViewMatrix; in onCombineIfPossible()
635 const SkMatrix& thatCtm = that->fShapes[0].fViewMatrix; in onCombineIfPossible()
656 fShapes.push_back_n(that->fShapes.count(), that->fShapes.begin()); in onCombineIfPossible()
664 for (const auto& geo : fShapes) { in onDumpInfo()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/gpu/ops/
H A DGrSmallPathRenderer.cpp169 fShapes.emplace_back(Entry{color, shape, viewMatrix}); in SmallPathOp()
192 for (const auto& geo : fShapes) { in dumpInfo()
206 &fShapes.front().fColor); in finalize()
220 int instanceCount = fShapes.count(); in onPrepareDraws()
230 const SkMatrix& ctm = fShapes[0].fViewMatrix; in onPrepareDraws()
293 const Entry& args = fShapes[i]; in onPrepareDraws()
736 GrColor color() const { return fShapes[0].fColor; } in color()
749 const SkMatrix& thisCtm = this->fShapes[0].fViewMatrix; in onCombineIfPossible()
750 const SkMatrix& thatCtm = that->fShapes[0].fViewMatrix; in onCombineIfPossible()
771 fShapes.push_back_n(that->fShapes.count(), that->fShapes.begin()); in onCombineIfPossible()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/ops/
H A DGrSmallPathRenderer.cpp266 fShapes.emplace_back(Entry{color, shape, viewMatrix}); in SmallPathOp()
289 for (const auto& geo : fShapes) { in dumpInfo()
305 GrProcessorAnalysisCoverage::kSingleChannel, &fShapes.front().fColor, &fWideColor); in finalize()
319 int instanceCount = fShapes.count(); in onPrepareDraws()
336 const SkMatrix& ctm = fShapes[0].fViewMatrix; in onPrepareDraws()
393 const Entry& args = fShapes[i]; in onPrepareDraws()
816 const SkPMColor4f& color() const { return fShapes[0].fColor; } in color()
829 const SkMatrix& thisCtm = this->fShapes[0].fViewMatrix; in onCombineIfPossible()
830 const SkMatrix& thatCtm = that->fShapes[0].fViewMatrix; in onCombineIfPossible()
851 fShapes.push_back_n(that->fShapes.count(), that->fShapes.begin()); in onCombineIfPossible()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/ops/
H A DGrSmallPathRenderer.cpp262 fShapes.emplace_back(Entry{color, shape, viewMatrix}); in SmallPathOp()
285 for (const auto& geo : fShapes) { in dumpInfo()
301 GrProcessorAnalysisCoverage::kSingleChannel, &fShapes.front().fColor, &fWideColor); in finalize()
335 int instanceCount = fShapes.count(); in onPrepareDraws()
352 const SkMatrix& ctm = fShapes[0].fViewMatrix; in onPrepareDraws()
410 const Entry& args = fShapes[i]; in onPrepareDraws()
842 const SkPMColor4f& color() const { return fShapes[0].fColor; } in color()
856 const SkMatrix& thisCtm = this->fShapes[0].fViewMatrix; in onCombineIfPossible()
857 const SkMatrix& thatCtm = that->fShapes[0].fViewMatrix; in onCombineIfPossible()
878 fShapes.push_back_n(that->fShapes.count(), that->fShapes.begin()); in onCombineIfPossible()
[all …]
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/ops/
H A DGrSmallPathRenderer.cpp266 fShapes.emplace_back(Entry{color, shape, viewMatrix}); in SmallPathOp()
289 for (const auto& geo : fShapes) { in dumpInfo()
305 GrProcessorAnalysisCoverage::kSingleChannel, &fShapes.front().fColor, &fWideColor); in finalize()
319 int instanceCount = fShapes.count(); in onPrepareDraws()
336 const SkMatrix& ctm = fShapes[0].fViewMatrix; in onPrepareDraws()
393 const Entry& args = fShapes[i]; in onPrepareDraws()
816 const SkPMColor4f& color() const { return fShapes[0].fColor; } in color()
829 const SkMatrix& thisCtm = this->fShapes[0].fViewMatrix; in onCombineIfPossible()
830 const SkMatrix& thatCtm = that->fShapes[0].fViewMatrix; in onCombineIfPossible()
851 fShapes.push_back_n(that->fShapes.count(), that->fShapes.begin()); in onCombineIfPossible()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/gpu/ops/
H A DGrSmallPathRenderer.cpp266 fShapes.emplace_back(Entry{color, shape, viewMatrix}); in SmallPathOp()
289 for (const auto& geo : fShapes) { in dumpInfo()
305 GrProcessorAnalysisCoverage::kSingleChannel, &fShapes.front().fColor, &fWideColor); in finalize()
319 int instanceCount = fShapes.count(); in onPrepareDraws()
336 const SkMatrix& ctm = fShapes[0].fViewMatrix; in onPrepareDraws()
393 const Entry& args = fShapes[i]; in onPrepareDraws()
816 const SkPMColor4f& color() const { return fShapes[0].fColor; } in color()
829 const SkMatrix& thisCtm = this->fShapes[0].fViewMatrix; in onCombineIfPossible()
830 const SkMatrix& thatCtm = that->fShapes[0].fViewMatrix; in onCombineIfPossible()
851 fShapes.push_back_n(that->fShapes.count(), that->fShapes.begin()); in onCombineIfPossible()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/gpu/ops/
H A DGrSmallPathRenderer.cpp266 fShapes.emplace_back(Entry{color, shape, viewMatrix}); in SmallPathOp()
289 for (const auto& geo : fShapes) { in dumpInfo()
305 GrProcessorAnalysisCoverage::kSingleChannel, &fShapes.front().fColor, &fWideColor); in finalize()
319 int instanceCount = fShapes.count(); in onPrepareDraws()
336 const SkMatrix& ctm = fShapes[0].fViewMatrix; in onPrepareDraws()
393 const Entry& args = fShapes[i]; in onPrepareDraws()
816 const SkPMColor4f& color() const { return fShapes[0].fColor; } in color()
829 const SkMatrix& thisCtm = this->fShapes[0].fViewMatrix; in onCombineIfPossible()
830 const SkMatrix& thatCtm = that->fShapes[0].fViewMatrix; in onCombineIfPossible()
851 fShapes.push_back_n(that->fShapes.count(), that->fShapes.begin()); in onCombineIfPossible()
[all …]