Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for external allocators: #748

Merged
merged 15 commits into from
Sep 16, 2023

Commits on Sep 10, 2023

  1. Support for external allocators:

    * The newly introduced API surface area matches that of VMA's advanced usage and another hand-rolled memory allocator in a content-heavy application.
    * All suballocator callbacks -- allocate, bind image, bind buffer, map, unmap and free -- are expected to guard VkDeviceMemory operations within a mutex.
    * Each texture now also keeps track of its VkDeviceMemory offset.
    * The 64 bit allocationId is to be used as a book-keeping measure by external suballocator callbacks to keep track of and free up suballocations. The external allocator can use a hashtable (ala std::unordered_map in C++) to keep track of the page(s) alloted to this suballocation. ('Pages' here refers to potential sparse bindings).
    toomuchvoltage committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    950f632 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    498ad33 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ccf134f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    48f9686 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ea4005c View commit details
    Browse the repository at this point in the history
  6. Fixing warnings.

    toomuchvoltage committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    e53135d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3465615 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    50ad9b6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    72a03e9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4f885db View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2023

  1. Fixing SPDX issue

    toomuchvoltage committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    860db22 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66fea72 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Configuration menu
    Copy the full SHA
    1c5f8dc View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Configuration menu
    Copy the full SHA
    91fb25e View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2023

  1. Fixing documentation

    toomuchvoltage committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    5eaa1e1 View commit details
    Browse the repository at this point in the history