Home
last modified time | relevance | path

Searched refs:m_allocator (Results 1 – 22 of 22) sorted by relevance

/external/deqp/external/vulkancts/framework/vulkan/
DvkRef.hpp80 , m_allocator (allocator) in Deleter()
85 , m_allocator (DE_NULL) in Deleter()
93 const VkAllocationCallbacks* m_allocator; member in vk::refdetails::Deleter
102 , m_allocator (allocator) in Deleter()
106 , m_allocator (DE_NULL) in Deleter()
109 void operator() (VkInstance obj) const { m_destroyInstance(obj, m_allocator); } in operator ()()
113 const VkAllocationCallbacks* m_allocator; member in vk::refdetails::Deleter
124 m_allocator = allocator; in Deleter()
128 , m_allocator (DE_NULL) in Deleter()
131 void operator() (VkDevice obj) const { m_destroyDevice(obj, m_allocator); } in operator ()()
[all …]
DvkRefUtilImpl.inl10 m_deviceIface->freeMemory(m_device, obj, m_allocator);
16 m_deviceIface->destroyFence(m_device, obj, m_allocator);
22 m_deviceIface->destroySemaphore(m_device, obj, m_allocator);
28 m_deviceIface->destroyEvent(m_device, obj, m_allocator);
34 m_deviceIface->destroyQueryPool(m_device, obj, m_allocator);
40 m_deviceIface->destroyBuffer(m_device, obj, m_allocator);
46 m_deviceIface->destroyBufferView(m_device, obj, m_allocator);
52 m_deviceIface->destroyImage(m_device, obj, m_allocator);
58 m_deviceIface->destroyImageView(m_device, obj, m_allocator);
64 m_deviceIface->destroyShaderModule(m_device, obj, m_allocator);
[all …]
/external/deqp/modules/egl/
DteglMemoryStressTests.cpp335 MemoryAllocator* m_allocator; member in deqp::egl::MemoryStressCase
347 , m_allocator (NULL) in MemoryStressCase()
382 delete m_allocator; in deinit()
383 m_allocator = DE_NULL; in deinit()
400 if (!m_allocator) in iterate()
401m_allocator = new MemoryAllocator(m_eglTestCtx, m_display, m_config, m_seed, m_spec.types, m_spec.… in iterate()
403 if (m_allocator->allocateUntilFailure()) in iterate()
405 …log << TestLog::Message << "Couldn't exhaust memory before timeout. Allocated " << m_allocator->ge… in iterate()
408 delete m_allocator; in iterate()
409 m_allocator = NULL; in iterate()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Darena.h371 TArena(T& in_allocator) : m_allocator(in_allocator) {} in TArena()
372 TArena() : m_allocator(m_defAllocator) {} in TArena()
409 …ArenaBlock* pNewBlock = m_allocator.AllocateAligned(blockSize, ARENA_BLOCK_ALIGN); // Arena blo… in AllocAligned()
463 m_allocator.Free(pBlock);
468 m_allocator.Free(m_pCurBlock);
488 T& m_allocator; variable
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp233 SimpleAllocator m_allocator; member in vkt::pipeline::__anon3f66cf0a0111::PushDescriptorBufferGraphicsTestInstance
268 , m_allocator (m_vkd, *m_device, getPhysicalDeviceMemoryProperties(m_vki, m_physicalDevice)) in PushDescriptorBufferGraphicsTestInstance()
304 …m_colorImageAlloc = m_allocator.allocate(getImageMemoryRequirements(m_vkd, *m_device, *m_colorIma… in init()
408 …m_bufferAllocs.push_back(AllocationSp(m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_d… in init()
495 …m_vertexBufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, *m_vertex… in init()
585 …t = readColorAttachment(m_vkd, *m_device, m_queue, m_queueFamilyIndex, m_allocator, *m_colorImage,… in verifyImage()
693 SimpleAllocator m_allocator; member in vkt::pipeline::__anon3f66cf0a0111::PushDescriptorBufferComputeTestInstance
720 , m_allocator (m_vkd, *m_device, getPhysicalDeviceMemoryProperties(m_vki, m_physicalDevice)) in PushDescriptorBufferComputeTestInstance()
808 …m_bufferAllocs.push_back(AllocationSp(m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_d… in init()
831 …m_outputBufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, *m_output… in init()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBase.hpp81 vk::Allocator& getAllocator (void) { return *m_allocator; } in getAllocator()
92 de::MovePtr<vk::Allocator> m_allocator; member in vkt::sparse::SparseResourcesBaseInstance
DvktSparseResourcesBase.cpp193m_allocator = de::MovePtr<Allocator>(new SimpleAllocator(*m_deviceDriver, *m_logicalDevice, getPh… in createDeviceSupportingQueues()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemContext.cpp41 , m_allocator (createAllocator()) in ProtectedContext()
61 , m_allocator (createAllocator()) in ProtectedContext()
DvktProtectedMemContext.hpp64 vk::Allocator& getDefaultAllocator (void) const { return *m_allocator; } in getDefaultAllocator()
89 const de::UniquePtr<vk::Allocator> m_allocator; member in vkt::ProtectedMem::ProtectedContext
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.hpp136 vk::Allocator& getAllocator (void) const { return m_allocator; } in getAllocator()
148 vk::Allocator& m_allocator; member in vkt::synchronization::OperationContext
DvktSynchronizationInternallySynchronizedObjectsTests.cpp156 MovePtr<Allocator> m_allocator; member in vkt::synchronization::__anone4a9572f0111::MultiQueues
272 queues.m_allocator = createAllocator(context, queues.getDevice()); in createQueues()
290 …Buffer resultBuffer (vk, device, *queues.m_allocator, makeBufferCreateInfo(BUFFER_SIZE, VK_… in executeComputePipeline()
365 …Buffer resultBuffer (vk, device, *queues.m_allocator, makeBufferCreateInfo(BUFFER_SIZE, V… in executeGraphicPipeline()
370 …Ptr<Image> colorAttachmentImage = de::MovePtr<Image>(new Image(vk, device, *queues.m_allocator, in executeGraphicPipeline()
624 …Buffer resultBuffer (vk, device, *queues->m_allocator, makeBufferCreateInfo(BUFFER_SIZE, … in iterate()
DvktSynchronizationOperationMultiQueueTests.cpp139m_allocator = MovePtr<Allocator>(new SimpleAllocator(*m_deviceDriver, *m_logicalDevice, getPhysic… in MultiQueues()
215 return *m_allocator; in getAllocator()
221 MovePtr<Allocator> m_allocator; member in vkt::synchronization::__anon707ea8e40111::MultiQueues
DvktSynchronizationOperation.cpp3328 , m_allocator (context.getDefaultAllocator()) in OperationContext()
3341 , m_allocator (allocator) in OperationContext()
3362 , m_allocator (allocator) in OperationContext()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp153 vk::Allocator& m_allocator; member in vkt::compute::__anonafc580380111::IndirectDispatchInstanceBufferUpload
175 , m_allocator (context.getDefaultAllocator()) in IndirectDispatchInstanceBufferUpload()
224 m_device_interface, m_device, m_allocator, in iterate()
276 m_device_interface, m_device, m_allocator, in iterate()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryExternalMemoryHostTests.cpp94 Allocator& m_allocator; member in vkt::memory::__anon10ea5e8b0111::ExternalMemoryHostBaseTestInstance
169 , m_allocator (m_context.getDefaultAllocator()) in ExternalMemoryHostBaseTestInstance()
486 …m_vertexBufferAllocation = m_allocator.allocate(bufferMemoryRequirements, MemoryRequirement::Host… in createBindMemoryInitializeVertexBuffer()
518 …m_resultBufferAllocation = m_allocator.allocate(bufferMemoryRequirements, MemoryRequir… in createBindMemoryResultBuffer()
/external/deqp/external/vulkancts/modules/vulkan/
DvktTestCase.hpp120 const de::UniquePtr<vk::Allocator> m_allocator; member in vkt::Context
DvktTestCase.cpp602 , m_allocator (createAllocator(m_device.get())) in Context()
663 vk::Allocator& Context::getDefaultAllocator (void) const { return *m_allocator; } in getDefaultAllocator()
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp298 MovePtr<Allocator> m_allocator; member in vkt::MultiView::__anon6661ad4b0111::MultiViewRenderTestInstance
343 …Ptr<ImageAttachment>(new ImageAttachment(*m_logicalDevice, *m_device, *m_allocator, m_parameters.e… in MultiViewRenderTestInstance()
586 …m_vertexCoordAlloc = m_allocator->allocate(getBufferMemoryRequirements(*m_device, *m_logicalDevice… in createVertexBuffer()
600 …m_vertexColorAlloc = m_allocator->allocate(getBufferMemoryRequirements(*m_device, *m_logicalDevice… in createVertexBuffer()
617 …m_vertexIndicesAllocation = m_allocator->allocate(getBufferMemoryRequirements(*m_device, *m_logica… in createVertexBuffer()
730m_allocator = MovePtr<Allocator>(new SimpleAllocator(*m_device, *m_logicalDevice, getPhysical… in createMultiViewDevices()
1051 …bufferAlloc = m_allocator->allocate(getBufferMemoryRequirements(*m_device, *m_logicalDevice, *buff… in readImage()
1485 …Ptr<ImageAttachment>(new ImageAttachment(*m_logicalDevice, *m_device, *m_allocator, m_parameters.e… in iterate()
1486 …Ptr<ImageAttachment>(new ImageAttachment(*m_logicalDevice, *m_device, *m_allocator, m_parameters.e… in iterate()
1630 …bufferAlloc = m_allocator->allocate(getBufferMemoryRequirements(*m_device, *m_logicalDevice, *buff… in setImageData()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp933 m_allocator(context.getDeviceInterface(), device, in UploadDownloadExecutor()
967 SimpleAllocator m_allocator; member in vkt::image::UploadDownloadExecutor
1120 m_imageAlloc = bindImage(m_vk, m_device, m_allocator, m_image, MemoryRequirement::Any); in run()
1263 …m_uCopy.colorBufferAlloc = bindBuffer(m_vk, m_device, m_allocator, *m_uCopy.colorBuffer, Memory… in uploadCopy()
1367 …m_uDraw.vertexBufferAlloc = bindBuffer(m_vk, m_device, m_allocator, *m_uDraw.vertexBuffer, Mem… in uploadDraw()
1439 …m_dTex.outImageAlloc = bindImage(m_vk, m_device, m_allocator, *m_dTex.outImage, MemoryRequireme… in downloadTexture()
1521 …m_dLoad.outImageAlloc = bindImage(m_vk, m_device, m_allocator, *m_dLoad.outImage, MemoryRequire… in downloadLoad()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp518 Allocator& m_allocator; member in vkt::api::__anon2ff3f5bb0111::ImageClearingTestInstance
545 , m_allocator (context.getDefaultAllocator()) in ImageClearingTestInstance()
672 …_context.getPhysicalDevice(), m_device, image, MemoryRequirement::Any, m_allocator, m_params.alloc… in allocateAndBindImageMemory()
919 …etPhysicalDevice(), m_device, *buffer, MemoryRequirement::HostVisible, m_allocator, m_params.alloc… in readImage()
DvktApiCommandBuffersTests.cpp76 Allocator& m_allocator; member in vkt::api::__anon8eb6349f0111::CommandBufferBareTestEnvironment
92 , m_allocator (context.getDefaultAllocator()) in CommandBufferBareTestEnvironment()
187 …m_colorImageMemory = m_allocator.allocate(getImageMemoryRequirements(m_vkd, m_device, *m_colorImag… in CommandBufferRenderPassTestEnvironment()
318 …bufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, m_device, *buffer), MemoryRe… in readColorAttachment()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp507 vk::Allocator& m_allocator; member in vkt::BindingModel::__anon96331ace0111::SingleTargetRenderInstance
527 , m_allocator (context.getDefaultAllocator()) in SingleTargetRenderInstance()
529 …, m_colorAttachmentImage (createColorAttachment(m_vki, m_device, m_allocator, m_targetFormat, m_ta… in SingleTargetRenderInstance()
642 …ation> bufferMemory = allocateAndBindObjectMemory(m_vki, m_device, m_allocator, *buffer, vk::M… in readRenderTarget()
1304 …, m_sourceBuffer (createSourceBuffers(m_vki, m_device, m_allocator, m_descriptorType, m_descrip… in BufferRenderInstance()
2363 vk::Allocator& m_allocator; member in vkt::BindingModel::__anon96331ace0111::BufferComputeInstance
2393 , m_allocator (context.getDefaultAllocator()) in BufferComputeInstance()
2394 , m_result (m_vki, m_device, m_allocator) in BufferComputeInstance()
2421 …llocation> allocation (allocateAndBindObjectMemory(m_vki, m_device, m_allocator, *buffer, vk::M… in createColorDataBuffer()
4169 …, m_images (m_vki, m_device, m_queueFamilyIndex, m_queue, m_allocator, m_descriptorType, m_des… in ImageFetchRenderInstance()
[all …]