Lines Matching refs:align
23 Memory::Memory(size_t capacity, std::shared_ptr<uint8_t> bufData, size_t align, MemoryType type) in Memory() argument
24 : memoryType(type), capacity(capacity), alignment(align), in Memory()
29 Memory::Memory(size_t capacity, std::shared_ptr<Allocator> allocator, size_t align, MemoryType type… in Memory() argument
30 : memoryType(type), capacity(capacity), alignment(align), offset(0), in Memory()
36 size_t allocSize = align ? (capacity + align - 1) : capacity; in Memory()
43 …atic_cast<size_t>(AlignUp(reinterpret_cast<uintptr_t>(addr.get()), static_cast<uintptr_t>(align)) - in Memory()
200 … std::shared_ptr<Allocator> allocator, size_t align) in CreateDefaultBuffer() argument
203 … std::shared_ptr<Memory> memory = std::shared_ptr<Memory>(new Memory(capacity, allocator, align)); in CreateDefaultBuffer()
238 …tr<Memory> Buffer::AllocMemory(std::shared_ptr<Allocator> allocator, size_t capacity, size_t align) in AllocMemory() argument
244 memory = std::shared_ptr<Memory>(new Memory(capacity, allocator, align)); in AllocMemory()
249 memory = std::shared_ptr<Memory>(new SurfaceMemory(capacity, allocator, align)); in AllocMemory()
253 memory = std::shared_ptr<Memory>(new ShareMemory(capacity, allocator, align)); in AllocMemory()