vsync wait on win32 #86

Merged
MartinFouilleul merged 5 commits from vblank_notification into main 2023-09-09 12:40:00 +00:00
Collaborator

Includes some disabled changes for macOS for if/when we get around to trying out manually attempting to vsync.

Includes some disabled changes for macOS for if/when we get around to trying out manually attempting to vsync.
rdunnington added 4 commits 2023-09-09 05:53:21 +00:00
MartinFouilleul added 1 commit 2023-09-09 12:34:36 +00:00
Collaborator

I made some changes to move all differences between vsync handling on macos and win32 into runtime.c, so that this is more explicit and doesn't cause confusion in the future.
So now both win32 and macos have the API available, we just have special #if-guards in runtime.c to set swap interval to 0 and manually wait on Windows.

I made some changes to move all differences between vsync handling on macos and win32 into `runtime.c`, so that this is more explicit and doesn't cause confusion in the future. So now both win32 and macos have the API available, we just have special `#if`-guards in `runtime.c` to set swap interval to 0 and manually wait on Windows.
MartinFouilleul merged commit 5a7182a3b9 into main 2023-09-09 12:40:00 +00:00
Sign in to join this conversation.
No reviewers
No Label
macOS
windows
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hmn/orca#86
No description provided.