Home
last modified time | relevance | path

Searched refs:zeroData (Results 1 – 7 of 7) sorted by relevance

/external/angle/src/tests/perf_tests/
DBufferSubData.cpp278 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/
DBufferDataTest.cpp96 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()
DTransformFeedbackTest.cpp2321 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/
Des31fSynchronizationTests.cpp2185 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/
DvktSparseResourcesShaderIntrinsicsBase.cpp947 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/
Des3pBufferDataUploadTests.cpp2024 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/
Dteximage.c4990 static const GLubyte zeroData[MAX_PIXEL_BYTES]; in check_clear_tex_image() local
5045 data ? data : zeroData, in check_clear_tex_image()