/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | RenderBundleTests.cpp | 22 const RGBA8 kColors[2] = {RGBA8::kGreen, RGBA8::kBlue}; variable 62 float colors0[] = {kColors[0].r / 255.f, kColors[0].g / 255.f, kColors[0].b / 255.f, in SetUp() 63 kColors[0].a / 255.f}; in SetUp() 64 float colors1[] = {kColors[1].r / 255.f, kColors[1].g / 255.f, kColors[1].b / 255.f, in SetUp() 65 kColors[1].a / 255.f}; in SetUp() 116 EXPECT_PIXEL_RGBA8_EQ(kColors[0], renderPass.color, 1, 3); in TEST_P() 117 EXPECT_PIXEL_RGBA8_EQ(kColors[0], renderPass.color, 3, 1); in TEST_P() 157 EXPECT_PIXEL_RGBA8_EQ(kColors[0], renderPass.color, 1, 3); in TEST_P() 158 EXPECT_PIXEL_RGBA8_EQ(kColors[1], renderPass.color, 3, 1); in TEST_P() 192 EXPECT_PIXEL_RGBA8_EQ(kColors[0], renderPass.color, 1, 3); in TEST_P() [all …]
|
D | ColorStateTests.cpp | 286 constexpr std::array<RGBA8, 8> kColors = {{ variable 325 std::transform(kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 333 std::transform(kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 341 std::transform(kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 349 std::transform(kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 357 std::transform(kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 367 kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 376 kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 384 std::transform(kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 397 std::transform(kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/ |
D | ColorStateTests.cpp | 277 constexpr std::array<RGBA8, 8> kColors = {{ variable 312 std::transform(kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 320 std::transform(kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 328 std::transform(kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 336 std::transform(kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 344 std::transform(kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 354 kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 363 kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 371 std::transform(kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() 384 std::transform(kColors.begin(), kColors.end(), std::back_inserter(tests), in TEST_P() [all …]
|
/third_party/flutter/skia/docs/examples/ |
D | Colors.cpp | 6 const struct { SkColor4f fColor; const char* fName; } kColors[] = { in draw() local 20 constexpr float kSize = 256.0f / (sizeof(kColors) / sizeof(kColors[0])); in draw() 22 for (const auto& c : kColors) { in draw()
|
/third_party/skia/docs/examples/ |
D | Colors.cpp | 6 const struct { SkColor4f fColor; const char* fName; } kColors[] = { in draw() local 20 constexpr float kSize = 256.0f / (sizeof(kColors) / sizeof(kColors[0])); in draw() 22 for (const auto& c : kColors) { in draw()
|
D | Color_Wheel.cpp | 16 static const SkColor4f kColors[kColorCount] = { in draw_color_wheel() local 19 sweep.setShader(SkGradientShader::MakeSweep(0, 0, kColors, nullptr, nullptr, in draw_color_wheel()
|
/third_party/flutter/skia/gm/ |
D | transparency.cpp | 27 const SkColor kColors[] = { in make_transparency() local 38 const SkScalar kRowHeight = height / SK_ARRAY_COUNT(kColors); in make_transparency() 39 for (size_t i = 0; i < SK_ARRAY_COUNT(kColors); ++i) { in make_transparency() 42 shaderColors[1] = kColors[i]; in make_transparency()
|
D | constcolorprocessor.cpp | 73 constexpr GrColor kColors[] = { in onDraw() local 98 for (size_t procColor = 0; procColor < SK_ARRAY_COUNT(kColors); ++procColor) { in onDraw() 119 SkPMColor4f color = SkPMColor4f::FromBytes_RGBA(kColors[procColor]); in onDraw() 143 procLabel.printf("Proc: [0x%08x, %s]", kColors[procColor], kModeStrs[m]); in onDraw()
|
D | stroke_rect_shader.cpp | 31 constexpr SkColor kColors[] {SK_ColorRED, SK_ColorBLUE}; variable 33 sk_sp<SkShader> shader = SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2,
|
D | coloremoji.cpp | 42 constexpr SkColor kColors[] = {0x80F00080, 0xF0F08000, 0x800080F0 }; in MakeLinear() local 43 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(kColors), in MakeLinear()
|
D | imagefromyuvtextures.cpp | 70 constexpr SkColor kColors[] = in onOnceBeforeDraw() local 72 paint.setShader(SkGradientShader::MakeRadial(SkPoint::Make(0,0), kBmpSize / 2.f, kColors, in onOnceBeforeDraw() 73 nullptr, SK_ARRAY_COUNT(kColors), in onOnceBeforeDraw()
|
D | xfermodes3.cpp | 193 const SkColor kColors[] = { in onOnceBeforeDraw() local 197 kColors, nullptr, SK_ARRAY_COUNT(kColors), in onOnceBeforeDraw()
|
D | skinning.cpp | 44 static const SkColor kColors[] = { variable 111 kColors, in onOnceBeforeDraw()
|
D | drawimageset.cpp | 110 static constexpr SkColor kColors[] = {SK_ColorCYAN, SK_ColorBLACK, in onOnceBeforeDraw() local 112 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw() 207 static constexpr SkColor kColors[] = {SK_ColorBLUE, SK_ColorWHITE, in onOnceBeforeDraw() local 209 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw()
|
/third_party/skia/gm/ |
D | transparency.cpp | 27 const SkColor kColors[] = { in make_transparency() local 38 const SkScalar kRowHeight = height / SK_ARRAY_COUNT(kColors); in make_transparency() 39 for (size_t i = 0; i < SK_ARRAY_COUNT(kColors); ++i) { in make_transparency() 42 shaderColors[1] = kColors[i]; in make_transparency()
|
D | constcolorprocessor.cpp | 86 constexpr GrColor kColors[] = { in onDraw() local 104 for (size_t procColor = 0; procColor < SK_ARRAY_COUNT(kColors); ++procColor) { in onDraw() 128 SkPMColor4f::FromBytes_RGBA(kColors[procColor])); in onDraw() 133 std::move(baseFP), SkPMColor4f::FromBytes_RGBA(kColors[procColor])); in onDraw() 161 procLabel.printf("Proc: [0x%08x]", kColors[procColor]); in onDraw()
|
D | stroke_rect_shader.cpp | 31 constexpr SkColor kColors[] {SK_ColorRED, SK_ColorBLUE}; variable 33 sk_sp<SkShader> shader = SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2,
|
D | drawimageset.cpp | 110 static constexpr SkColor kColors[] = {SK_ColorCYAN, SK_ColorBLACK, in onOnceBeforeDraw() local 112 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw() 213 static constexpr SkColor kColors[] = {SK_ColorBLUE, SK_ColorWHITE, in onOnceBeforeDraw() local 215 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet); in onOnceBeforeDraw() 299 static constexpr SkColor kColors[] = {SK_ColorBLUE, SK_ColorTRANSPARENT, in onGpuSetup() local 302 make_image_tiles(kTileW, kTileH, kM, kN, kColors, fSet, kBGColor); in onGpuSetup()
|
D | coloremoji.cpp | 42 constexpr SkColor kColors[] = {0x80F00080, 0xF0F08000, 0x800080F0 }; in MakeLinear() local 43 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(kColors), in MakeLinear()
|
D | xfermodes3.cpp | 194 const SkColor kColors[] = { in onOnceBeforeDraw() local 198 kColors, nullptr, SK_ARRAY_COUNT(kColors), in onOnceBeforeDraw()
|
D | crbug_224618.cpp | 39 static const SkColor kColors[2] = {SK_ColorTRANSPARENT, SkColorSetARGB(128, 255, 255, 255)}; in onOnceBeforeDraw() local 41 {200.f, 200.f}, 25.f, kColors, nullptr, 2, SkTileMode::kMirror, in onOnceBeforeDraw()
|
/third_party/skia/modules/skottie/gm/ |
D | SkottieGM.cpp | 142 static constexpr SkColor kColors[] = { in onChar() local 151 fColorIndex = (fColorIndex + 1) % SK_ARRAY_COUNT(kColors); in onChar() 153 fPropManager->setColor(prop, kColors[fColorIndex]); in onChar() 157 txtval.fFillColor = kColors[fColorIndex]; in onChar()
|
/third_party/flutter/skia/bench/ |
D | ClearBench.cpp | 25 static const SkColor kColors[] = {SK_ColorBLUE, SK_ColorWHITE}; in make_shader() local 26 return SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2, SkTileMode::kClamp); in make_shader()
|
/third_party/skia/bench/ |
D | ClearBench.cpp | 25 static const SkColor kColors[] = {SK_ColorBLUE, SK_ColorWHITE}; in make_shader() local 26 return SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2, SkTileMode::kClamp); in make_shader()
|
/third_party/flutter/skia/modules/skottie/gm/ |
D | SkottieGM.cpp | 138 static constexpr SkColor kColors[] = { in onChar() local 147 fColorIndex = (fColorIndex + 1) % SK_ARRAY_COUNT(kColors); in onChar() 149 fPropManager->setColor(prop, kColors[fColorIndex]); in onChar()
|