Home
last modified time | relevance | path

Searched refs:bufferUsage (Results 1 – 15 of 15) sorted by relevance

/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBufferD3D12.cpp90 auto bufferUsage = D3D12_RESOURCE_STATE_COMMON; in Buffer() local
95 bufferUsage |= D3D12_RESOURCE_STATE_COPY_DEST; in Buffer()
103 bufferUsage |= D3D12_RESOURCE_STATE_GENERIC_READ; in Buffer()
109 device->GetResourceAllocator()->Allocate(heapType, resourceDescriptor, bufferUsage); in Buffer()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBufferD3D12.cpp135 auto bufferUsage = D3D12_RESOURCE_STATE_COMMON; in Initialize() local
140 bufferUsage |= D3D12_RESOURCE_STATE_COPY_DEST; in Initialize()
148 bufferUsage |= D3D12_RESOURCE_STATE_GENERIC_READ; in Initialize()
155 ToBackend(GetDevice())->AllocateMemory(heapType, resourceDescriptor, bufferUsage)); in Initialize()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cIndirectParametersTests.cpp152 GLint bufferUsage; in iterate() local
155 gl.getBufferParameteriv(GL_PARAMETER_BUFFER_ARB, GL_BUFFER_USAGE, &bufferUsage); in iterate()
163 else if (bufferUsage != GL_DYNAMIC_DRAW) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawAhbTests.cpp284 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_… in iterate() local
292 bufferUsage, // VkBufferUsageFlags usage in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSparseRenderTargetTests.cpp177 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFE… in createBuffer() local
186 bufferUsage, in createBuffer()
DvktRenderPassSampleReadTests.cpp216 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFE… in createBuffer() local
225 bufferUsage, in createBuffer()
DvktRenderPassDepthStencilResolveTests.cpp792 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFE… in createBuffer() local
802 bufferUsage, in createBuffer()
DvktRenderPassSubpassDependencyTests.cpp302 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_… in createBuffer() local
310 bufferUsage, // VkBufferUsageFlags usage in createBuffer()
1940 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT | VK_BUFFER_USAGE_STORAG… in iterateInternal() local
1947 bufferUsage, // VkBufferUsageFlags usage in iterateInternal()
DvktRenderPassMultisampleTests.cpp408 …const VkBufferUsageFlags bufferUsage (VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFE… in createBuffer() local
417 bufferUsage, in createBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTests.cpp318 VkBufferUsageFlags bufferUsage);
325 VkBufferUsageFlags bufferUsage,
948 VkBufferUsageFlags bufferUsage) in createBuffers() argument
951 …VkDeviceSize bufferSize = ut::createBufferAndBind(buffer, m_context, bufferUsage, (roundedSize * … in createBuffers()
971 VkBufferUsageFlags bufferUsage, in createImages() argument
981 …erSize = createBuffers(bufferInfos, buffer, imageCount, imageSize, sizeof(tcu::Vec4), bufferUsage); in createImages()
3932 …const VkBufferUsageFlags bufferUsage = VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | VK_BUFFER_USAGE_TRANSF… in createAndPopulateDescriptors() local
3939bufferUsage, imageExtent, imageFormat, VK_IMAGE_LAYOUT_UNDEFINED, variables.validDescriptorCount); in createAndPopulateDescriptors()
3952 bufferUsage, m_testParams.frameResolution, imageFormat, VK_IMAGE_LAYOUT_UNDEFINED, 1); in createAndPopulateDescriptors()
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp2202 deUint32 bufferUsage,
2245 …* desc, int bufferSizeMin, int bufferSizeMax, int numSamples, deUint32 bufferUsage, CaseType caseT… in BasicUploadCase() argument
2250 , m_bufferUsage (bufferUsage) in BasicUploadCase()
2553 …* desc, int minBufferSize, int maxBufferSize, int numSamples, deUint32 bufferUsage, CaseType caseT…
2561 …* desc, int minBufferSize, int maxBufferSize, int numSamples, deUint32 bufferUsage, CaseType caseT… in BufferDataUploadCase() argument
2562 …onDuration>(ctx, name, desc, minBufferSize, maxBufferSize, numSamples, bufferUsage, caseType, RESU… in BufferDataUploadCase()
2609 …* desc, int minBufferSize, int maxBufferSize, int numSamples, deUint32 bufferUsage, CaseType paren…
2620 …* desc, int minBufferSize, int maxBufferSize, int numSamples, deUint32 bufferUsage, CaseType paren… in BufferSubDataUploadCase() argument
2621 …nDuration> (ctx, name, desc, minBufferSize, maxBufferSize, numSamples, bufferUsage, parentCase, RE… in BufferSubDataUploadCase()
2694 …* desc, int minBufferSize, int maxBufferSize, int numSamples, deUint32 bufferUsage, deUint32 mapFl…
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingValveMutableTests.cpp402 const VkBufferUsageFlags bufferUsage = ( in makeDefaultBuffer() local
412 const auto bufferCreateInfo = makeBufferCreateInfo(bufferSize, bufferUsage); in makeDefaultBuffer()
592 const VkBufferUsageFlags bufferUsage = (VK_BUFFER_USAGE_TRANSFER_SRC_BIT); in Resource() local
593 const auto stagingBufferInfo = makeBufferCreateInfo(bufferSize, bufferUsage); in Resource()
754 const VkBufferUsageFlags bufferUsage = (VK_BUFFER_USAGE_TRANSFER_DST_BIT); in getStoredValue() local
755 const auto stagingBufferInfo = makeBufferCreateInfo(bufferSize, bufferUsage); in getStoredValue()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp1200 …const VkBufferUsageFlags bufferUsage = m_blockType == BLOCKTYPE_UNIFORM ? VK_BUFFER_USAGE_UNIFOR… in iterate() local
1225 buffers[bufferNdx] = BufferSp(new Buffer(m_context, bufferUsage, sizeof(deUint32))); in iterate()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
DnvEncodeAPI.h1999 …NV_ENC_BUFFER_USAGE bufferUsage; /**< [in]: Usage of resource to be reg… member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryPipelineBarrierTests.cpp9481 const vk::VkBufferUsageFlags bufferUsage = usageToBufferUsageFlags(m_config.usage); in createCommandsAndAllocateMemory() local
9483 const vk::VkDeviceSize maxBufferSize = bufferUsage != 0 in createCommandsAndAllocateMemory()
9484 …? roundBufferSizeToWxHx4(findMaxBufferSize(vkd, device, bufferUsage, m_config.sharing, queues, m_c… in createCommandsAndAllocateMemory()