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

sokol_gfx.h mtl: new attempt to fix swapchain lifetime issues #873

Merged
merged 5 commits into from
Aug 28, 2023

Commits on Aug 25, 2023

  1. sokol_gfx.h mtl: new attempt to fix swapchain lifetime issues

    See #872
    
    This does away with the separate retained-reference command buffer
    for the present call, and instead uses the regular 'deferred
    release queue' for the default pass MTLRenderPassDescriptor.
    Since the render-pass-descriptor holds a strong-ref to
    swapchain surfaces this should make sure that those surfaces
    outlive their command buffer when they are released by
    MTKView because of a window resize. This means there's a memory
    spike during window resize, but I guess there's no way around that.
    floooh committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    660401c View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. Configuration menu
    Copy the full SHA
    03c0efd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58d9f41 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0aa93b3 View commit details
    Browse the repository at this point in the history
  4. update changelog

    floooh committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    7a03694 View commit details
    Browse the repository at this point in the history