Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/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()
/third_party/flutter/skia/third_party/externals/angle2/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()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DBufferDataTest.cpp116 char *zeroData = new char[0]; in TEST_P() local
117 glBufferData(GL_ARRAY_BUFFER, 0, zeroData, GL_STATIC_DRAW); in TEST_P()
120 glBufferSubData(GL_ARRAY_BUFFER, 0, 0, zeroData); in TEST_P()
123 delete[] zeroData; in TEST_P()
/third_party/skia/third_party/externals/angle2/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.cpp2415 std::vector<uint8_t> zeroData(mTransformFeedbackBufferSize, 0); in setupOverrunTest() local
2418 glBufferSubData(GL_TRANSFORM_FEEDBACK_BUFFER, 0, mTransformFeedbackBufferSize, zeroData.data()); in setupOverrunTest()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsBase.cpp984 std::vector<deUint8> zeroData; in iterate() local
985 zeroData.assign(mipLevelSizeInBytes, 0u); in iterate()
987 if (deMemCmp(&bufferTexelsData[bufferOffset], zeroData.data(), mipLevelSizeInBytes) != 0) in iterate()
/third_party/vk-gl-cts/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()
/third_party/mesa3d/src/mesa/main/
Dteximage.c5019 static const GLubyte zeroData[MAX_PIXEL_BYTES]; in check_clear_tex_image() local
5074 data ? data : zeroData, in check_clear_tex_image()