Home
last modified time | relevance | path

Searched refs:kGreen (Results 1 – 25 of 62) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DMultisampledRenderingTests.cpp291 constexpr wgpu::Color kGreen = {0.0f, 0.8f, 0.0f, 0.8f}; in TEST_P() local
303 std::array<float, 4> kUniformData = {kGreen.r, kGreen.g, kGreen.b, kGreen.a}; in TEST_P()
312 VerifyResolveTarget(kGreen, mResolveTexture); in TEST_P()
322 constexpr wgpu::Color kGreen = {0.0f, 0.8f, 0.0f, 0.8f}; in TEST_P() local
334 EncodeRenderPassForTest(commandEncoder, renderPass, pipeline, kGreen); in TEST_P()
340 VerifyResolveTarget(kGreen, mResolveTexture); in TEST_P()
349 constexpr wgpu::Color kGreen = {0.0f, 0.8f, 0.0f, 0.8f}; in TEST_P() local
357 std::array<float, 5> kUniformData = {kGreen.r, kGreen.g, kGreen.b, kGreen.a, // Color in TEST_P()
382 VerifyResolveTarget(kGreen, mResolveTexture); in TEST_P()
392 constexpr wgpu::Color kGreen = {0.0f, 0.8f, 0.0f, 0.8f}; in TEST_P() local
[all …]
DScissorTests.cpp66 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 0, 0); in TEST_P()
67 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 0, 99); in TEST_P()
68 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 99, 0); in TEST_P()
69 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 99, 99); in TEST_P()
96 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, kX, kY); in TEST_P()
99 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, kX + kW - 1, kY + kH - 1); in TEST_P()
148 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 0, 0); in TEST_P()
149 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 0, 99); in TEST_P()
150 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 99, 0); in TEST_P()
151 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 99, 99); in TEST_P()
DIndexFormatTests.cpp94 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 100, 300); in TEST_P()
121 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 100, 300); in TEST_P()
153 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 100, 300); in TEST_P()
288 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 50, 350); // A in TEST_P()
289 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 350, 50); // B in TEST_P()
323 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 50, 350); // A in TEST_P()
324 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 350, 50); // B in TEST_P()
325 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 198, 200); // C in TEST_P()
359 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 50, 350); // A in TEST_P()
360 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 350, 50); // B in TEST_P()
[all …]
DViewportOrientationTests.cpp55 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 0, 0); in TEST_P()
DVertexStateTests.cpp238 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, x, y); in CheckResult()
640 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 1, 1); in TEST_P()
694 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, renderPass.color, 1, 1); in TEST_P()
DClipSpaceTests.cpp92 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kGreen, colorTexture, 0, 0); in TEST_P()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DMultisampledRenderingTests.cpp238 constexpr dawn::Color kGreen = {0.0f, 0.8f, 0.0f, 0.8f}; in TEST_P() local
239 constexpr uint32_t kSize = sizeof(kGreen); in TEST_P()
247 EncodeRenderPassForTest(commandEncoder, renderPass, pipeline, &kGreen.r, kSize); in TEST_P()
254 VerifyResolveTarget(kGreen, mResolveTexture); in TEST_P()
268 constexpr dawn::Color kGreen = {0.0f, 0.8f, 0.0f, 0.8f}; in TEST_P() local
276 std::array<float, 5> kUniformData = {kGreen.r, kGreen.g, kGreen.b, kGreen.a, // Color in TEST_P()
302 VerifyResolveTarget(kGreen, mResolveTexture); in TEST_P()
312 constexpr dawn::Color kGreen = {0.0f, 0.8f, 0.0f, 0.8f}; in TEST_P() local
313 constexpr uint32_t kSize = sizeof(kGreen); in TEST_P()
321 EncodeRenderPassForTest(commandEncoder, renderPass, pipeline, &kGreen.r, kSize); in TEST_P()
[all …]
DRenderPassTests.cpp80 constexpr RGBA8 kGreen(0, 255, 0, 255); in TEST_P() local
119 EXPECT_PIXEL_RGBA8_EQ(kGreen, renderTarget2, kRTSize - 1, 1); in TEST_P()
/third_party/skia/third_party/externals/tint/src/diagnostic/
Dprinter_test.cc44 printer->write("Green", Style{Color::kGreen, false}); in TEST_F()
58 printer->write("Green", Style{Color::kGreen, true}); in TEST_F()
72 printer->write("Green", Style{Color::kGreen, false}); in TEST_F()
86 printer->write("Green", Style{Color::kGreen, true}); in TEST_F()
Dprinter.h32 kGreen, enumerator
Dprinter_linux.cc66 case Color::kGreen: in color_code()
Dprinter_windows.cc75 case Color::kGreen: in attributes()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DFramebufferMixedSamplesTest.cpp191 static const float kGreen[] = {0.0f, 1.0f, 0.0f, 1.0f}; in TEST_P() local
202 glUniform4fv(mColorLoc, 1, kGreen); in TEST_P()
235 static const float kGreen[] = {0.0f, 1.0f, 0.0f, 1.0f}; in TEST_P() local
250 glUniform4fv(mColorLoc, 1, kGreen); in TEST_P()
DMultisampleCompatibilityTest.cpp179 static const float kGreen[] = {0.0f, 1.0f, 0.0f, 1.0f}; in TEST_P() local
192 glUniform4fv(mColorLoc, 1, kGreen); in TEST_P()
233 static const float kGreen[] = {0.0f, 1.0f, 0.0f, 0.5f}; in TEST_P() local
253 glUniform4fv(mColorLoc, 1, kGreen); in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DFramebufferMixedSamplesTest.cpp191 static const float kGreen[] = {0.0f, 1.0f, 0.0f, 1.0f}; in TEST_P() local
202 glUniform4fv(mColorLoc, 1, kGreen); in TEST_P()
235 static const float kGreen[] = {0.0f, 1.0f, 0.0f, 1.0f}; in TEST_P() local
250 glUniform4fv(mColorLoc, 1, kGreen); in TEST_P()
DMultisampleCompatibilityTest.cpp176 static const float kGreen[] = {0.0f, 1.0f, 0.0f, 1.0f}; in TEST_P() local
189 glUniform4fv(mColorLoc, 1, kGreen); in TEST_P()
230 static const float kGreen[] = {0.0f, 1.0f, 0.0f, 0.5f}; in TEST_P() local
250 glUniform4fv(mColorLoc, 1, kGreen); in TEST_P()
DPathRenderingTest.cpp793 static const angle::GLColor kGreen = {0, 255, 0, 255}; in verifyTestPatternStroke() local
794 EXPECT_TRUE(CheckPixels(x + 50, y + 53, 1, 1, 0, kGreen)); in verifyTestPatternStroke()
795 EXPECT_TRUE(CheckPixels(x + 26, y + 76, 1, 1, 0, kGreen)); in verifyTestPatternStroke()
813 static const float kGreen[] = {0.0f, 1.0f, 0.0f, 1.0f}; in TEST_P() local
842 glUniform4fv(mColorLoc, 1, kGreen); in TEST_P()
862 static float kGreen[] = {0.0f, 1.0f, 0.0f, 1.0f}; in TEST_P() local
872 glUniform4fv(mColorLoc, 1, kGreen); in TEST_P()
896 static const float kGreen[] = {0.0f, 1.0f, 0.0f, 1.0f}; in TEST_P() local
937 glUniform4fv(mColorLoc, 1, kGreen); in TEST_P()
975 static const float kGreen[] = {0.0f, 1.0f, 0.0f, 1.0f}; in TEST_P() local
[all …]
/third_party/skia/docs/examples/
DColor_Wheel.cpp17 SkColors::kRed, SkColors::kYellow, SkColors::kGreen, SkColors::kCyan, in draw_color_wheel()
32 {"G", 1, 210, SkColors::kGreen}, in draw_color_wheel()
DColors.cpp13 {SkColors::kGreen, "SkColors::kGreen"}, in draw()
/third_party/skia/modules/skottie/src/effects/
DShiftChannelsEffect.cpp63 kGreen = 3, enumerator
117 fG = static_cast<float>(Source::kGreen),
/third_party/flutter/skia/docs/examples/
DColors.cpp13 {SkColors::kGreen, "SkColors::kGreen"}, in draw()
/third_party/googletest/googletest/src/
Dgtest.cc3134 enum class GTestColor { kDefault, kRed, kGreen, kYellow }; enumerator
3175 case GTestColor::kGreen: in GetColorAttribute()
3222 case GTestColor::kGreen: in GetAnsiColorCode()
3415 ColoredPrintf(GTestColor::kGreen, "[==========] "); in OnTestIterationStart()
3424 ColoredPrintf(GTestColor::kGreen, "[----------] "); in OnEnvironmentsSetUpStart()
3433 ColoredPrintf(GTestColor::kGreen, "[----------] "); in OnTestCaseStart()
3447 ColoredPrintf(GTestColor::kGreen, "[----------] "); in OnTestSuiteStart()
3459 ColoredPrintf(GTestColor::kGreen, "[ RUN ] "); in OnTestStart()
3482 ColoredPrintf(GTestColor::kGreen, "[ OK ] "); in OnTestEnd()
3484 ColoredPrintf(GTestColor::kGreen, "[ SKIPPED ] "); in OnTestEnd()
[all …]
/third_party/skia/gm/
Dcolorwheel.cpp55 canvas->drawString("G", 24.0f, 20.0f, font, SkPaint(SkColors::kGreen));
/third_party/flutter/skia/gm/
Dcolorwheel.cpp55 canvas->drawString("G", 24.0f, 20.0f, font, SkPaint(SkColors::kGreen));
/third_party/skia/tests/
DReadPixelsTest.cpp397 static const uint64_t kGreen = (uint64_t) SK_Half1 << 16; variable
401 kAlpha | kRed, kAlpha | kGreen, kAlpha | kBlue, kAlpha | kBlue | kGreen | kRed, kAlpha

123