Home
last modified time | relevance | path

Searched refs:kRed (Results 1 – 25 of 59) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DMultisampledRenderingTests.cpp350 constexpr wgpu::Color kRed = {0.8f, 0.0f, 0.0f, 0.8f}; in TEST_P() local
371 std::array<float, 5> kUniformData = {kRed.r, kRed.g, kRed.b, kRed.a, // color in TEST_P()
433 constexpr wgpu::Color kRed = {0.8f, 0.0f, 0.0f, 0.8f}; in TEST_P() local
444 static_cast<float>(kRed.r), static_cast<float>(kRed.g), in TEST_P()
445 static_cast<float>(kRed.b), static_cast<float>(kRed.a), in TEST_P()
456 VerifyResolveTarget(kRed, mResolveTexture); in TEST_P()
574 constexpr wgpu::Color kRed = {0.8f, 0.0f, 0.0f, 0.8f}; in TEST_P() local
584 std::array<float, 8> kUniformData = {kRed.r, kRed.g, kRed.b, kRed.a, // color1 in TEST_P()
593 VerifyResolveTarget(kRed, resolveTexture1, kBaseMipLevel1, kBaseArrayLayer1); in TEST_P()
672 constexpr wgpu::Color kRed = {0.8f, 0.0f, 0.0f, 0.8f}; in TEST_P() local
[all …]
DDepthBiasTests.cpp317 RGBA8::kRed, RGBA8::kRed, // in TEST_P()
318 RGBA8::kRed, RGBA8::kRed, // in TEST_P()
353 RGBA8::kRed, RGBA8::kRed, // in TEST_P()
DRenderPassTests.cpp111 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kRed, renderTarget1, kRTSize - 1, 1); in TEST_P()
163 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kRed, renderTarget, kRTSize - 1, 1); in TEST_P()
DTextureSubresourceTests.cpp163 RGBA8 bottomLeft = RGBA8::kRed; in TEST_P()
191 RGBA8 bottomLeft = RGBA8::kRed; in TEST_P()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DMultisampledRenderingTests.cpp269 constexpr dawn::Color kRed = {0.8f, 0.0f, 0.0f, 0.8f}; in TEST_P() local
290 std::array<float, 8> kUniformData = {kRed.r, kRed.g, kRed.b, kRed.a, // color in TEST_P()
352 constexpr dawn::Color kRed = {0.8f, 0.0f, 0.0f, 0.8f}; in TEST_P() local
362 std::array<float, 8> kUniformData = {kRed.r, kRed.g, kRed.b, kRed.a, // color1 in TEST_P()
372 VerifyResolveTarget(kRed, mResolveTexture); in TEST_P()
489 constexpr dawn::Color kRed = {0.8f, 0.0f, 0.0f, 0.8f}; in TEST_P() local
499 std::array<float, 8> kUniformData = {kRed.r, kRed.g, kRed.b, kRed.a, // color1 in TEST_P()
509 VerifyResolveTarget(kRed, resolveTexture1, kBaseMipLevel1, kBaseArrayLayer1); in TEST_P()
DRenderPassTests.cpp79 constexpr RGBA8 kRed(255, 0, 0, 255); in TEST_P() local
116 EXPECT_PIXEL_RGBA8_EQ(kRed, renderTarget1, kRTSize - 1, 1); in TEST_P()
/third_party/flutter/skia/tests/
DBackendAllocationTest.cpp375 SkColors::kRed); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
415 { kRGB_565_SkColorType, kRGB_565_GrPixelConfig, SkColors::kRed }, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
550 { GrColorType::kRGBA_8888, GR_GL_RGBA8, SkColors::kRed }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
551 { GrColorType::kRGBA_8888_SRGB, GR_GL_SRGB8_ALPHA8, SkColors::kRed }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
560 { GrColorType::kBGR_565, GR_GL_RGB565, SkColors::kRed }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
569 { GrColorType::kRGBA_F32, GR_GL_RGBA32F, SkColors::kRed }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
578 { GrColorType::kR_16, GR_GL_R16, SkColors::kRed }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
585 { GrColorType::kUnknown, GR_GL_COMPRESSED_RGB8_ETC2, SkColors::kRed }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
586 { GrColorType::kUnknown, GR_GL_COMPRESSED_ETC1_RGB8, SkColors::kRed }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
680 { GrColorType::kRGBA_8888, VK_FORMAT_R8G8B8A8_UNORM, SkColors::kRed }, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
[all …]
DMtlBackendAllocationTest.mm41 { GrColorType::kRGBA_8888, MTLPixelFormatRGBA8Unorm, SkColors::kRed },
42 { GrColorType::kRGBA_8888_SRGB, MTLPixelFormatRGBA8Unorm_sRGB, SkColors::kRed },
53 { GrColorType::kBGR_565, MTLPixelFormatB5G6R5Unorm, SkColors::kRed },
61 { GrColorType::kRGBA_F32, MTLPixelFormatRGBA32Float, SkColors::kRed },
69 { GrColorType::kR_16, MTLPixelFormatR16Unorm, SkColors::kRed },
77 { GrColorType::kUnknown, MTLPixelFormatETC2_RGB8, SkColors::kRed }
/third_party/skia/third_party/externals/tint/src/diagnostic/
Dprinter_test.cc43 printer->write("Red", Style{Color::kRed, false}); in TEST_F()
57 printer->write("Red", Style{Color::kRed, true}); in TEST_F()
71 printer->write("Red", Style{Color::kRed, false}); in TEST_F()
85 printer->write("Red", Style{Color::kRed, true}); in TEST_F()
Dprinter.h31 kRed, enumerator
/third_party/skia/docs/examples/
DColor_Wheel.cpp17 SkColors::kRed, SkColors::kYellow, SkColors::kGreen, SkColors::kCyan, in draw_color_wheel()
18 SkColors::kBlue, SkColors::kMagenta, SkColors::kRed}; in draw_color_wheel()
30 {"R", 1, 90, SkColors::kRed}, in draw_color_wheel()
DColors.cpp12 {SkColors::kRed, "SkColors::kRed"}, in draw()
/third_party/flutter/flutter/packages/flutter/test/material/
Dpage_selector_test.dart183 const Color kRed = Color(0xFFFF0000);
191 await tester.pumpWidget(buildFrame(tabController, color: kRed, selectedColor: kBlue));
194 expect(indicatorColors(tester), const <Color>[kRed, kBlue, kRed]);
198 expect(indicatorColors(tester), const <Color>[kBlue, kRed, kRed]);
/third_party/skia/modules/skottie/src/effects/
DShiftChannelsEffect.cpp62 kRed = 2, enumerator
116 ScalarValue fR = static_cast<float>(Source::kRed),
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultisampleCompatibilityTest.cpp180 static const float kRed[] = {1.0f, 0.0f, 0.0f, 1.0f}; in TEST_P() local
204 glUniform4fv(mColorLoc, 1, kRed); in TEST_P()
234 static const float kRed[] = {1.0f, 0.0f, 0.0f, 0.5f}; in TEST_P() local
260 glUniform4fv(mColorLoc, 1, kRed); in TEST_P()
DVulkanImageTest.cpp21 constexpr GLuint kRed = 0xff0000ff; variable
249 EXPECT_EQ(pixels, std::vector<GLuint>(kWidth * kHeight, kRed)); in TEST_P()
307 EXPECT_EQ(pixels, std::vector<GLuint>(kWidth * kHeight, kRed)); in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultisampleCompatibilityTest.cpp177 static const float kRed[] = {1.0f, 0.0f, 0.0f, 1.0f}; in TEST_P() local
201 glUniform4fv(mColorLoc, 1, kRed); in TEST_P()
231 static const float kRed[] = {1.0f, 0.0f, 0.0f, 0.5f}; in TEST_P() local
257 glUniform4fv(mColorLoc, 1, kRed); in TEST_P()
/third_party/skia/gm/
Dandroidblendmodes.cpp61 p.setColor(ToolUtils::color_to_565(kRed)); in onOnceBeforeDraw()
123 static const SkColor kRed = SkColorSetARGB(255, 233, 30, 99); member in skiagm::AndroidBlendModesGM
Dcolorwheel.cpp54 canvas->drawString("R", 8.0f, 20.0f, font, SkPaint(SkColors::kRed));
/third_party/flutter/skia/gm/
Dandroidblendmodes.cpp61 p.setColor(ToolUtils::color_to_565(kRed)); in onOnceBeforeDraw()
123 static const SkColor kRed = SkColorSetARGB(255, 233, 30, 99); member in skiagm::AndroidBlendModesGM
Dcolorwheel.cpp54 canvas->drawString("R", 8.0f, 20.0f, font, SkPaint(SkColors::kRed));
/third_party/skia/tests/
DBackendAllocationTest.cpp573 { kRGB_565_SkColorType, SkColors::kRed }, in color_type_backend_allocation_test()
763 { GrColorType::kRGBA_8888, GR_GL_RGBA8, SkColors::kRed }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
764 { GrColorType::kRGBA_8888_SRGB, GR_GL_SRGB8_ALPHA8, SkColors::kRed }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
774 { GrColorType::kBGR_565, GR_GL_RGB565, SkColors::kRed }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
785 { GrColorType::kRGBA_F32, GR_GL_RGBA32F, SkColors::kRed }, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
914 { GrColorType::kRGBA_8888, VK_FORMAT_R8G8B8A8_UNORM, SkColors::kRed }, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
915 { GrColorType::kRGBA_8888_SRGB, VK_FORMAT_R8G8B8A8_SRGB, SkColors::kRed }, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
929 { GrColorType::kBGR_565, VK_FORMAT_R5G6B5_UNORM_PACK16, SkColors::kRed }, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DMtlBackendAllocationTest.mm51 { GrColorType::kRGBA_8888, MTLPixelFormatRGBA8Unorm, SkColors::kRed },
52 { GrColorType::kRGBA_8888_SRGB, MTLPixelFormatRGBA8Unorm_sRGB, SkColors::kRed },
68 { GrColorType::kBGR_565, MTLPixelFormatB5G6R5Unorm, SkColors::kRed },
/third_party/flutter/skia/docs/examples/
DColors.cpp12 {SkColors::kRed, "SkColors::kRed"}, in draw()
/third_party/skia/bench/
DCreateBackendTextureBench.cpp36 kSize, kSize, kRGBA_8888_SkColorType, SkColors::kRed, fMipmapped, in onDraw()

123