• Show log

    Commit

  • Hash : 081934f6
    Author : Igor Nazarov
    Date : 2025-03-12T15:22:31

    Vulkan: Add avoidInvisibleWindowSwapchainRecreate feature
    
    There is a bug on some NVIDIA drivers on Linux X11 when
    `vkAcquireNextImageKHR()` constantly returns `VK_ERROR_OUT_OF_DATE_KHR`
    if recreate the swapchain while window is not visible.
    
    If not recreate the swapchain after window resize - nothing happens,
    acquire and present works without errors. But if recreate the swpahchain
    to the `VkSurfaceCapabilitiesKHR::currentExtent` the next
    `vkAcquireNextImageKHR()` will return `VK_ERROR_OUT_OF_DATE_KHR`. ANGLE
    will retry to recreate the swapchain one more time and fail the call.
    
    Enabling the "avoidInvisibleWindowSwapchainRecreate" feature will avoid
    swapchain recreation when window size changes while it is not visible.
    
    Test: angle_end2end_tests --gtest_filter=EGLSurfaceTest.ResizeInvisibleWindow/*
    Bug: angleproject:397848903
    Bug: angleproject:42264022
    Bug: angleproject:42263074
    Change-Id: I48588bf467d15c0e84b923092e06a42c22084dcc
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6348739
    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