gamut icon indicating copy to clipboard operation
gamut copied to clipboard

Support allocators

Open p0nce opened this issue 3 years ago • 2 comments

  • do people want allocators just for image data or also all the various things, like metadata?
  • Is allocator a global? If no, images need to retain their allocation method. If that is so, we need a user pointer to give to the allocator. The problem of a global is that then the library needs initialization, which it currently doesn't.
  • At this point it would be handy to store some thing like that as metadata (for example: initial allocation method).

p0nce avatar Jul 31 '22 13:07 p0nce

Discussion here => https://forum.dlang.org/post/[email protected]

p0nce avatar Aug 18 '22 12:08 p0nce

Interesting design here: https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkAllocationCallbacks.html

p0nce avatar Sep 23 '22 12:09 p0nce