Searched refs:kResultSize (Results 1 – 4 of 4) sorted by relevance
/external/angle/src/tests/gl_tests/ |
D | FramebufferMixedSamplesTest.cpp | 193 const GLint kResultSize = kWidth * kHeight * 4; in TEST_P() local 211 results[pass].reset(new uint8_t[kResultSize]); in TEST_P() 212 memset(results[pass].get(), 123u, kResultSize); in TEST_P() 218 EXPECT_NE(0, memcmp(results[0].get(), results[1].get(), kResultSize)); in TEST_P() 221 EXPECT_EQ(0, memcmp(results[0].get(), results[2].get(), kResultSize)); in TEST_P() 238 const GLint kResultSize = kWidth * kHeight * 4; in TEST_P() local 256 results[pass].reset(new uint8_t[kResultSize]); in TEST_P() 257 memset(results[pass].get(), 12u, kResultSize); in TEST_P() 263 EXPECT_NE(0, memcmp(results[0].get(), results[1].get(), kResultSize)); in TEST_P() 266 EXPECT_EQ(0, memcmp(results[0].get(), results[2].get(), kResultSize)); in TEST_P()
|
D | MultisampleCompatibilityTest.cpp | 187 const GLint kResultSize = kWidth * kHeight * 4; in TEST_P() local 211 results[pass].reset(new uint8_t[kResultSize]); in TEST_P() 212 memset(results[pass].get(), 123u, kResultSize); in TEST_P() 217 EXPECT_NE(0, memcmp(results[0].get(), results[1].get(), kResultSize)); in TEST_P() 220 EXPECT_EQ(0, memcmp(results[0].get(), results[2].get(), kResultSize)); in TEST_P() 243 const GLint kResultSize = kWidth * kHeight * 4; in TEST_P() local 264 results[pass].reset(new uint8_t[kResultSize]); in TEST_P() 265 memset(results[pass].get(), 123u, kResultSize); in TEST_P() 274 EXPECT_NE(0, memcmp(results[0].get(), results[1].get(), kResultSize)); in TEST_P() 277 EXPECT_EQ(0, memcmp(results[0].get(), results[2].get(), kResultSize)); in TEST_P()
|
D | ComputeShaderTest.cpp | 1652 constexpr int kResultSize = kWidth * kHeight; in TEST_P() local 1656 GLuint outputValues[kResultSize]; in TEST_P() 1689 for (int i = 0; i < kResultSize; i++) in TEST_P() 1696 for (int i = 0; i < kResultSize; i++) in TEST_P() 1723 constexpr int kResultSize = kWidth * kHeight; in TEST_P() local 1727 GLuint outputValues[kResultSize]; in TEST_P() 1760 for (int i = 0; i < kResultSize; i++) in TEST_P() 1767 for (int i = 0; i < kResultSize; i++) in TEST_P() 1794 constexpr int kResultSize = kWidth * kHeight; in TEST_P() local 1798 GLuint outputValues[kResultSize]; in TEST_P() [all …]
|
D | StateChangeTest.cpp | 4568 constexpr GLsizei kResultSize = sizeof(uint32_t); in TEST_P() local 4571 glBufferData(GL_SHADER_STORAGE_BUFFER, kResultSize, nullptr, GL_STATIC_DRAW); in TEST_P() 4584 glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, kResultSize, GL_MAP_READ_BIT)); in TEST_P()
|