Searched refs:gProcs (Results 1 – 9 of 9) sorted by relevance
/third_party/flutter/skia/samplecode/ |
D | SampleHairline.cpp | 158 } gProcs[] = { variable 166 return (index + 1) % SK_ARRAY_COUNT(gProcs); in cycle_hairproc_index() 181 SkString name() override { return SkStringPrintf("Hair-%s", gProcs[fProcIndex].fName); } in name() 206 gProcs[fProcIndex].fProc(&c2, paint, bm); in onDrawContent()
|
/third_party/flutter/skia/gm/ |
D | image_shader.cpp | 85 const ImageMakerProc gProcs[] = { variable 137 for (size_t i = 0; i < SK_ARRAY_COUNT(gProcs); ++i) { in onDraw() 138 sk_sp<SkImage> image(gProcs[i](canvas->getGrContext(), fPicture.get(), info)); in onDraw()
|
D | smallpaths.cpp | 163 constexpr MakePathProc gProcs[] = { variable 215 #define N SK_ARRAY_COUNT(gProcs) 227 fDY[i] = gProcs[i](&fPath[i]); in onOnceBeforeDraw()
|
D | pathfill.cpp | 282 constexpr MakePathProc gProcs[] = { variable 295 #define N SK_ARRAY_COUNT(gProcs) 306 fDY[i] = gProcs[i](&fPath[i]); in onOnceBeforeDraw() 358 fDY[i] = gProcs[i](&fPath[i]); in onOnceBeforeDraw()
|
/third_party/skia/gm/ |
D | smallpaths.cpp | 259 constexpr MakePathProc gProcs[] = { variable 286 static_assert(SK_ARRAY_COUNT(gWidths) == SK_ARRAY_COUNT(gProcs)); 301 static_assert(SK_ARRAY_COUNT(gMiters) == SK_ARRAY_COUNT(gProcs)); 316 static_assert(SK_ARRAY_COUNT(gXTranslate) == SK_ARRAY_COUNT(gProcs)); 318 #define N SK_ARRAY_COUNT(gProcs) 330 auto [path, dy] = gProcs[i](); in onOnceBeforeDraw()
|
D | image_shader.cpp | 92 const ImageMakerProc gProcs[] = { variable 144 for (size_t i = 0; i < SK_ARRAY_COUNT(gProcs); ++i) { in onDraw() 145 sk_sp<SkImage> image(gProcs[i](canvas->recordingContext(), fPicture.get(), info)); in onDraw()
|
D | pathfill.cpp | 284 constexpr MakePathProc gProcs[] = { variable 297 #define N SK_ARRAY_COUNT(gProcs) 308 auto [path, dy] = gProcs[i](); in onOnceBeforeDraw() 362 auto [path, dy] = gProcs[i](); in onOnceBeforeDraw()
|
/third_party/skia/tests/ |
D | GradientTest.cpp | 180 static const GradProc gProcs[] = { in TestGradientShaders() local 189 for (size_t i = 0; i < SK_ARRAY_COUNT(gProcs); ++i) { in TestGradientShaders() 190 gProcs[i](reporter, rec, rec); in TestGradientShaders()
|
/third_party/flutter/skia/tests/ |
D | GradientTest.cpp | 177 static const GradProc gProcs[] = { in TestGradientShaders() local 186 for (size_t i = 0; i < SK_ARRAY_COUNT(gProcs); ++i) { in TestGradientShaders() 187 gProcs[i](reporter, rec, rec); in TestGradientShaders()
|