Home
last modified time | relevance | path

Searched refs:pixels2 (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/tests/
H A DPremulAlphaRoundTripTest.cpp84 const uint32_t* pixels2 = readBmp2.getAddr32(0, y); in test_premul_alpha_roundtrip() local
87 if (pixels1[x] != pixels2[x]) { in test_premul_alpha_roundtrip()
88 SkDebugf("%x != %x, x = %d, y = %d\n", pixels1[x], pixels2[x], x, y); in test_premul_alpha_roundtrip()
90 REPORTER_ASSERT(reporter, success = pixels1[x] == pixels2[x]); in test_premul_alpha_roundtrip()
156 const uint32_t* pixels2 = (const uint32_t*) read2.addr(); in DEF_TEST() local
159 c2 = pixels2[y * 256 + x]; in DEF_TEST()
213 const uint32_t* pixels2 = read2.getAddr32(0, 0); in DEF_TEST() local
216 c2 = pixels2[y * 256 + x]; in DEF_TEST()
/third_party/vk-gl-cts/modules/egl/
H A DteglGLES2SharingThreadedTests.cpp3196 SharedPtr<tcu::ThreadUtil::DataBlock> pixels2; in addBufferOperations() local
3199 m_threads[1]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BYTE, pixels2, m_config.useFenceSync, m_config.serverSync)); in addBufferOperations()
3201 m_threads[0]->addOperation(new tcu::ThreadUtil::CompareData(pixels1, pixels2)); in addBufferOperations()
3297 SharedPtr<tcu::ThreadUtil::DataBlock> pixels2; in addTextureOperations() local
3303 m_threads[1]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BYTE, pixels2, m_config.useFenceSync, m_config.serverSync)); in addTextureOperations()
3305 m_threads[0]->addOperation(new tcu::ThreadUtil::CompareData(pixels1, pixels2)); in addTextureOperations()
3438 SharedPtr<tcu::ThreadUtil::DataBlock> pixels2; in addImageOperations() local
3444 m_threads[1]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BYTE, pixels2, m_config.useFenceSync, m_config.serverSync)); in addImageOperations()
3446 m_threads[0]->addOperation(new tcu::ThreadUtil::CompareData(pixels1, pixels2)); in addImageOperations()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
H A DEGLPreRotationTest.cpp265 std::vector<GLColor> pixels2(width * height); in testDrawingAndReadPixels()
266 glReadPixels(xOffset, yOffset, width, height, GL_RGBA, GL_UNSIGNED_BYTE, &pixels2[0]); in testDrawingAndReadPixels()
275 GLColor actualPixel = pixels2[index]; in testDrawingAndReadPixels()

Completed in 13 milliseconds