Home
last modified time | relevance | path

Searched refs:expectedPixel (Results 1 – 15 of 15) sorted by relevance

/third_party/flutter/skia/tests/
DVkDrawableTest.cpp243 SkPMColor expectedPixel; in draw_drawable_test() local
249 expectedPixel = 0xFFFF0000; // Blue in draw_drawable_test()
251 expectedPixel = 0xFF0000FF; // Red in draw_drawable_test()
254 expectedPixel = 0xFF00FF00; // Green in draw_drawable_test()
256 if (expectedPixel != canvasPixel) { in draw_drawable_test()
259 cx, cy, canvasPixel, expectedPixel); in draw_drawable_test()
DSurfaceSemaphoreTest.cpp41 SkPMColor expectedPixel; in check_pixels() local
47 expectedPixel = 0xFF0000FF; // Red in check_pixels()
49 expectedPixel = 0xFFFF0000; // Blue in check_pixels()
52 expectedPixel = 0xFF00FF00; // Green in check_pixels()
54 if (expectedPixel != canvasPixel) { in check_pixels()
57 cx, cy, canvasPixel, expectedPixel); in check_pixels()
/third_party/skia/tests/
DVkDrawableTest.cpp250 SkPMColor expectedPixel; in draw_drawable_test() local
256 expectedPixel = 0xFFFF0000; // Blue in draw_drawable_test()
258 expectedPixel = 0xFF0000FF; // Red in draw_drawable_test()
261 expectedPixel = 0xFF00FF00; // Green in draw_drawable_test()
263 if (expectedPixel != canvasPixel) { in draw_drawable_test()
266 cx, cy, canvasPixel, expectedPixel); in draw_drawable_test()
DSurfaceSemaphoreTest.cpp44 SkPMColor expectedPixel; in check_pixels() local
50 expectedPixel = 0xFF0000FF; // Red in check_pixels()
52 expectedPixel = 0xFFFF0000; // Blue in check_pixels()
55 expectedPixel = 0xFF00FF00; // Green in check_pixels()
57 if (expectedPixel != canvasPixel) { in check_pixels()
60 cx, cy, canvasPixel, expectedPixel); in check_pixels()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DTextureViewTests.cpp190 RGBA8 expectedPixel(0, 0, 0, expected); in Verify() local
191 EXPECT_PIXEL_RGBA8_EQ(expectedPixel, mRenderPass.color, 0, 0); in Verify()
193 expectedPixel, mRenderPass.color, mRenderPass.width - 1, mRenderPass.height - 1); in Verify()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DTextureViewTests.cpp195 RGBA8 expectedPixel(0, 0, 0, expected); in Verify() local
196 EXPECT_PIXEL_RGBA8_EQ(expectedPixel, mRenderPass.color, 0, 0); in Verify()
197 EXPECT_PIXEL_RGBA8_EQ(expectedPixel, mRenderPass.color, mRenderPass.width - 1, in Verify()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
DvktMeshShaderPropertyTestsEXT.cpp781 const tcu::UVec4 expectedPixel (static_cast<uint32_t>(z) + 1u, 0u, 0u, 1u); in iterate() local
786 if (resultPixel != expectedPixel) in iterate()
791 << resultPixel << " while expecting " << expectedPixel in iterate()
997 const tcu::UVec4 expectedPixel (static_cast<uint32_t>(z) + 1u, 0u, 0u, 1u); in iterate() local
1002 if (resultPixel != expectedPixel) in iterate()
1007 << resultPixel << " while expecting " << expectedPixel in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderPropertyTestsEXT.cpp781 const tcu::UVec4 expectedPixel (static_cast<uint32_t>(z) + 1u, 0u, 0u, 1u); in iterate() local
786 if (resultPixel != expectedPixel) in iterate()
791 << resultPixel << " while expecting " << expectedPixel in iterate()
997 const tcu::UVec4 expectedPixel (static_cast<uint32_t>(z) + 1u, 0u, 0u, 1u); in iterate() local
1002 if (resultPixel != expectedPixel) in iterate()
1007 << resultPixel << " while expecting " << expectedPixel in iterate()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLPreRotationTest.cpp252 GLColor expectedPixel(xOffset + x, yOffset + y, 0, 255); in testDrawingAndReadPixels() local
254 EXPECT_EQ(expectedPixel, actualPixel); in testDrawingAndReadPixels()
274 GLColor expectedPixel(xOffset + x, yOffset + y, 0, 255); in testDrawingAndReadPixels() local
276 EXPECT_EQ(expectedPixel, actualPixel); in testDrawingAndReadPixels()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTests.cpp3174 tcu::Vec4 expectedPixel = m_renderColor; in verifyImage() local
3190 expectedPixel = expectedPixel * tcu::Vec4(0.5f); in verifyImage()
3196 …if (m_renderColor[componentNdx] != 0.0f && (resultPixel[componentNdx] <= expectedPixel[componentNd… in verifyImage()
3197 || resultPixel[componentNdx] >= expectedPixel[componentNdx] * (1.0f + threshold))) in verifyImage()
3204 …<< " Reference range ( " << expectedPixel * (1.0f - threshold) << " ; " << expectedPixel * (1.0f +… in verifyImage()
DvktPipelineExtendedDynamicStateTests.cpp5169 const auto expectedPixel = referenceColorAccess.getPixel(x, y); in iterate() local
5170 …match = tcu::boolAll(tcu::lessThan(tcu::absDiff(colorPixel, expectedPixel), kUnormColorThreshold)); in iterate()
5176 const auto expectedPixel = referenceColorAccess.getPixelUint(x, y); in iterate() local
5177 match = (colorPixel == expectedPixel); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineMultisampleTests.cpp3174 tcu::Vec4 expectedPixel = m_renderColor; in verifyImage() local
3190 expectedPixel = expectedPixel * tcu::Vec4(0.5f); in verifyImage()
3196 …if (m_renderColor[componentNdx] != 0.0f && (resultPixel[componentNdx] <= expectedPixel[componentNd… in verifyImage()
3197 || resultPixel[componentNdx] >= expectedPixel[componentNdx] * (1.0f + threshold))) in verifyImage()
3204 …<< " Reference range ( " << expectedPixel * (1.0f - threshold) << " ; " << expectedPixel * (1.0f +… in verifyImage()
DvktPipelineExtendedDynamicStateTests.cpp5169 const auto expectedPixel = referenceColorAccess.getPixel(x, y); in iterate() local
5170 …match = tcu::boolAll(tcu::lessThan(tcu::absDiff(colorPixel, expectedPixel), kUnormColorThreshold)); in iterate()
5176 const auto expectedPixel = referenceColorAccess.getPixelUint(x, y); in iterate() local
5177 match = (colorPixel == expectedPixel); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp4645 const auto expectedPixel = colors[y * iWidth + x]; in iterate() local
4646 …const tcu::UVec4 expectedValue (expectedPixel.x(), expectedPixel.y(), expectedPixel.z(), expectedP… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiCommandBuffersTests.cpp4645 const auto expectedPixel = colors[y * iWidth + x]; in iterate() local
4646 …const tcu::UVec4 expectedValue (expectedPixel.x(), expectedPixel.y(), expectedPixel.z(), expectedP… in iterate()