/external/angle/src/tests/gl_tests/ |
D | BufferDataTest.cpp | 817 const std::array<GLColor, 4> kInitialData = {GLColor::red, GLColor::red, GLColor::red, in TEST_P() local 826 glBufferData(GL_UNIFORM_BUFFER, sizeof(kInitialData), kInitialData.data(), GL_DYNAMIC_DRAW); in TEST_P() 855 glUniform1ui(expectLoc, kInitialData[0].asUint()); in TEST_P() 865 void *mappedBuffer = glMapBufferRange(GL_UNIFORM_BUFFER, 0, sizeof(kInitialData), in TEST_P() 868 memcpy(mappedBuffer, kUpdateData1.data(), sizeof(kInitialData)); in TEST_P()
|
D | ReadPixelsTest.cpp | 502 const std::array<GLColor, 4> kInitialData = {GLColor::red, GLColor::red, GLColor::red, in TEST_P() local 509 glBufferData(GL_UNIFORM_BUFFER, sizeof(kInitialData), kInitialData.data(), GL_DYNAMIC_COPY); in TEST_P() 532 glBufferSubData(GL_UNIFORM_BUFFER, 0, sizeof(kInitialData), kUpdateData.data()); in TEST_P() 548 glMapBufferRange(GL_PIXEL_PACK_BUFFER, 0, sizeof(kInitialData), GL_MAP_READ_BIT); in TEST_P()
|
D | VulkanPerformanceCounterTest.cpp | 183 GLColor kInitialData[4] = {GLColor::red, GLColor::blue, GLColor::green, GLColor::yellow}; in TEST_P() local 188 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, kInitialData); in TEST_P() 216 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, kInitialData); in TEST_P() 314 GLColor kInitialData[4] = {GLColor::red, GLColor::blue, GLColor::green, GLColor::yellow}; in TEST_P() local 319 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, kInitialData); in TEST_P() 320 glTexImage2D(GL_TEXTURE_2D, 1, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, kInitialData); in TEST_P()
|
D | TransformFeedbackTest.cpp | 397 const std::array<uint32_t, 12> kInitialData = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; in TEST_P() local 405 glBufferData(GL_UNIFORM_BUFFER, sizeof(kInitialData), kInitialData.data(), GL_DYNAMIC_DRAW); in TEST_P() 431 glBufferSubData(GL_UNIFORM_BUFFER, 0, sizeof(kInitialData), kUpdateData.data()); in TEST_P()
|
D | UniformBufferTest.cpp | 793 const std::array<uint32_t, 4> kInitialData = {100, 200, 300, 400}; in TEST_P() local 798 glBufferData(GL_UNIFORM_BUFFER, sizeof(kInitialData), kInitialData.data(), GL_DYNAMIC_DRAW); in TEST_P() 821 glBufferSubData(GL_UNIFORM_BUFFER, 0, sizeof(kInitialData), kUpdateData.data()); in TEST_P()
|
D | ComputeShaderTest.cpp | 693 const std::array<uint32_t, 4> kInitialData = {1, 2, 3, 4}; in TEST_P() local 698 glBufferData(GL_UNIFORM_BUFFER, sizeof(kInitialData), kInitialData.data(), GL_DYNAMIC_DRAW); in TEST_P() 721 glBufferSubData(GL_UNIFORM_BUFFER, 0, sizeof(kInitialData), kUpdateData.data()); in TEST_P()
|
D | ShaderStorageBufferTest.cpp | 336 constexpr unsigned int kInitialData = 123u; in TEST_P() local 342 glBufferData(GL_SHADER_STORAGE_BUFFER, kBytesPerComponent, &kInitialData, GL_STATIC_DRAW); in TEST_P()
|
D | TextureTest.cpp | 8930 const std::array<GLColor, 4> kInitialData = {GLColor::red, GLColor::red, GLColor::red, in TEST_P() local 8937 glBufferData(GL_UNIFORM_BUFFER, sizeof(kInitialData), kInitialData.data(), GL_DYNAMIC_COPY); in TEST_P() 8960 glBufferSubData(GL_UNIFORM_BUFFER, 0, sizeof(kInitialData), kUpdateData.data()); in TEST_P() 9525 const std::array<GLColor, 4> kInitialData = {GLColor::red, GLColor::red, GLColor::red, in TEST_P() local 9532 glBufferData(GL_UNIFORM_BUFFER, sizeof(kInitialData), kInitialData.data(), GL_DYNAMIC_DRAW); in TEST_P() 9555 glBufferSubData(GL_UNIFORM_BUFFER, 0, sizeof(kInitialData), kUpdateData.data()); in TEST_P()
|
D | ClearTest.cpp | 2391 const std::vector<GLColor> kInitialData(kSize * kSize, GLColor::red); in TEST_P() local 2397 kInitialData.data()); in TEST_P()
|