Home
last modified time | relevance | path

Searched refs:actualPixels (Results 1 – 7 of 7) sorted by relevance

/third_party/flutter/skia/tests/
DGrTestingBackendTextureUploadTest.cpp24 SkAutoPixmapStorage expectedPixels, actualPixels; in testing_only_texture_test() local
26 actualPixels.alloc(ii); in testing_only_texture_test()
82 actualPixels.writable_addr(), actualPixels.rowBytes(), in testing_only_texture_test()
87 actualPixels.addr32(), in testing_only_texture_test()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DGetImageTest.cpp481 std::vector<GLColor> actualPixels(expectedPixels.size(), GLColor::white); in TEST_P() local
482 glGetTexImageANGLE(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA, GL_UNSIGNED_BYTE, actualPixels.data()); in TEST_P()
484 EXPECT_EQ(expectedPixels, actualPixels); in TEST_P()
506 std::vector<GLColor> actualPixels(expectedPixels.size(), GLColor::white); in TEST_P() local
507 glGetTexImageANGLE(GL_TEXTURE_3D, 0, GL_RGBA, GL_UNSIGNED_BYTE, actualPixels.data()); in TEST_P()
509 EXPECT_EQ(expectedPixels, actualPixels); in TEST_P()
539 std::vector<GLColor> actualPixels(expectedPixels.size(), GLColor::white); in TEST_P() local
541 actualPixels.data()); in TEST_P()
543 EXPECT_EQ(expectedPixels, actualPixels); in TEST_P()
DDepthStencilFormatsTest.cpp356 GLubyte actualPixels[destRes * destRes * 8]; in depthStencilReadbackCase() local
358 hasFloatDepth ? GL_FLOAT : GL_UNSIGNED_SHORT, actualPixels); in depthStencilReadbackCase()
366 const float *pixels = reinterpret_cast<const float *>(actualPixels); in depthStencilReadbackCase()
380 const unsigned short *pixels = reinterpret_cast<const unsigned short *>(actualPixels); in depthStencilReadbackCase()
393 glReadPixels(0, 0, destRes, destRes, GL_STENCIL_INDEX_OES, GL_UNSIGNED_BYTE, actualPixels); in depthStencilReadbackCase()
397 ASSERT_TRUE((actualPixels[0] == 1) && (actualPixels[1] == 2) && in depthStencilReadbackCase()
398 (actualPixels[0 + destRes] == 3) && (actualPixels[1 + destRes] = 4)); in depthStencilReadbackCase()
693 GLubyte actualPixels[destRes * destRes * 4]; in TEST_P() local
694 glReadPixels(0, 0, destRes, destRes, GL_RGBA, GL_UNSIGNED_BYTE, actualPixels); in TEST_P()
729 const GLfloat was = (GLfloat)(actualPixels[4 * t] / 255.0); // 4bpp in TEST_P()
DInstancingTest.cpp589 std::vector<GLColor> actualPixels(getWindowWidth() * getWindowHeight()); in TEST_P() local
591 actualPixels.data()); in TEST_P()
592 EXPECT_EQ(expectedPixels, actualPixels); in TEST_P()
599 actualPixels.data()); in TEST_P()
600 EXPECT_EQ(expectedPixels, actualPixels); in TEST_P()
DRobustResourceInitTest.cpp1666 std::array<std::array<GLColor, Size>, Size> actualPixels; in VerifyRGBA8PixelRect() local
1667 glReadPixels(0, 0, Size, Size, GL_RGBA, GL_UNSIGNED_BYTE, actualPixels.data()); in VerifyRGBA8PixelRect()
1676 EXPECT_EQ(actualPixels[y][x], GLColor::red) << " at " << x << ", " << y; in VerifyRGBA8PixelRect()
1680 EXPECT_EQ(actualPixels[y][x], GLColor::transparentBlack) in VerifyRGBA8PixelRect()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DDepthStencilFormatsTest.cpp459 GLubyte actualPixels[destRes * destRes * 4]; in TEST_P() local
460 glReadPixels(0, 0, destRes, destRes, GL_RGBA, GL_UNSIGNED_BYTE, actualPixels); in TEST_P()
495 const GLfloat was = (GLfloat)(actualPixels[4 * t] / 255.0); // 4bpp in TEST_P()
DRobustResourceInitTest.cpp1449 std::array<std::array<GLColor, Size>, Size> actualPixels; in VerifyRGBA8PixelRect() local
1450 glReadPixels(0, 0, Size, Size, GL_RGBA, GL_UNSIGNED_BYTE, actualPixels.data()); in VerifyRGBA8PixelRect()
1459 EXPECT_EQ(actualPixels[y][x], GLColor::red) << " at " << x << ", " << y; in VerifyRGBA8PixelRect()
1463 EXPECT_EQ(actualPixels[y][x], GLColor::transparentBlack) in VerifyRGBA8PixelRect()