Home
last modified time | relevance | path

Searched refs:gColors (Results 1 - 15 of 15) sorted by relevance

/third_party/skia/gm/
H A Dgradient_matrix.cpp22 constexpr SkColor gColors[] = { variable
65 return SkGradientShader::MakeLinear(pts, gColors, nullptr, SK_ARRAY_COUNT(gColors), in make_linear_gradient()
74 return SkGradientShader::MakeRadial(center, radius, gColors, nullptr, SK_ARRAY_COUNT(gColors), in make_radial_gradient()
H A Dimagesource2.cpp45 constexpr SkPMColor gColors[] = { variable
64 p.setColor(gColors[curColor]);
67 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors);
H A Ddrawatlascolor.cpp120 SkColor gColors[] = { variable
129 const int numColors = SK_ARRAY_COUNT(gColors);
141 quadColors[i] = gColors[i];
H A Dgradients_no_texture.cpp33 constexpr SkColor gColors[] = { variable
38 { 1, gColors, nullptr },
39 { 2, gColors, nullptr },
40 { 3, gColors, nullptr },
41 { 4, gColors, nullptr },
H A Dgradient_dirty_laundry.cpp31 constexpr SkColor gColors[] = { variable
45 { 40, gColors, nullptr },
46 // { 2, gColors, gPos },
H A Dgradients.cpp39 constexpr SkColor gColors[] = { member
66 { 2, gColors, gColors4f, nullptr },
67 { 2, gColors, gColors4f, gPos0 },
68 { 2, gColors, gColors4f, gPos1 },
69 { 5, gColors, gColors4f, nullptr },
70 { 5, gColors, gColors4f, gPos2 },
481 SkIntToScalar(200), gColors, nullptr, 5,
643 SK_ARRAY_COUNT(gColors), SkTileMode::kClamp);
691 SK_ARRAY_COUNT(gColors), SkTileMode::kClamp);
H A Dgradients_2pt_conical.cpp32 constexpr SkColor gColors[] = { member
47 { 2, gColors, gPos0 },
48 { 2, gColors, gPos1 },
49 { 5, gColors, gPos2 },
H A Ddashing.cpp422 constexpr SkColor gColors[kIntervalLength] = { variable
449 paint.setColor(gColors[phase]);
460 paint.setColor(gColors[phase]);
/third_party/skia/samplecode/
H A DSampleGradients.cpp46 static const SkColor gColors[] = { variable
56 { 2, gColors, nullptr },
57 { 2, gColors, gPos0 },
58 { 2, gColors, gPos1 },
59 { 5, gColors, nullptr },
60 { 5, gColors, gPos2 }
H A DSampleChart.cpp115 static SkColor gColors[kNumGraphs] = { 0x0 }; variable
116 if (0 == gColors[0]) {
118 gColors[i] = colorRand.nextU() | 0xff000000;
147 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000);
150 plotPaint.setColor(gColors[i]);
H A DSampleSlides.cpp160 static const SkColor gColors[] = { variable
170 { 2, gColors, nullptr },
171 { 2, gColors, gPos0 },
172 { 2, gColors, gPos1 },
173 { 5, gColors, nullptr },
174 { 5, gColors, gPos2 }
/third_party/skia/tests/
H A DTextureStripAtlasManagerTest.cpp24 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
34 gColors, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
H A DGradientTest.cpp164 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; in TestGradientShaders() local
173 rec.fColorCount = SK_ARRAY_COUNT(gColors); in TestGradientShaders()
174 rec.fColors = gColors; in TestGradientShaders()
/third_party/skia/src/utils/
H A DSkParseColor.cpp156 } gColors[] = { variable
313 *color = SkColorSetRGB(gColors[index].r, gColors[index].g, gColors[index].b); in FindNamedColor()
/third_party/skia/bench/
H A DGradientBench.cpp25 static const SkColor gColors[] = { variable
44 { 2, gColors, nullptr, "" },
45 { 50, gColors, nullptr, "_hicolor" }, // many color gradient
46 { 3, gColors, nullptr, "_3color" },
48 { 2, gColors, gPos, "_pos" },

Completed in 11 milliseconds