Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/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 …]
/third_party/boost/boost/compute/container/
Dvector.hpp123 m_allocator(context) in vector()
125 m_data = m_allocator.allocate(_minimum_capacity()); in vector()
143 m_allocator(context) in vector()
145 m_data = m_allocator.allocate((std::max)(count, _minimum_capacity())); in vector()
160 m_allocator(queue.get_context()) in vector()
162 m_data = m_allocator.allocate((std::max)(count, _minimum_capacity())); in vector()
183 m_allocator(queue.get_context()) in vector()
185 m_data = m_allocator.allocate((std::max)(m_size, _minimum_capacity())); in vector()
194 m_allocator(other.m_allocator) in vector()
196 m_data = m_allocator.allocate((std::max)(m_size, _minimum_capacity())); in vector()
[all …]
/third_party/boost/libs/compute/include/boost/compute/container/
Dvector.hpp123 m_allocator(context) in vector()
125 m_data = m_allocator.allocate(_minimum_capacity()); in vector()
143 m_allocator(context) in vector()
145 m_data = m_allocator.allocate((std::max)(count, _minimum_capacity())); in vector()
160 m_allocator(queue.get_context()) in vector()
162 m_data = m_allocator.allocate((std::max)(count, _minimum_capacity())); in vector()
183 m_allocator(queue.get_context()) in vector()
185 m_data = m_allocator.allocate((std::max)(m_size, _minimum_capacity())); in vector()
194 m_allocator(other.m_allocator) in vector()
196 m_data = m_allocator.allocate((std::max)(m_size, _minimum_capacity())); in vector()
[all …]
/third_party/vk-gl-cts/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 …]
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_raii.hpp2281 : m_allocator( reinterpret_cast<const VkAllocationCallbacks *>( in Instance()
2287 m_allocator, in Instance()
2300 , m_allocator( reinterpret_cast<const VkAllocationCallbacks *>( in Instance()
2313 getDispatcher()->vkDestroyInstance( static_cast<VkInstance>( m_instance ), m_allocator ); in ~Instance()
2321 , m_allocator( rhs.m_allocator )
2331 … getDispatcher()->vkDestroyInstance( static_cast<VkInstance>( m_instance ), m_allocator ); in operator =()
2334 m_allocator = rhs.m_allocator; in operator =()
2384 const VkAllocationCallbacks * m_allocator = nullptr; member in VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance
2822 : m_allocator( reinterpret_cast<const VkAllocationCallbacks *>( in Device()
2829 m_allocator, in Device()
[all …]
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
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 …]
/third_party/vulkan-headers/include/vulkan/
Dvulkan_raii.hpp2400 : m_allocator( static_cast<const VULKAN_HPP_NAMESPACE::AllocationCallbacks *>( allocator ) ) in Instance()
2404 … reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ), in Instance()
2418 , m_allocator( static_cast<const VULKAN_HPP_NAMESPACE::AllocationCallbacks *>( allocator ) ) in Instance()
2431 … reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); in ~Instance()
2439 … , m_allocator( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_allocator, {} ) )
2450 … reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); in operator =()
2453m_allocator = VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( rhs.m_allocator, {} ); in operator =()
2637 …LKAN_HPP_NAMESPACE::AllocationCallbacks * m_allocator = nullptr; member in VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance
3090 : m_allocator( static_cast<const VULKAN_HPP_NAMESPACE::AllocationCallbacks *>( allocator ) ) in Device()
3096 reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ), in Device()
[all …]
/third_party/boost/libs/container/test/
Dscoped_allocator_usage_test.cpp44 return m_allocator.allocate(n); in allocate()
49 m_allocator.deallocate(p, n); in deallocate()
57 std::allocator<Ty> m_allocator; member in SimpleAllocator
78 : m_value(other.m_value), m_allocator(boost::move(other.m_allocator)) in alloc_int()
84 : m_value(other.m_value), m_allocator(allocator) in alloc_int()
90 : m_value(other.m_value), m_allocator(boost::move(other.m_allocator)) in alloc_int()
95 : m_value(other.m_value), m_allocator(allocator) in alloc_int()
100 : m_value(value), m_allocator(allocator) in alloc_int()
117 { return m_allocator.get_value(); } in get_allocator_state()
130 allocator_type m_allocator; member in alloc_int
/third_party/boost/libs/intrusive/test/
Dbounded_pointer.hpp329 : Base(), m_allocator() in bounded_reference_cont()
332 pointer p = m_allocator.allocate(1); in bounded_reference_cont()
337 m_allocator.deallocate(p, 1); in bounded_reference_cont()
346 : Base(), m_allocator(other.m_allocator) in bounded_reference_cont()
351 : Base(), m_allocator() in bounded_reference_cont()
354 pointer p = m_allocator.allocate(1); in bounded_reference_cont()
365 pointer p = m_allocator.allocate(1); in assign()
379 m_allocator.deallocate(p, 1); in clear()
389 pointer p = m_allocator.allocate(1); in operator =()
398 allocator_type m_allocator; member in bounded_reference_cont
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Darena.h374 TArena(T& in_allocator) : m_allocator(in_allocator) {} in TArena()
375 TArena() : m_allocator(m_defAllocator) {} in TArena()
409 ArenaBlock* pNewBlock = m_allocator.AllocateAligned( in AllocAligned()
461 m_allocator.Free(pBlock);
466 m_allocator.Free(m_pCurBlock);
486 T& m_allocator; variable
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBase.hpp82 vk::Allocator& getAllocator (void) { return *m_allocator; } in getAllocator()
93 de::MovePtr<vk::Allocator> m_allocator; member in vkt::sparse::SparseResourcesBaseInstance
DvktSparseResourcesBase.cpp194m_allocator = de::MovePtr<Allocator>(new SimpleAllocator(*m_deviceDriver, *m_logicalDevice, getPh… in createDeviceSupportingQueues()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp244 SimpleAllocator m_allocator; member in vkt::pipeline::__anonebe3c1000111::PushDescriptorBufferGraphicsTestInstance
279 , m_allocator (m_vkd, *m_device, getPhysicalDeviceMemoryProperties(m_vki, m_physicalDevice)) in PushDescriptorBufferGraphicsTestInstance()
315 …m_colorImageAlloc = m_allocator.allocate(getImageMemoryRequirements(m_vkd, *m_device, *m_colorIma… in init()
419 …m_bufferAllocs.push_back(AllocationSp(m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_d… in init()
506 …m_vertexBufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, *m_vertex… in init()
597 …t = readColorAttachment(m_vkd, *m_device, m_queue, m_queueFamilyIndex, m_allocator, *m_colorImage,… in verifyImage()
706 SimpleAllocator m_allocator; member in vkt::pipeline::__anonebe3c1000111::PushDescriptorBufferComputeTestInstance
734 , m_allocator (m_vkd, *m_device, getPhysicalDeviceMemoryProperties(m_vki, m_physicalDevice)) in PushDescriptorBufferComputeTestInstance()
822 …m_bufferAllocs.push_back(AllocationSp(m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_d… in init()
845 …m_outputBufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, *m_device, *m_output… in init()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemContext.cpp42 , m_allocator (createAllocator()) in ProtectedContext()
62 , m_allocator(createAllocator()) in ProtectedContext()
DvktProtectedMemContext.hpp65 vk::Allocator& getDefaultAllocator (void) const { return *m_allocator; } in getDefaultAllocator()
91 const de::UniquePtr<vk::Allocator> m_allocator; member in vkt::ProtectedMem::ProtectedContext
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
DvktCustomInstancesDevices.cpp161 , m_allocator (nullptr) in UncheckedInstance()
171 , m_allocator (pAllocator) in UncheckedInstance()
186 m_driver->destroyInstance(m_instance, m_allocator); in ~UncheckedInstance()
194 std::swap(m_allocator, other.m_allocator); in swap()
DvktCustomInstancesDevices.hpp91 const vk::VkAllocationCallbacks* m_allocator; member in vkt::UncheckedInstance
DvktTestCase.hpp129 const de::UniquePtr<vk::Allocator> m_allocator; member in vkt::Context
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/
DvktPostmortemUtil.hpp47 vk::SimpleAllocator m_allocator; member in vkt::postmortem::PostmortemTestInstance
DvktPostmortemUtil.cpp90m_allocator(m_deviceDriver, *m_logicalDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in PostmortemTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.hpp162 vk::Allocator& getAllocator (void) const { return m_allocator; } in getAllocator()
178 vk::Allocator& m_allocator; member in vkt::synchronization::OperationContext
DvktSynchronizationInternallySynchronizedObjectsTests.cpp158 MovePtr<Allocator> m_allocator; member in vkt::synchronization::__anon6b45f4e50111::MultiQueues
274 queues.m_allocator = createAllocator(context, queues.getDevice()); in createQueues()
292 …Buffer resultBuffer (vk, device, *queues.m_allocator, makeBufferCreateInfo(BUFFER_SIZE, VK_… in executeComputePipeline()
367 …Buffer resultBuffer (vk, device, *queues.m_allocator, makeBufferCreateInfo(BUFFER_SIZE, V… in executeGraphicPipeline()
372 …Ptr<Image> colorAttachmentImage = de::MovePtr<Image>(new Image(vk, device, *queues.m_allocator, in executeGraphicPipeline()
626 …Buffer resultBuffer (vk, device, *queues->m_allocator, makeBufferCreateInfo(BUFFER_SIZE, … in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp154 vk::Allocator& m_allocator; member in vkt::compute::__anonf96be16e0111::IndirectDispatchInstanceBufferUpload
176 , m_allocator (context.getDefaultAllocator()) in IndirectDispatchInstanceBufferUpload()
225 m_device_interface, m_device, m_allocator, in iterate()
277 m_device_interface, m_device, m_allocator, in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryExternalMemoryHostTests.cpp109 Allocator& m_allocator; member in vkt::memory::__anonbd6750810111::ExternalMemoryHostBaseTestInstance
186 , m_allocator (m_context.getDefaultAllocator()) in ExternalMemoryHostBaseTestInstance()
500 …m_vertexBufferAllocation = m_allocator.allocate(bufferMemoryRequirements, MemoryRequirement::Host… in createBindMemoryInitializeVertexBuffer()
532 …m_resultBufferAllocation = m_allocator.allocate(bufferMemoryRequirements, MemoryRequir… in createBindMemoryResultBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp875 m_allocator(context.getDeviceInterface(), device, in UploadDownloadExecutor()
909 SimpleAllocator m_allocator; member in vkt::image::UploadDownloadExecutor
1074 m_imageAlloc = bindImage(m_vk, m_device, m_allocator, m_image, MemoryRequirement::Any); in run()
1217 …m_uCopy.colorBufferAlloc = bindBuffer(m_vk, m_device, m_allocator, *m_uCopy.colorBuffer, Memory… in uploadCopy()
1321 …m_uDraw.vertexBufferAlloc = bindBuffer(m_vk, m_device, m_allocator, *m_uDraw.vertexBuffer, Mem… in uploadDraw()
1397 …m_dTex.outImageAlloc = bindImage(m_vk, m_device, m_allocator, *m_dTex.outImage, MemoryRequireme… in downloadTexture()
1479 …m_dLoad.outImageAlloc = bindImage(m_vk, m_device, m_allocator, *m_dLoad.outImage, MemoryRequire… in downloadLoad()

12