Commit Graph

5 Commits

Author SHA1 Message Date
c2265b9ed2 alloc: add aligned::foreign allocator
sometimes we need to ensure memory allocation has a particular alignment
in an _offset_ buffer (which we have no control over, eg renderdoc's
OpenGL buffers).

this applies an offset to various operations that make the
aligned::direct allocator correctly align allocations for buffers that
aren't themselves aligned.
2018-03-02 12:21:38 +11:00
9d5e599246 alloc: seperate out the raw allocators from the adapters 2017-08-29 16:53:11 +10:00
972b409160 alloc: duplicate methods with optional args 2016-10-10 20:59:26 +11:00
e7bf2330ed alloc: use nested namespace decl 2016-10-10 17:58:59 +11:00
226e212826 alloc/fwd: add forward decleration header 2016-02-10 14:05:44 +11:00