Home
last modified time | relevance | path

Searched refs:kResultSize (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DFramebufferMixedSamplesTest.cpp193 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()
DMultisampleCompatibilityTest.cpp187 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()
DComputeShaderTest.cpp1731 constexpr int kResultSize = kWidth * kHeight; in TEST_P() local
1735 GLuint outputValues[kResultSize]; in TEST_P()
1768 for (int i = 0; i < kResultSize; i++) in TEST_P()
1775 for (int i = 0; i < kResultSize; i++) in TEST_P()
1802 constexpr int kResultSize = kWidth * kHeight; in TEST_P() local
1806 GLuint outputValues[kResultSize]; in TEST_P()
1839 for (int i = 0; i < kResultSize; i++) in TEST_P()
1846 for (int i = 0; i < kResultSize; i++) in TEST_P()
1873 constexpr int kResultSize = kWidth * kHeight; in TEST_P() local
1877 GLuint outputValues[kResultSize]; in TEST_P()
[all …]
DStateChangeTest.cpp4656 constexpr GLsizei kResultSize = sizeof(uint32_t); in TEST_P() local
4659 glBufferData(GL_SHADER_STORAGE_BUFFER, kResultSize, nullptr, GL_STATIC_DRAW); in TEST_P()
4672 glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, kResultSize, GL_MAP_READ_BIT)); in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DFramebufferMixedSamplesTest.cpp193 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()
DMultisampleCompatibilityTest.cpp184 const GLint kResultSize = kWidth * kHeight * 4; in TEST_P() local
208 results[pass].reset(new uint8_t[kResultSize]); in TEST_P()
209 memset(results[pass].get(), 123u, kResultSize); in TEST_P()
214 EXPECT_NE(0, memcmp(results[0].get(), results[1].get(), kResultSize)); in TEST_P()
217 EXPECT_EQ(0, memcmp(results[0].get(), results[2].get(), kResultSize)); in TEST_P()
240 const GLint kResultSize = kWidth * kHeight * 4; in TEST_P() local
261 results[pass].reset(new uint8_t[kResultSize]); in TEST_P()
262 memset(results[pass].get(), 123u, kResultSize); in TEST_P()
271 EXPECT_NE(0, memcmp(results[0].get(), results[1].get(), kResultSize)); in TEST_P()
274 EXPECT_EQ(0, memcmp(results[0].get(), results[2].get(), kResultSize)); in TEST_P()
DComputeShaderTest.cpp1352 constexpr int kResultSize = kWidth * kHeight; in TEST_P() local
1356 GLuint outputValues[kResultSize]; in TEST_P()
1389 for (int i = 0; i < kResultSize; i++) in TEST_P()
1396 for (int i = 0; i < kResultSize; i++) in TEST_P()
1422 constexpr int kResultSize = kWidth * kHeight; in TEST_P() local
1426 GLuint outputValues[kResultSize]; in TEST_P()
1459 for (int i = 0; i < kResultSize; i++) in TEST_P()
1466 for (int i = 0; i < kResultSize; i++) in TEST_P()
1496 constexpr int kResultSize = kWidth * kHeight; in TEST_P() local
1500 GLuint outputValues[kResultSize]; in TEST_P()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DMultisampledSamplingTests.cpp187 static constexpr uint64_t kResultSize = 4 * sizeof(float) + 4 * sizeof(float); in TEST_P() local
188 uint64_t alignedResultSize = Align(kResultSize, 256); in TEST_P()
217 {2, outputBuffer, alignedResultSize * sampleOffset, kResultSize}})); in TEST_P()