Home
last modified time | relevance | path

Searched refs:gColors (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/src/utils/
DSkParseColor.cpp156 } gColors[] = { variable
313 *color = SkColorSetRGB(gColors[index].r, gColors[index].g, gColors[index].b); in FindNamedColor()
/third_party/skia/gm/
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()
Dimagesource2.cpp45 constexpr SkPMColor gColors[] = { in onOnceBeforeDraw() local
64 p.setColor(gColors[curColor]); in onOnceBeforeDraw()
67 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors); in onOnceBeforeDraw()
Dgradients_no_texture.cpp33 constexpr SkColor gColors[] = { variable
38 { 1, gColors, nullptr },
39 { 2, gColors, nullptr },
40 { 3, gColors, nullptr },
41 { 4, gColors, nullptr },
Ddrawatlascolor.cpp120 SkColor gColors[] = { in onDraw() local
129 const int numColors = SK_ARRAY_COUNT(gColors); in onDraw()
141 quadColors[i] = gColors[i]; in onDraw()
Dgradient_dirty_laundry.cpp31 constexpr SkColor gColors[] = { variable
45 { 40, gColors, nullptr },
Dgradients.cpp39 constexpr SkColor gColors[] = { variable
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, in onDraw()
643 SK_ARRAY_COUNT(gColors), SkTileMode::kClamp); in onOnceBeforeDraw()
691 SK_ARRAY_COUNT(gColors), SkTileMode::kClamp); in onOnceBeforeDraw()
Dgradients_2pt_conical.cpp32 constexpr SkColor gColors[] = { variable
47 { 2, gColors, gPos0 },
48 { 2, gColors, gPos1 },
49 { 5, gColors, gPos2 },
/third_party/flutter/skia/gm/
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()
Dimagesource2.cpp45 constexpr SkPMColor gColors[] = { in onOnceBeforeDraw() local
64 p.setColor(gColors[curColor]); in onOnceBeforeDraw()
67 curColor = (curColor+1) % SK_ARRAY_COUNT(gColors); in onOnceBeforeDraw()
Dgradients_no_texture.cpp33 constexpr SkColor gColors[] = { variable
38 { 1, gColors, nullptr },
39 { 2, gColors, nullptr },
40 { 3, gColors, nullptr },
41 { 4, gColors, nullptr },
Ddrawatlascolor.cpp120 SkColor gColors[] = { in onDraw() local
129 const int numColors = SK_ARRAY_COUNT(gColors); in onDraw()
141 quadColors[i] = gColors[i]; in onDraw()
Dgradients.cpp39 constexpr SkColor gColors[] = { variable
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, in onDraw()
604 const SkColor gColors[] = { 0xFFFFFFFF, 0xFF000000 }; in onOnceBeforeDraw() local
605 fShader = SkGradientShader::MakeRadial(center, kRadius, gColors, nullptr, 2, in onOnceBeforeDraw()
643 SK_ARRAY_COUNT(gColors), SkTileMode::kClamp); in onOnceBeforeDraw()
[all …]
Dgradient_dirty_laundry.cpp31 constexpr SkColor gColors[] = { variable
45 { 40, gColors, nullptr },
/third_party/skia/samplecode/
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 }
DSampleChart.cpp115 static SkColor gColors[kNumGraphs] = { 0x0 }; in onDrawContent() local
116 if (0 == gColors[0]) { in onDrawContent()
118 gColors[i] = colorRand.nextU() | 0xff000000; in onDrawContent()
147 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000); in onDrawContent()
150 plotPaint.setColor(gColors[i]); in onDrawContent()
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/flutter/skia/samplecode/
DSampleGradients.cpp47 static const SkColor gColors[] = { variable
57 { 2, gColors, nullptr },
58 { 2, gColors, gPos0 },
59 { 2, gColors, gPos1 },
60 { 5, gColors, nullptr },
61 { 5, gColors, gPos2 }
DSampleChart.cpp117 static SkColor gColors[kNumGraphs] = { 0x0 }; in onDrawContent() local
118 if (0 == gColors[0]) { in onDrawContent()
120 gColors[i] = colorRand.nextU() | 0xff000000; in onDrawContent()
150 fillPaint.setColor((gColors[i] & 0x00ffffff) | 0x80000000); in onDrawContent()
153 plotPaint.setColor(gColors[i]); in onDrawContent()
DSampleColorFilter.cpp161 static const SkColor gColors[] = { in onDrawContent() local
173 for (size_t y = 0; y < SK_ARRAY_COUNT(gColors); y++) { in onDrawContent()
175 paint.setColorFilter(SkColorFilters::Blend(gColors[y], gModes[x])); in onDrawContent()
DSampleSlides.cpp161 static const SkColor gColors[] = { variable
171 { 2, gColors, nullptr },
172 { 2, gColors, gPos0 },
173 { 2, gColors, gPos1 },
174 { 5, gColors, nullptr },
175 { 5, gColors, gPos2 }
/third_party/flutter/skia/tests/
DTextureStripAtlasManagerTest.cpp23 static const SkColor gColors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
33 gColors, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/tests/
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()
/third_party/flutter/skia/bench/
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" },
/third_party/skia/bench/
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" },

12