Home
last modified time | relevance | path

Searched refs:kInitialData (Results 1 – 9 of 9) sorted by relevance

/external/angle/src/tests/gl_tests/
DBufferDataTest.cpp817 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()
DReadPixelsTest.cpp502 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()
DVulkanPerformanceCounterTest.cpp183 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()
DTransformFeedbackTest.cpp397 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()
DUniformBufferTest.cpp793 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()
DComputeShaderTest.cpp693 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()
DShaderStorageBufferTest.cpp336 constexpr unsigned int kInitialData = 123u; in TEST_P() local
342 glBufferData(GL_SHADER_STORAGE_BUFFER, kBytesPerComponent, &kInitialData, GL_STATIC_DRAW); in TEST_P()
DTextureTest.cpp8930 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()
DClearTest.cpp2391 const std::vector<GLColor> kInitialData(kSize * kSize, GLColor::red); in TEST_P() local
2397 kInitialData.data()); in TEST_P()