Home
last modified time | relevance | path

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

/third_party/flutter/skia/samplecode/
DSampleFilter2.cpp18 static const char* gNames[] = { variable
28 fBitmaps.reserve(SK_ARRAY_COUNT(gNames) * 2); in onOnceBeforeDraw()
29 for (const char* name : gNames) { in onOnceBeforeDraw()
34 for (const char* name : gNames) { in onOnceBeforeDraw()
/third_party/flutter/skia/tests/
DFontHostTest.cpp174 static const char* const gNames[] = { in test_tables() local
183 for (size_t i = 0; i < SK_ARRAY_COUNT(gNames); ++i) { in test_tables()
184 sk_sp<SkTypeface> face(SkTypeface::MakeFromName(gNames[i], SkFontStyle())); in test_tables()
187 SkDebugf("%s\n", gNames[i]); in test_tables()
/third_party/skia/tests/
DFontHostTest.cpp174 static const char* const gNames[] = { in test_tables() local
183 for (size_t i = 0; i < SK_ARRAY_COUNT(gNames); ++i) { in test_tables()
184 sk_sp<SkTypeface> face(SkTypeface::MakeFromName(gNames[i], SkFontStyle())); in test_tables()
187 SkDebugf("%s\n", gNames[i]); in test_tables()
/third_party/flutter/skia/gm/
Dfontmgr.cpp176 const char* gNames[] = { in onDraw() local
181 for (size_t i = 0; i < SK_ARRAY_COUNT(gNames); ++i) { in onDraw()
182 fset.reset(fFM->matchFamily(gNames[i])); in onDraw()
/third_party/flutter/skia/bench/
DDashBench.cpp311 static const char* gNames[] = { "hori", "vert", "diag" }; in LineTypeName() local
312 static_assert(kLineTypeCount == SK_ARRAY_COUNT(gNames), "names_wrong_size"); in LineTypeName()
313 return gNames[lt]; in LineTypeName()
/third_party/skia/gm/
Dfontmgr.cpp177 const char* gNames[] = { in onDraw() local
182 for (size_t i = 0; i < SK_ARRAY_COUNT(gNames); ++i) { in onDraw()
183 fset.reset(fFM->matchFamily(gNames[i])); in onDraw()
/third_party/skia/bench/
DDashBench.cpp310 static const char* gNames[] = { "hori", "vert", "diag" }; in LineTypeName() local
311 static_assert(kLineTypeCount == SK_ARRAY_COUNT(gNames), "names_wrong_size"); in LineTypeName()
312 return gNames[lt]; in LineTypeName()
/third_party/flutter/skia/src/utils/
DSkLua.cpp1022 static const char* gNames[] = { "clamp", "repeat", "mirror", "decal" }; in mode2string() local
1023 SkASSERT((unsigned)mode < SK_ARRAY_COUNT(gNames)); in mode2string()
1024 return gNames[static_cast<int>(mode)]; in mode2string()
1028 static const char* gNames[] = { in gradtype2string() local
1031 SkASSERT((unsigned)t < SK_ARRAY_COUNT(gNames)); in gradtype2string()
1032 return gNames[t]; in gradtype2string()