1. 03 May, 2023 17 commits
    • lat9nq's avatar
      configure_graphics: No there isn't a hyphen in VSync · 35e7f36a
      lat9nq authored
      Most sources seem to suggest VSync and not V-Sync
      35e7f36a
    • lat9nq's avatar
      configure_input_player: Add missing include · d82cad3f
      lat9nq authored
      Cleaning up includes in bootmanager and configure_graphics has exposed a
      missing include here.
      d82cad3f
    • lat9nq's avatar
      configure_graphics: Clean up includes [IWYU] · cd2981ee
      lat9nq authored
      cd2981ee
    • lat9nq's avatar
      bootmanager: Clean up includes [IWYU] · 0c0f5b7c
      lat9nq authored
      bootmanager: Remove system-specific headers
      
      IWYU can be too complete I suppose.
      0c0f5b7c
    • lat9nq's avatar
      configure_graphics: Actively find present modes · a546ecbb
      lat9nq authored
      When Vulkan devices are enumerated, this also determines the available
      present modes for each device, maps them to a vector, and gives
      those options to the user.
      OpenGL options are limited to On/Off.
      
      Required creating a VkSurfaceKHR during device enumeration, which
      may or may not be desireable. For the sake of a less confusing UI.
      
      Also fixes a bug where if a graphics device disappears on the host, we
      don't try and select the non-existant devices.
      
      configure_graphics: Remove vsync runtime lock for Vulkan
      
      configure_graphics: Recommend Mailbox present mode
      
      configure_graphics: Fix type-limits warning
      
      configure_graphics: Clean up includes
      
      configure_graphics: Add tooltip
      a546ecbb
    • lat9nq's avatar
      vk_swapchain: Use certain modes for unlocked · 952b2710
      lat9nq authored
      Uses mailbox, then immediate for unlocked framerate depending on
      support for either. Also adds support for FIFO_RELAXED.
      
      This function now assumes vsync_mode was originially configured to a value
      that the driver supports.
      
      vk_swapchain: ChooseSwapPresentMode determines updates
      
      Simplifies swapchain a bit and allows us to change the present mode
      during guest runtime.
      
      vk_swapchain: Fix MSVC error
      
      vk_swapchain: Enforce available present modes
      
      Some frontends don't check the value of vsync_mode before comitting it.
      Just as well, since a driver update or misconfiguration could problems
      in the swap chain.
      
      vk_swapchain: Silence warnings
      
      Silences GCC warnings implicit-fallthrough and shadow, which apparently
      are not enabled on clang.
      952b2710
    • lat9nq's avatar
      bootmanager: Remove inaccurate switch · a090a380
      lat9nq authored
      Those vulkan settings do not correspond 1:1 to the swap intervals that
      they set for OpenGL, so remove it.
      
      bootmanager: Add missing include
      
      I didn't add this log why did it break
      a090a380
    • lat9nq's avatar
      qt_common: Move window info function out of bootmanager · cbd79df2
      lat9nq authored
      Function is useful outside of bootmanager, so put it in a common place.
      
      qt_common: Add missing include
      
      qt_common: Add some newlines
      
      qt_common: Add trailing newline
      
      qt_common: Add trainline newline
      cbd79df2
    • lat9nq's avatar
      vulkan_surface: Pass only window info for surface creation · c6c11c15
      lat9nq authored
      We don't need the whole EmuWindow when creating a surface,
      and it creates onerous requirements outside of typical usage for
      creating a surface elsewhere.
      c6c11c15
    • lat9nq's avatar
      settings: Enable FIFO relaxed · 2528cf7c
      lat9nq authored
      Not entirely sure if we need this, but there's also no reason not to
      support it.
      
      settings: Give VSyncMode values
      2528cf7c
    • lat9nq's avatar
      configure_graphics: Fix another typo · 6b973c59
      lat9nq authored
      6b973c59
    • lat9nq's avatar
      telemetry_session: Make translate function static · 40f062f7
      lat9nq authored
      
      
      Addresses review feedback
      
      Co-authored-by: default avatarLioncash <mathew1800@gmail.com>
      40f062f7
    • lat9nq's avatar
      bootmanager: Return value in impossible case · 29a56496
      lat9nq authored
      The setting is ranged, so this return statement is unreachable.
      But GCC can't tell I guess.
      29a56496
    • lat9nq's avatar
      configure_graphics: Fix typo · 41a103c0
      lat9nq authored
      41a103c0
    • lat9nq's avatar
      default_ini: Update V-Sync description · 66ed1c18
      lat9nq authored
      default_ini: Update vsync text
      
      default_ini: Add tooltip from configure_graphics
      66ed1c18
    • lat9nq's avatar
      configuration: Expose separate swap present modes · 6f0929df
      lat9nq authored
      Previously, yuzu would try and guess which vsync mode to use given
      different scenarios, but apparently we didn't always get it right. This
      exposes the separate modes in a drop-down the user can select.
      
      If a mode isn't available in Vulkan, it defaults to FIFO.
      6f0929df
    • bunnei's avatar
      Merge pull request #9973 from GPUCode/async-present · 8f43b05d
      bunnei authored
      Implement asynchronous presentation
      8f43b05d
  2. 02 May, 2023 5 commits
  3. 01 May, 2023 9 commits
  4. 30 Apr, 2023 3 commits
  5. 29 Apr, 2023 3 commits
  6. 28 Apr, 2023 3 commits