Skip to content

Support vertical synchronization.#127

Merged
crud89 merged 5 commits intomainfrom
vsync
Mar 4, 2024
Merged

Support vertical synchronization.#127
crud89 merged 5 commits intomainfrom
vsync

Conversation

@crud89
Copy link
Copy Markdown
Owner

@crud89 crud89 commented Mar 4, 2024

Describe the pull request

This PR adds support for vertical synchronization. V-Sync can be toggled on or off on a swap chain. All samples have been updated to toggle V-Sync when pressing F7. Additionally it is possible to specify the initial setting for V-Sync during device or swap chain creation.

Changing the V-Sync mode on a swap chain will raise it's reset event, which will also include the new setting.

@crud89 crud89 added Vulkan πŸŒ‹ The issue involves the Vulkan backend. DX12 ❎ The issue involves the DX12 backend. labels Mar 4, 2024
@crud89 crud89 added this to the Alpha #04 milestone Mar 4, 2024
@crud89 crud89 self-assigned this Mar 4, 2024
@crud89 crud89 marked this pull request as ready for review March 4, 2024 08:56
@crud89 crud89 merged commit 7d6e279 into main Mar 4, 2024
@crud89 crud89 deleted the vsync branch March 4, 2024 13:20
@crud89 crud89 restored the vsync branch March 4, 2024 15:32
@crud89 crud89 deleted the vsync branch March 4, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DX12 ❎ The issue involves the DX12 backend. Vulkan πŸŒ‹ The issue involves the Vulkan backend.

Projects

Status: v0.4.1

Development

Successfully merging this pull request may close these issues.

1 participant