X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Fmemoryallocator.h;h=fee4726be95f9fde3b50471aad720511642695f8;hb=7e48ef177b668f2ed4c0346fa268e3dbfbb63203;hp=f8d08c4ff5e3a202a7c644b9ce4aef6946da9d4a;hpb=a16145549dc87c3b12671f797bd77b14bcc7786b;p=libs%2Fgl.git diff --git a/source/backends/vulkan/memoryallocator.h b/source/backends/vulkan/memoryallocator.h index f8d08c4f..fee4726b 100644 --- a/source/backends/vulkan/memoryallocator.h +++ b/source/backends/vulkan/memoryallocator.h @@ -40,16 +40,12 @@ public: private: unsigned find_memory_type_index(unsigned, MemoryType); unsigned allocate(std::size_t, unsigned, MemoryType); - Allocation &get_allocation(unsigned); - const Allocation &get_allocation(unsigned) const; public: unsigned allocate(VkBuffer, MemoryType); unsigned allocate(VkImage, MemoryType); void release(unsigned); - std::size_t get_allocation_size(unsigned) const; - void *map(unsigned, std::size_t, std::size_t); void unmap(void *); };