Home
last modified time | relevance | path

Searched refs:memAlloc (Results 1 – 25 of 34) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicClass.cpp74 Allocator& memAlloc = m_context.getDefaultAllocator(); in iterate() local
80 memAlloc, in iterate()
111 const Buffer colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSizeBytes, in iterate()
113 const Buffer vertexBuffer (vk, device, memAlloc, makeBufferCreateInfo(vertexDataSizeBytes, in iterate()
164 bindDescriptorSets(vk, device, memAlloc, *cmdBuffer, *pipelineLayout); in iterate()
DvktGeometryBasicGeometryShaderTests.cpp101 Allocator& memAlloc = context.getDefaultAllocator(); in uploadImage() local
124 …bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequiremen… in uploadImage()
209 Allocator& memAlloc,
279 Allocator& memAlloc = m_context.getDefaultAllocator(); in createPipelineLayout() local
313 …m_allocation = memAlloc.allocate(getImageMemoryRequirements(vk, device, *m_texture), MemoryRequire… in createPipelineLayout()
331 …nstance::bindDescriptorSets (const DeviceInterface& vk, const VkDevice device, Allocator& memAlloc, in bindDescriptorSets() argument
339 …m_allocation = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), Memor… in bindDescriptorSets()
523 Allocator& memAlloc = m_context.getDefaultAllocator(); in createIndicesBuffer() local
538 …m_allocation = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *m_indicesBuffer), Memory… in createIndicesBuffer()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewAccessTests.cpp165 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getIns… in BufferViewTestInstance() local
171 …ImageDedicatedAllocation().createTestImage(m_renderSize, m_colorFormat, context, memAlloc, m_color… in BufferViewTestInstance()
175 …ImageSuballocation().createTestImage(m_renderSize, m_colorFormat, context, memAlloc, m_colorImage,… in BufferViewTestInstance()
181 …estBuffer(m_pixelDataSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, … in BufferViewTestInstance()
185 …estBuffer(m_pixelDataSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, … in BufferViewTestInstance()
263 …uffer(uniformSize, VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT, m_context, memAlloc, m_uniformBuffer,… in BufferViewTestInstance()
377 …estBuffer(vertexDataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT, m_context, memAlloc, m_vertexBuffer, … in BufferViewTestInstance()
DvktApiSmokeTests.cpp338 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInst… in renderTriangleTest() local
362 …const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(… in renderTriangleTest()
379 …const UniquePtr<Allocation> readImageBufferMemory (memAlloc.allocate(getBufferMemoryRequirement… in renderTriangleTest()
403 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk, vk… in renderTriangleTest()
599 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.get… in renderTriangleDummyExtStructTest() local
630 …const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequireme… in renderTriangleDummyExtStructTest()
647 …const UniquePtr<Allocation> readImageBufferMemory (memAlloc.allocate(getBufferMemoryRequire… in renderTriangleDummyExtStructTest()
671 …const UniquePtr<Allocation> imageMemory (memAlloc.allocate(getImageMemoryRequirements(vk… in renderTriangleDummyExtStructTest()
1196 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInst… in renderTriangleUnusedResolveAttachmentTest() local
1220 …const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(… in renderTriangleUnusedResolveAttachmentTest()
[all …]
DvktApiMemoryRequirementInvarianceTests.cpp104 Allocator& memAlloc = context.getDefaultAllocator(); in allocate() local
117 memAlloc, in allocate()
189 Allocator& memAlloc = context.getDefaultAllocator(); in allocate() local
202 memAlloc, in allocate()
DvktApiFillBufferTests.cpp95 Allocator& memAlloc = context.getDefaultAllocator(); in FillWholeBufferTestInstance() local
99 …TestBuffer(m_params.dstSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, context, memAlloc, m_destination, M… in FillWholeBufferTestInstance()
221 Allocator& memAlloc = context.getDefaultAllocator(); in FillBufferTestInstance() local
229 …TestBuffer(m_params.dstSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, context, memAlloc, m_destination, M… in FillBufferTestInstance()
DvktApiBufferViewCreateTests.cpp183 const VkMemoryAllocateInfo memAlloc = in createTestBuffer() local
193 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL); in createTestBuffer()
DvktApiGetMemoryCommitment.cpp117 Allocator& memAlloc = m_context.getDefaultAllocator(); in iterate() local
160 …de::MovePtr<Allocation> imageAlloc = memAlloc.allocate(memoryRequirements, MemoryRequirement::L… in iterate()
DvktApiGranularityTests.cpp165 …SimpleAllocator memAlloc (vk, device, getPhysicalDeviceMemoryProperties(m_context.getInstanceI… in initImages() local
190 …de::MovePtr<Allocation> imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, device, *ima… in initImages()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassFragmentDensityMapTests.cpp223 SimpleAllocator& memAlloc, in createVertexBuffer() argument
241 …vertexAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryR… in createVertexBuffer()
251 SimpleAllocator& memAlloc, in prepareImageAndImageView() argument
289 …imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *image), MemoryRequirement… in prepareImageAndImageView()
1205 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInst… in FragmentDensityMapTestInstance() local
1244 prepareImageAndImageView(vk, vkDevice, memAlloc, colorImageCreateFlags, VK_FORMAT_R8G8B8A8_UNORM, in FragmentDensityMapTestInstance()
1253 prepareImageAndImageView(vk, vkDevice, memAlloc, colorImageCreateFlags, VK_FORMAT_R8G8B8A8_UNORM, in FragmentDensityMapTestInstance()
1263 prepareImageAndImageView(vk, vkDevice, memAlloc, colorImageCreateFlags, VK_FORMAT_R8G8B8A8_UNORM, in FragmentDensityMapTestInstance()
1271 prepareImageAndImageView(vk, vkDevice, memAlloc, 0u, VK_FORMAT_R8G8B8A8_UNORM, in FragmentDensityMapTestInstance()
1284 prepareImageAndImageView(vk, vkDevice, memAlloc, 0u, m_testParams.densityMapFormat, in FragmentDensityMapTestInstance()
[all …]
DvktRenderPassUnusedAttachmentSparseFillingTests.cpp267 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getIns… in InputAttachmentSparseFillingTestInstance() local
307 …auto inputImageAlloc = safeSharedPtr(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, … in InputAttachmentSparseFillingTestInstance()
341 …m_outputImageMemory = safeSharedPtr(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, **m… in InputAttachmentSparseFillingTestInstance()
372 …m_outputBufferMemory = safeSharedPtr(memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *… in InputAttachmentSparseFillingTestInstance()
545 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in InputAttachmentSparseFillingTestInstance()
DvktRenderPassUnusedAttachmentTests.cpp359 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInsta… in UnusedAttachmentTestInstance() local
390 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in UnusedAttachmentTestInstance()
421 m_unusedImageAlloc = memAlloc.allocate(memoryRequirements, MemoryRequirement::Any); in UnusedAttachmentTestInstance()
524 …m_inputImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_inputImage), Mem… in UnusedAttachmentTestInstance()
819 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in UnusedAttachmentTestInstance()
DvktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp277 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInsta… in MultipleSubpassesMultipleCommandBuffersTestInstance() local
303 …m_colorImageAllocA = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImageA), M… in MultipleSubpassesMultipleCommandBuffersTestInstance()
307 …m_colorImageAllocB = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImageB), M… in MultipleSubpassesMultipleCommandBuffersTestInstance()
553 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in MultipleSubpassesMultipleCommandBuffersTestInstance()
DvktRenderPassUnusedClearAttachmentTests.cpp442 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInsta… in UnusedClearAttachmentTestInstance() local
491 …m_colorImageAllocs.emplace_back(memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colo… in UnusedClearAttachmentTestInstance()
590 …m_depthImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_depthImage), Mem… in UnusedClearAttachmentTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryBindingTests.cpp496 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, params.usePriority ? … in createMemory() local
499 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory()
522 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, params.usePriority ? … in createMemory() local
525 vk.allocateMemory(vkDevice, &memAlloc, (VkAllocationCallbacks*)DE_NULL, &rawMemory); in createMemory()
550 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, params.usePriority ? … in createMemory() local
553 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createMemory()
577 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(memReqs, params.usePriority ? … in createMemory() local
580 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createMemory()
787 …const VkMemoryAllocateInfo memAlloc = makeMemoryAllocateInfo(ctx, memReqs, MemoryHostVisib… in createBuffer() local
790 vk.allocateMemory(vkDevice, &memAlloc, static_cast<VkAllocationCallbacks*>(DE_NULL), &rawMemory); in createBuffer()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp457 …SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(m_context.getInst… in VertexAccessInstance() local
552 m_vertexRateBufferAlloc = memAlloc.allocate(bufferMemoryReqs, MemoryRequirement::HostVisible); in VertexAccessInstance()
580 m_instanceRateBufferAlloc = memAlloc.allocate(bufferMemoryReqs, MemoryRequirement::HostVisible); in VertexAccessInstance()
604 …m_vertexNumBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_vertexNum… in VertexAccessInstance()
627 …m_indexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_indexBuffer),… in VertexAccessInstance()
653 …m_outBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_outBuffer), Mem… in VertexAccessInstance()
DvktRobustnessBufferAccessTests.cpp682 …SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(m_context.getInst… in BufferAccessInstance() local
757 m_inBufferAlloc = memAlloc.allocate(inBufferMemoryReqs, MemoryRequirement::HostVisible); in BufferAccessInstance()
792 m_outBufferAlloc = memAlloc.allocate(outBufferMemoryReqs, MemoryRequirement::HostVisible); in BufferAccessInstance()
837 …m_indicesBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_indicesBuf… in BufferAccessInstance()
1009 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_device, *m_vertexBuffer… in BufferAccessInstance()
DvktRobustnessUtil.cpp325 …SimpleAllocator memAlloc (vk, m_device, getPhysicalDeviceMemoryProperties(m_context.getInsta… in GraphicsEnvironment() local
349 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, m_device, *m_colorImage), Me… in GraphicsEnvironment()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineStencilTests.cpp362 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in StencilTestInstance() local
391 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in StencilTestInstance()
421 …m_stencilImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_stencilImage),… in StencilTestInstance()
640 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in StencilTestInstance()
DvktPipelinePushConstantTests.cpp284 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getIn… in init() local
315 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in init()
384 …m_uniformBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_uniformBuffe… in init()
541 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in init()
1751 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstance… in PushConstantComputeTestInstance() local
1782 …m_outBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_outBuffer), Memo… in PushConstantComputeTestInstance()
2069 …SimpleAllocator memAlloc(vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceI… in init() local
2097 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Mem… in init()
2167 …m_outBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_outBuffer), Memo… in init()
2322 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in init()
DvktPipelineLogicOpTests.cpp252 Allocator& memAlloc = m_context.getDefaultAllocator(); in LogicOpTestInstance() local
277 …m_colorImage = de::MovePtr<ImageWithMemory>(new ImageWithMemory(vk, vkDevice, memAlloc, m_colorI… in LogicOpTestInstance()
DvktPipelineDepthTests.cpp319 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in DepthTestInstance() local
350 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in DepthTestInstance()
379 …m_depthImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_depthImage), Mem… in DepthTestInstance()
602 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in DepthTestInstance()
DvktPipelineInputAssemblyTests.cpp966 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstan… in InputAssemblyInstance() local
994 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in InputAssemblyInstance()
1278 …m_indexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_indexBuffer), … in InputAssemblyInstance()
1283 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in InputAssemblyInstance()
DvktPipelineBlendTests.cpp597 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstan… in BlendTestInstance() local
627 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in BlendTestInstance()
787 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in BlendTestInstance()
1181 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstan… in DualSourceBlendTestInstance() local
1211 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in DualSourceBlendTestInstance()
1377 …m_vertexBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_vertexBuffer)… in DualSourceBlendTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp349 …SimpleAllocator memAlloc (vk, *m_deviceGroup, getPhysicalDeviceMemoryProperties(m_context.ge… in iterate() local
471 …stagingVertexBufferMemory = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_deviceGroup, *sta… in iterate()
543 …stagingIndexBufferMemory = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_deviceGroup, *stag… in iterate()
615 …stagingUniformBufferMemory = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_deviceGroup, *st… in iterate()
686 …stagingSboBufferMemory = memAlloc.allocate(getBufferMemoryRequirements(vk, *m_deviceGroup, *stagin… in iterate()
1605 …const UniquePtr<Allocation> readImageBufferMemory(memAlloc.allocate(getBufferMemoryRequirements(vk… in iterate()

12