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

Sync with Q2PRO: Video driver changes #353

Merged
merged 17 commits into from
Nov 20, 2023

Conversation

res2k
Copy link
Contributor

@res2k res2k commented Nov 2, 2023

Upstream changes related to "video drivers" (ie platform-dependent window creation etc.)

Note: Upstream also contains/received multiple of such video drivers, but Q2RTX remains SDL-only.

skullernet and others added 17 commits November 2, 2023 12:12
Also delay changing video mode until renderer is fully initialized.
So that more video drivers can be added in the future.
It used to depend on fullscreen flag, but no longer does.
Also fix scancode for K_MENU, which should be SDL_SCANCODE_APPLICATION.
Move evdev table into .c file, will be shared with X11 video driver.
Use numeric keycode values so it can be compiled on non-Linux systems.
Also add missing K_PRINTSCREEN and K_PAUSE entries.
Required to get rid of blurry scaling on Wayland.
Appears unnecessary after upstream changes.
@apanteleev apanteleev merged commit 1d64d84 into NVIDIA:master Nov 20, 2023
2 checks passed
@res2k res2k deleted the q2pro-sync-video-driver branch November 20, 2023 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants