/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkMemUtil.hpp | 39 * Allocation represents block of device memory and is allocated by 43 * Allocation doesn't necessarily correspond to a whole VkDeviceMemory, but 45 * (getMemory()) managed by Allocation is passed to Vulkan API calls, 52 * Memory mappings are managed solely by Allocation, i.e. unmapping or 53 * re-mapping VkDeviceMemory owned by Allocation is not allowed. 55 class Allocation class 58 virtual ~Allocation (void); 70 Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr); 78 void flushAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc); 79 void invalidateAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation [all...] |
H A D | vkMemUtil.cpp | 43 typedef de::SharedPtr<Allocation> AllocationSp; 84 // Allocation 86 Allocation::Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr) 93 Allocation::~Allocation (void) 97 void flushAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc) 102 void invalidateAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc) 168 class SimpleAllocation : public Allocation 180 : Allocation (*me [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
H A D | memory.h | 54 // Allocation 57 // Allocation holds the result of a memory allocation from an Allocator. 58 struct Allocation { struct 115 // The returned Allocation::request field must be equal to the Request 117 virtual Allocation allocate(const Allocation::Request&) = 0; 120 // The Allocation must have all fields equal to those returned by allocate(). 121 virtual void free(const Allocation&) = 0; 164 Allocation allocation; in operator ()() 168 allocation.request.usage = Allocation in operator ()() [all...] |
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | PoolAlloc.cpp | 7 // Implements the class methods for PoolAllocator and Allocation classes. 27 class Allocation class 30 Allocation(size_t size, unsigned char *mem, Allocation *prev = 0) in Allocation() function in angle::Allocation 109 Allocation *mPrevAlloc; // prior allocation in the chain 116 static constexpr size_t HeaderSize() { return sizeof(Allocation); } in HeaderSize() 149 Allocation *lastAllocation; 249 void Allocation::checkGuardBlock(unsigned char *blockMem, in checkGuardBlock() 352 Allocation::AllocationSize(currentPagePtr, numBytes, mAlignment, &preAllocationPadding); in allocate() 374 allocationSize = Allocation in allocate() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | Memory.cpp | 46 struct Allocation struct 56 unsigned char *block = new unsigned char[bytes + sizeof(Allocation) + alignment]; in allocateRaw() 61 aligned = (unsigned char*)((uintptr_t)(block + sizeof(Allocation) + alignment - 1) & -(intptr_t)alignment); in allocateRaw() 62 Allocation *allocation = (Allocation*)(aligned - sizeof(Allocation)); in allocateRaw() 107 Allocation *allocation = (Allocation*)(aligned - sizeof(Allocation)); in deallocate()
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
H A D | Memory.cpp | 53 struct Allocation struct 80 size_t size = bytes + sizeof(Allocation) + alignment; in allocate() 91 aligned = (unsigned char *)((uintptr_t)(block + sizeof(Allocation) + alignment - 1) & -(intptr_t)alignment); in allocate() 92 Allocation *allocation = (Allocation *)(aligned - sizeof(Allocation)); in allocate() 124 Allocation *allocation = (Allocation *)(aligned - sizeof(Allocation)); in freeMemory()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiBufferAndImageAllocationUtil.hpp | 36 class Allocation; 59 de::MovePtr<Allocation>& memory) const = 0; 74 de::MovePtr<Allocation>& memory) const; // override 89 de::MovePtr<Allocation>& memory) const; // override 101 de::MovePtr<Allocation>& memory, 114 de::MovePtr<Allocation>& memory, 127 de::MovePtr<Allocation>& memory,
|
H A D | vktApiBufferAndImageAllocationUtil.cpp | 50 de::MovePtr<Allocation>& memory) const in createTestBuffer() 80 de::MovePtr<Allocation>& memory) const in createTestBuffer() 112 de::MovePtr<Allocation>& memory, in createTestImage() 150 de::MovePtr<Allocation>& memory, in createTestImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiBufferAndImageAllocationUtil.hpp | 36 class Allocation; 56 de::MovePtr<Allocation>& memory) const = 0; 68 de::MovePtr<Allocation>& memory) const; // override 80 de::MovePtr<Allocation>& memory) const; // override 92 de::MovePtr<Allocation>& memory, 105 de::MovePtr<Allocation>& memory, 118 de::MovePtr<Allocation>& memory,
|
H A D | vktApiBufferAndImageAllocationUtil.cpp | 47 de::MovePtr<Allocation>& memory) const in createTestBuffer() 75 de::MovePtr<Allocation>& memory) const in createTestBuffer() 110 de::MovePtr<Allocation>& memory, in createTestImage() 148 de::MovePtr<Allocation>& memory, in createTestImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineMakeUtil.cpp | 43 MovePtr<Allocation> bindImageDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice physDevice, const VkDevice device, const VkImage image, const MemoryRequirement requirement) in bindImageDedicated() 45 MovePtr<Allocation> alloc(allocateDedicated(vki, vkd, physDevice, device, image, requirement)); in bindImageDedicated() 50 MovePtr<Allocation> bindBufferDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice physDevice, const VkDevice device, const VkBuffer buffer, const MemoryRequirement requirement) in bindBufferDedicated() 52 MovePtr<Allocation> alloc(allocateDedicated(vki, vkd, physDevice, device, buffer, requirement)); in bindBufferDedicated()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/ |
H A D | JITLinkMemoryManager.h | 59 class Allocation { class in llvm::jitlink::JITLinkMemoryManager 63 virtual ~Allocation(); 83 /// Create an Allocation object. 84 virtual Expected<std::unique_ptr<Allocation>> 91 Expected<std::unique_ptr<Allocation>>
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineMakeUtil.cpp | 43 MovePtr<Allocation> bindImageDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice physDevice, const VkDevice device, const VkImage image, const MemoryRequirement requirement) in bindImageDedicated() 45 MovePtr<Allocation> alloc(allocateDedicated(vki, vkd, physDevice, device, image, requirement)); in bindImageDedicated() 50 MovePtr<Allocation> bindBufferDedicated (const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice physDevice, const VkDevice device, const VkBuffer buffer, const MemoryRequirement requirement) in bindBufferDedicated() 52 MovePtr<Allocation> alloc(allocateDedicated(vki, vkd, physDevice, device, buffer, requirement)); in bindBufferDedicated()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | ExecutableMemory.cpp | 61 struct Allocation struct 88 unsigned char *block = new unsigned char[bytes + sizeof(Allocation) + alignment]; in allocateRaw() 93 aligned = (unsigned char *)((uintptr_t)(block + sizeof(Allocation) + alignment - 1) & -(intptr_t)alignment); in allocateRaw() 94 Allocation *allocation = (Allocation *)(aligned - sizeof(Allocation)); in allocateRaw() 259 Allocation *allocation = (Allocation *)(aligned - sizeof(Allocation)); in deallocate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/ |
H A D | JITLinkMemoryManager.cpp | 17 JITLinkMemoryManager::Allocation::~Allocation() = default; 19 Expected<std::unique_ptr<JITLinkMemoryManager::Allocation>> 25 class IPMMAlloc : public Allocation { in allocate() 127 return std::unique_ptr<InProcessMemoryManager::Allocation>( in allocate()
|
/third_party/skia/third_party/externals/d3d12allocator/src/ |
H A D | D3D12MemAlloc.h | 121 The function also returns a new object of type D3D12MA::Allocation, created along
143 D3D12MA::Allocation* allocation;
223 D3D12MA::Allocation* allocation;
305 D3D12MA::Allocation* alloc;
445 // Allocation failed - no space for it could be found. Handle this error!
465 \section virtual_allocator_allocation_parameters Allocation parameters
715 /// %Allocation function.
753 /// \brief Parameters of created D3D12MA::Allocation object. To be used with Allocator::CreateResource.
803 class Allocation
class 815 If the Allocation represent [all...] |
H A D | D3D12MemAlloc.cpp | 1064 void AddAllocationToObject(const Allocation& alloc);
1328 void JsonWriter::AddAllocationToObject(const Allocation& alloc)
in AddAllocationToObject() 1969 Thread-safe wrapper over PoolAllocator free list, for allocation of Allocation objects.
1977 template<typename... Types> Allocation* Allocate(Types... args);
1978 void Free(Allocation* alloc);
1982 PoolAllocator<Allocation> m_Allocator;
2144 // Careful! Don't call it if there are Allocation objects owned by pUserData of of cleared allocations!
2279 regions (aka suballocations, Allocation), assigned and free.
2343 Allocation** pAllocations);
2346 Allocation* hAllocatio [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawBufferObjectUtil.hpp | 52 void bindMemory (de::MovePtr<vk::Allocation> allocation, vk::VkDeviceSize allocOffset = 0ull); 55 vk::Allocation getBoundMemory (void) const { return *m_allocation; } in getBoundMemory() 63 de::MovePtr<vk::Allocation> m_allocation;
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawBufferObjectUtil.hpp | 52 void bindMemory (de::MovePtr<vk::Allocation> allocation, vk::VkDeviceSize allocOffset = 0ull); 55 vk::Allocation getBoundMemory (void) const { return *m_allocation; } in getBoundMemory() 63 de::MovePtr<vk::Allocation> m_allocation;
|
/third_party/vulkan-loader/tests/ |
H A D | loader_alloc_callback_tests.cpp | 181 TEST(Allocation, Instance) { in TEST() 195 TEST(Allocation, GetInstanceProcAddr) { in TEST() 213 TEST(Allocation, EnumeratePhysicalDevices) { in TEST() 236 TEST(Allocation, InstanceAndDevice) { in TEST() 285 TEST(Allocation, InstanceButNotDevice) { in TEST() 334 TEST(Allocation, DeviceButNotInstance) { in TEST() 391 TEST(Allocation, CreateInstanceIntentionalAllocFail) { in TEST() 421 TEST(Allocation, CreateInstanceIntentionalAllocFailInvalidManifests) { in TEST() 466 TEST(Allocation, CreateSurfaceIntentionalAllocFail) { in TEST() 511 TEST(Allocation, CreateInstanceIntentionalAllocFailWithSettingsFilePresen [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | osfiber_asm.h | 92 Allocation stack; 114 Allocation::Request request; in createFiber() 117 request.usage = Allocation::Usage::Stack; in createFiber()
|
H A D | osfiber_ucontext.h | 62 Allocation stack; 102 Allocation::Request request; in createFiber() 105 request.usage = Allocation::Usage::Stack; in createFiber()
|
H A D | memory.cpp | 203 virtual marl::Allocation allocate( 204 const marl::Allocation::Request& request) override { 215 MARL_ASSERT(ptr != nullptr, "Allocation failed"); 217 "Allocation gave incorrect alignment"); 219 marl::Allocation allocation; 225 virtual void free(const marl::Allocation& allocation) override {
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureTestUtil.hpp | 178 de::MovePtr<vk::Allocation> m_textureImageMemory; 180 std::vector<de::SharedPtr<vk::Allocation> > m_allocations; 295 de::MovePtr<vk::Allocation> m_imageMemory; 299 de::MovePtr<vk::Allocation> m_resolvedImageMemory; 312 de::MovePtr<vk::Allocation> m_uniformBufferMemory; 316 de::MovePtr<vk::Allocation> m_vertexIndexBufferMemory; 321 de::MovePtr<vk::Allocation> m_resultBufferMemory;
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureTestUtil.hpp | 178 de::MovePtr<vk::Allocation> m_textureImageMemory; 180 std::vector<de::SharedPtr<vk::Allocation> > m_allocations; 295 de::MovePtr<vk::Allocation> m_imageMemory; 299 de::MovePtr<vk::Allocation> m_resolvedImageMemory; 312 de::MovePtr<vk::Allocation> m_uniformBufferMemory; 316 de::MovePtr<vk::Allocation> m_vertexIndexBufferMemory; 321 de::MovePtr<vk::Allocation> m_resultBufferMemory;
|