Home
last modified time | relevance | path

Searched refs:expectedPixels (Results 1 – 6 of 6) sorted by relevance

/external/skia/tests/
DRectangleTextureTest.cpp58 SkAutoTMalloc<uint32_t> expectedPixels(pixelCnt); in test_clear() local
68 expectedPixels.get()[i] = expectedColor0; in test_clear()
86 expectedPixels.get()[y * h + x] = expectedColor1; in test_clear()
90 test_read_pixels(reporter, rtc, expectedPixels.get(), "RectangleTexture-clear"); in test_clear()
/external/skqp/tests/
DRectangleTextureTest.cpp58 SkAutoTMalloc<uint32_t> expectedPixels(pixelCnt); in test_clear() local
68 expectedPixels.get()[i] = expectedColor0; in test_clear()
86 expectedPixels.get()[y * h + x] = expectedColor1; in test_clear()
90 test_read_pixels(reporter, rtc, expectedPixels.get(), "RectangleTexture-clear"); in test_clear()
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderViewportLayerArrayTests.cpp389 std::vector<std::pair<tcu::Vec2, tcu::Vec4> > expectedPixels; in iterate() local
402 expectedPixels.push_back(std::make_pair(center, renderColor)); in iterate()
406 expectedPixels.push_back(std::make_pair(center, backgroundColor)); in iterate()
410 for (size_t i = 0; i < expectedPixels.size(); ++i) in iterate()
413 …gl.readPixels((glw::GLint)expectedPixels[i].first.x(), (glw::GLint)expectedPixels[i].first.y(), 1,… in iterate()
417 tcu::Vec4(rgba[0], rgba[1], rgba[2], rgba[3]), expectedPixels[i].second); in iterate()
Dgl4cES31CompatibilityShaderStorageBufferObjectTests.cpp5429 int expectedPixels = 6400; in Run() local
5433 glBufferData(GL_SHADER_STORAGE_BUFFER, expectedPixels * 32, NULL, GL_DYNAMIC_DRAW); in Run()
5464 glUniform1ui(glGetUniformLocation(m_program[0], "g_max_fragment_count"), expectedPixels); in Run()
5476 glDrawArrays(GL_POINTS, 0, expectedPixels); in Run()
Dgl4cShaderStorageBufferObjectTests.cpp5858 int expectedPixels = 6400; in Run() local
5862 glBufferData(GL_SHADER_STORAGE_BUFFER, expectedPixels * 32, NULL, GL_DYNAMIC_DRAW); in Run()
5893 glUniform1ui(glGetUniformLocation(m_program[0], "g_max_fragment_count"), expectedPixels); in Run()
5906 glDrawArrays(GL_POINTS, 0, expectedPixels); in Run()
/external/deqp/external/openglcts/modules/gles31/
Des31cShaderStorageBufferObjectTests.cpp5564 int expectedPixels = 6400; in Run() local
5568 glBufferData(GL_SHADER_STORAGE_BUFFER, expectedPixels * 32, NULL, GL_DYNAMIC_DRAW); in Run()
5599 glUniform1ui(glGetUniformLocation(m_program[0], "g_max_fragment_count"), expectedPixels); in Run()
5611 glDrawArrays(GL_POINTS, 0, expectedPixels); in Run()