Home
last modified time | relevance | path

Searched refs:gProcs (Results 1 – 9 of 9) sorted by relevance

/third_party/flutter/skia/samplecode/
DSampleHairline.cpp158 } 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/
Dimage_shader.cpp85 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()
Dsmallpaths.cpp163 constexpr MakePathProc gProcs[] = { variable
215 #define N SK_ARRAY_COUNT(gProcs)
227 fDY[i] = gProcs[i](&fPath[i]); in onOnceBeforeDraw()
Dpathfill.cpp282 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/
Dsmallpaths.cpp259 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()
Dimage_shader.cpp92 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()
Dpathfill.cpp284 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/
DGradientTest.cpp180 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/
DGradientTest.cpp177 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()