Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PAL2.0] Pal2 improvements #1720

Open
wants to merge 19 commits into
base: opentk5.0
Choose a base branch
from
Open

Conversation

NogginBops
Copy link
Member

@NogginBops NogginBops commented Apr 2, 2024

Purpose of this PR

Adds VsyncTest application to OpenTK.Backends.Tests to be able to check vsync issues.
Add OpenGLComponent.UseDwmFlushIfApplicable to enable using DwmFlush to make vsync better on win32.
Implemented MacOSWindowComponent.GetCursorCaptureMode/MacOSWindowComponent.SetCursorCaptureMode.
Implemented invisible cursors on macOS.
Adds IDialogComponent with win32 and macOS implementations.
TODO

Testing status

@NogginBops NogginBops added this to the 5.0-pre11 milestone Apr 2, 2024
…DwmFlush usage. Fixed OpenTK.Backends.Tests imgui input.
…variable.

Added SetFullscreenDisplayNoSpace to MacOSWindowComponent to make a window fullscreen without opening a new space.
Started implementing MacOSWindowComponent.SetFullscreenDisplay.
Implemented MacOSWindowComponent.SetFullscreenDisplay(WindowHandle, DisplayHandle?).
Implemented MacOSWindowComponent.GetCursorCaptureMode.
Implemented the Normal and Confined cursor capture modes for MacOSWindowComponent.SetCursorCaptureMode.
Fixed so invisible cursors work in macOS backend.
Fixed off-by-one error when inverting y coordinates.
Added 'FpsCamera' test application to OpenTK.Backends.Tests.
Made Update(float deltaTime) work in OpenTK.Backends.Tests test applications.
@NogginBops NogginBops mentioned this pull request May 10, 2024
68 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant