Home
last modified time | relevance | path

Searched refs:zeroBuffer (Results 1 – 18 of 18) sorted by relevance

/third_party/node/benchmark/buffers/
Dbuffer-zero.js10 const zeroBuffer = Buffer.alloc(0); constant
14 const data = type === 'buffer' ? zeroBuffer : zeroString;
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_stream.cpp742 dng_memory_data zeroBuffer (kZeroBufferSize); in PutZeros() local
744 DoZeroBytes (zeroBuffer.Buffer (), in PutZeros()
752 Put (zeroBuffer.Buffer (), (uint32) blockSize); in PutZeros()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSynchronizationTests.cpp233 std::vector<deUint32> zeroBuffer (bufferElements, 0); in init() local
239 gl.bufferData(GL_SHADER_STORAGE_BUFFER, bufferSize, &zeroBuffer[0], GL_STATIC_DRAW); in init()
260 const std::vector<deInt32> zeroBuffer(m_workWidth * m_workHeight * m_elementsPerInvocation, 0); in init() local
261 …0, 0, m_workWidth, m_workHeight * m_elementsPerInvocation, GL_RED_INTEGER, GL_INT, &zeroBuffer[0]); in init()
1664 const std::vector<deUint32> zeroBuffer(numElements, 0); in genStorage() local
1665 gl.bufferData(GL_SHADER_STORAGE_BUFFER, bufferSize, &zeroBuffer[0], GL_STATIC_DRAW); in genStorage()
1669 const std::vector<float> zeroBuffer(numElements, 0.0f); in genStorage() local
1670 gl.bufferData(GL_SHADER_STORAGE_BUFFER, bufferSize, &zeroBuffer[0], GL_STATIC_DRAW); in genStorage()
1708 const std::vector<deInt32> zeroBuffer(imageWidth * imageHeight, 0); in genStorage() local
1709 …ubImage2D(GL_TEXTURE_2D, 0, 0, 0, imageWidth, imageHeight, GL_RED_INTEGER, GL_INT, &zeroBuffer[0]); in genStorage()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkMemUtil.hpp189 void zeroBuffer (const DeviceInterface& vk,
DvkMemUtil.cpp470 void zeroBuffer (const DeviceInterface& vk, in zeroBuffer() function
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
DvktFragmentOperationsScissorTests.cpp457 zeroBuffer(vk, device, *colorBufferFullAlloc, colorBufferSize); in test()
458 zeroBuffer(vk, device, *colorBufferScissoredAlloc, colorBufferSize); in test()
DvktFragmentOperationsScissorMultiViewportTests.cpp414 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize); in test()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorTests.cpp457 zeroBuffer(vk, device, *colorBufferFullAlloc, colorBufferSize); in test()
458 zeroBuffer(vk, device, *colorBufferScissoredAlloc, colorBufferSize); in test()
DvktFragmentOperationsScissorMultiViewportTests.cpp414 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize); in test()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp1261 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize); in test()
1506 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize); in testLayeredReadBack()
1507 zeroBuffer(vk, device, *depthBufferAlloc, depthBufferSize); in testLayeredReadBack()
1508 zeroBuffer(vk, device, *stencilBufferAlloc, stencilBufferSize); in testLayeredReadBack()
1622 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize); in testSecondaryCmdBuffer()
DvktGeometryInstancedRenderingTests.cpp378 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize); in test()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp1261 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize); in test()
1506 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize); in testLayeredReadBack()
1507 zeroBuffer(vk, device, *depthBufferAlloc, depthBufferSize); in testLayeredReadBack()
1508 zeroBuffer(vk, device, *stencilBufferAlloc, stencilBufferSize); in testLayeredReadBack()
1622 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize); in testSecondaryCmdBuffer()
DvktGeometryInstancedRenderingTests.cpp378 zeroBuffer(vk, device, *colorBufferAlloc, colorBufferSize); in test()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineMultisampleImageTests.cpp1204 zeroBuffer(vk, device, *checksumBufferAlloc, checksumBufferSize); in test()
1622 zeroBuffer(vk, device, *resolveImageOneBufferAlloc, resolveBufferSize); in test()
1623 zeroBuffer(vk, device, *resolveImageTwoBufferAlloc, resolveBufferSize); in test()
1780 zeroBuffer(vk, device, *checksumBufferAlloc, checksumBufferSize); in test()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleImageTests.cpp1204 zeroBuffer(vk, device, *checksumBufferAlloc, checksumBufferSize); in test()
1622 zeroBuffer(vk, device, *resolveImageOneBufferAlloc, resolveBufferSize); in test()
1623 zeroBuffer(vk, device, *resolveImageTwoBufferAlloc, resolveBufferSize); in test()
1780 zeroBuffer(vk, device, *checksumBufferAlloc, checksumBufferSize); in test()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_utils.mm331 mtl::BufferRef zeroBuffer;
332 ANGLE_TRY(mtl::Buffer::MakeBuffer(contextMtl, bytesPerImage, nullptr, &zeroBuffer));
337 blitEncoder->copyBufferToTexture(zeroBuffer, 0, bytesPerRow, 0,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp819 angle::MemoryBuffer *zeroBuffer = nullptr; in initializeContents() local
820 ANGLE_CHECK_GL_ALLOC(contextD3D, context->getZeroFilledBuffer(imageBytes, &zeroBuffer)); in initializeContents()
825 zeroDataUnpackState, zeroBuffer->data())); in initializeContents()
831 zeroBuffer->data(), false)); in initializeContents()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.cpp761 angle::MemoryBuffer *zeroBuffer = nullptr; in initializeContents() local
762 ANGLE_CHECK_GL_ALLOC(contextD3D, context->getZeroFilledBuffer(imageBytes, &zeroBuffer)); in initializeContents()
767 zeroDataUnpackState, zeroBuffer->data())); in initializeContents()
773 zeroBuffer->data(), false)); in initializeContents()