• Show log

    Commit

  • Hash : dbffa5d3
    Author : Igor Nazarov
    Date : 2023-05-30T15:43:45

    Vulkan: Update present history logic
    
    Keeping old Swapchain's `ImagePresentOperation`s with Fences can lead to
    multiple "old swapchains" lists. This may cause situations exceeding
    the `kMaxOldSwapchains` limit.
    
    Instead of marking `ImagePresentOperation` as corresponding to an older
    swapchain, accumulate all present history in the `mOldSwapchains`.
    
    Since Fences are only used when VK_EXT_swapchain_maintenance1 is
    supported, instead of attaching "old swapchains" to the first present
    operation, they are destroyed when present Fences are signaled in the
    new `cleanUpOldSwapchains()` method.
    
    Also this CL fixes a bug:
        if (mPresentHistory.empty() || mPresentHistory.back().imageIndex == kInvalidImageIndex)
    The above condition will always pass when VK_EXT_swapchain_maintenance1
    is supported.
    
    Bug: angleproject:7847
    Change-Id: I1a41944456756b8af740f1903c873823323a2e0b
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4505952
    Reviewed-by: Charlie Lao <cclao@google.com>
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    Commit-Queue: Igor Nazarov <i.nazarov@samsung.com>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/angle.git
    Git SSH git@git.kmx.io:kc3-lang/angle.git
    Public access ? public
    Description

    A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.

    Homepage

    Github

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags