/external/angle/src/tests/perf_tests/ |
D | BufferSubData.cpp | 278 std::vector<uint8_t> zeroData(params.bufferSize); in initializeBenchmark() local 279 memset(&zeroData[0], 0, zeroData.size()); in initializeBenchmark() 283 glBufferData(GL_ARRAY_BUFFER, params.bufferSize, &zeroData[0], GL_DYNAMIC_DRAW); in initializeBenchmark()
|
/external/angle/src/tests/gl_tests/ |
D | BufferDataTest.cpp | 96 char *zeroData = new char[0]; in TEST_P() local 97 glBufferData(GL_ARRAY_BUFFER, 0, zeroData, GL_STATIC_DRAW); in TEST_P() 100 glBufferSubData(GL_ARRAY_BUFFER, 0, 0, zeroData); in TEST_P() 103 delete[] zeroData; in TEST_P()
|
D | TransformFeedbackTest.cpp | 2321 std::vector<uint8_t> zeroData(mTransformFeedbackBufferSize, 0); in setupOverrunTest() local 2324 glBufferSubData(GL_TRANSFORM_FEEDBACK_BUFFER, 0, mTransformFeedbackBufferSize, zeroData.data()); in setupOverrunTest()
|
/external/deqp/modules/gles31/functional/ |
D | es31fSynchronizationTests.cpp | 2185 std::vector<deUint32> zeroData (m_workSize, 0); in init() local 2191 …gl.bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(deUint32) * m_workSize, &zeroData[0], GL_DYNAMIC_CO… in init() 2199 …gl.bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(deUint32) * m_workSize, &zeroData[0], GL_DYNAMIC_CO… in init() 2421 const std::vector<deUint32> zeroData (m_numCalls * m_workSize, 0); in init() local 2427 gl.bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(deUint32), &zeroData[0], GL_DYNAMIC_COPY); in init() 2431 …gl.bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(deUint32) * m_numCalls * m_workSize, &zeroData[0], … in init() 2645 std::vector<deUint32> zeroData (m_workSize * m_workSize, 0); in init() local 2667 …gl.bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(deUint32) * m_workSize * m_workSize, &zeroData[0], … in init() 2873 const std::vector<deUint32> zeroData(m_workSize*m_workSize, 0); in readWorkImage() local 2876 …DER_STORAGE_BUFFER, (int)(sizeof(deUint32) * m_workSize * m_workSize), &zeroData[0], GL_DYNAMIC_CO… in readWorkImage()
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesShaderIntrinsicsBase.cpp | 947 std::vector<deUint8> zeroData; in iterate() local 948 zeroData.assign(mipLevelSizeInBytes, 0u); in iterate() 950 if (deMemCmp(&bufferTexelsData[bufferOffset], zeroData.data(), mipLevelSizeInBytes) != 0) in iterate()
|
/external/deqp/modules/gles3/performance/ |
D | es3pBufferDataUploadTests.cpp | 2024 const std::vector<deUint8> zeroData (maxBufferSize, 0x00); in iterate() local 2042 gl.bufferData(GL_ARRAY_BUFFER, randomSize, &zeroData[0], usage); in iterate() 2072 const std::vector<deUint8> zeroData (maxBufferSize, 0x00); in iterate() local 2086 gl.bufferData(GL_ARRAY_BUFFER, randomSize, &zeroData[0], usage); in iterate() 2107 gl.bufferData(GL_ARRAY_BUFFER, randomSize, &zeroData[0], usage); in iterate() 2119 medianTimeMemcpy(ptr, &zeroData[0], randomSize); in iterate()
|
/external/mesa3d/src/mesa/main/ |
D | teximage.c | 4990 static const GLubyte zeroData[MAX_PIXEL_BYTES]; in check_clear_tex_image() local 5045 data ? data : zeroData, in check_clear_tex_image()
|