Home
last modified time | relevance | path

Searched refs:kNumPaths (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/samplecode/
DSamplePathText.cpp24 constexpr static int kNumPaths = 1500; member in PathText
48 for (int i = 0; i < kNumPaths; ++i) { in onOnceBeforeDraw()
98 for (int i = 0; i < kNumPaths; ++i) { in draw()
117 Glyph fGlyphs[kNumPaths];
149 , fFrontMatrices(kNumPaths) in MovingGlyphAnimator()
150 , fBackMatrices(kNumPaths) { in MovingGlyphAnimator()
173 std::copy_n(fBackMatrices.get(), kNumPaths, fFrontMatrices.get()); in reset()
193 for (int idx = 0; idx < kNumPaths; ++idx) { in runAnimationTask()
230 for (int i = 0; i < kNumPaths; ++i) { in draw()
243 Velocity fVelocities[kNumPaths];
[all …]
/third_party/flutter/skia/samplecode/
DSamplePathText.cpp23 constexpr static int kNumPaths = 1500; member in PathText
46 for (int i = 0; i < kNumPaths; ++i) { in onOnceBeforeDraw()
103 Glyph fGlyphs[kNumPaths];
137 : fFrontMatrices(kNumPaths) in MovingPathText()
138 , fBackMatrices(kNumPaths) { in MovingPathText()
162 memcpy(fFrontMatrices, fBackMatrices, kNumPaths * sizeof(SkMatrix)); in reset()
182 for (int idx = 0; idx < kNumPaths; ++idx) { in runAnimationTask()
219 for (int i = 0; i < kNumPaths; ++i) { in drawGlyphs()
232 Velocity fVelocities[kNumPaths];
249 : fFrontPaths(kNumPaths) in WavyPathText()
[all …]
/third_party/flutter/skia/tests/
DGrCCPRTest.cpp652 static constexpr int kNumPaths = SK_ARRAY_COUNT(fPaths); in onRun() local
661 int endPathIdx = (int)rand.nextULessThan(kNumPaths); in onRun()
664 for (int j = 0; j < kNumPaths; ++j) { in onRun()
665 pathIdx = (pathIdx + prime) % kNumPaths; in onRun()
679 nextFlush = SkTMin(j + (int)rand.nextRangeU(1, 29), kNumPaths - 1); in onRun()
682 SkASSERT(endPathIdx == pathIdx % kNumPaths); in onRun()
/third_party/skia/gm/
Dconvex_all_line_paths.cpp327 for (int i = 0; i < kNumPaths; ++i) { in onDraw()
401 inline static constexpr int kNumPaths = 20; member in skiagm::ConvexLineOnlyPathsGM
Dpolygonoffset.cpp605 for (int i = 0; i < kNumPaths; ++i) { in onDraw()
611 inline static constexpr int kNumPaths = 20; member in skiagm::PolygonOffsetGM
/third_party/flutter/skia/gm/
Dconvex_all_line_paths.cpp327 for (int i = 0; i < kNumPaths; ++i) { in onDraw()
401 static constexpr int kNumPaths = 20; member in skiagm::ConvexLineOnlyPathsGM
Dpolygonoffset.cpp605 for (int i = 0; i < kNumPaths; ++i) { in onDraw()
611 static constexpr int kNumPaths = 20; member in skiagm::PolygonOffsetGM