Home
last modified time | relevance | path

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

12

/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()
DDepthStencilStateTests.cpp786 DoTest({{state, RGBA8::kRed, 0.f, 0u, wgpu::FrontFace::CCW}}, RGBA8::kRed, RGBA8::kZero); in TEST_P()
787 DoTest({{state, RGBA8::kRed, 0.f, 0u, wgpu::FrontFace::CW}}, RGBA8::kZero, RGBA8::kRed); in TEST_P()
810 {stencilAlwaysReplaceState, RGBA8::kRed, 0.f, 0x1, wgpu::FrontFace::CCW, true}, in TEST_P()
824 {stencilAlwaysReplaceState, RGBA8::kRed, 0.f, 0x1, wgpu::FrontFace::CCW, true}, in TEST_P()
DRenderAttachmentTests.cpp75 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kRed, renderTarget, 0, 0); in TEST_P()
DClipSpaceTests.cpp91 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kRed, colorTexture, kSize - 1, kSize - 1); in TEST_P()
DGpuMemorySynchronizationTests.cpp329 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kRed, renderPass.color, 0, 0); in TEST_P()
368 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kRed, renderPass.color, 0, 0); in TEST_P()
408 EXPECT_PIXEL_RGBA8_EQ(RGBA8::kRed, renderPass.color, 0, 0); in TEST_P()
/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
Dprinter_linux.cc64 case Color::kRed: in color_code()
Dprinter_windows.cc73 case Color::kRed: in attributes()
/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/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/skia/modules/skottie/src/effects/
DShiftChannelsEffect.cpp62 kRed = 2, enumerator
116 ScalarValue fR = static_cast<float>(Source::kRed),
/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/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 },
DReadPixelsTest.cpp396 static const uint64_t kRed = (uint64_t) SK_Half1 << 0; variable
401 kAlpha | kRed, kAlpha | kGreen, kAlpha | kBlue, kAlpha | kBlue | kGreen | kRed, kAlpha
/third_party/skia/bench/
DCreateBackendTextureBench.cpp36 kSize, kSize, kRGBA_8888_SkColorType, SkColors::kRed, fMipmapped, in onDraw()
/third_party/vk-gl-cts/external/amber/src/src/
Dcommand_data.h155 kRed, enumerator
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Darg_test.cc29 enum Color { kRed, kGreen, kBlue }; enumerator

12