summaryrefslogtreecommitdiffstats
path: root/platform/windows/gl_manager_windows_native.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Style: Add `WARNING:` as new comment admonitionThaddeus Crews2024-09-251-2/+2
|
* [Windows] Use default aggregate initialization for NVAPI settingsAitor Guevara2024-07-251-2/+2
| | | | | | Using the member initialization encouraged in NVAPI documentation for NVDRS_SETTING results in builds enabling `dev_mode` breaking. Default aggregate initialization results in a clean build though.
* [Windows] Disable G-SYNC in windowed modeAitor Guevara2024-06-291-15/+28
| | | | | | | | | G-SYNC (NVIDIA's VRR) is known to be buggy on windowed mode in Windows. While the driver only enables G-SYNC for full screen mode by default, users can toggle it on for windowed mode too, resulting in unstable refresh rates during Editor usage. This patch extends Godot's NVIDIA profile to force the default full screen mode only G-SYNC with Godot.
* Tweak warning messages related to V-Sync on OpenGLHugo Locurcio2024-06-161-2/+2
| | | | | | - Make warnings print only once per session. - Tweak the message to be less confusing, and mention that the issue most likely stems from a graphics driver limitation.
* Merge pull request #85188 from aitorciki/nvdrs-fixesRémi Verschelde2024-05-071-16/+38
|\ | | | | | | [Windows] Fix NVIDIA app profile creation
| * [Windows] Fix NVIDIA app profile creationAitor Guevara2024-03-251-16/+38
| | | | | | | | | | | | | | | | | | | | When adding an executable to the NVIDIA profile created to disable threaded optimization, wrong values were passed to `launcher` and `fileInFolder` params, which resulted in 1) the NVIDIA driver not applying the profile and 2) the app being repeatedly added to the profile. This patch fixes the faulty app creation params and deletes the potentially corrupted profile if found.
* | Polish interaction between windowing, input and renderingPedro J. Estébanez2024-04-101-21/+3
|/ | | | | - Adapt GL make/release API to the current architecture. - Fix DisplayServer being locked while dispatching input (prevent deadlocks).
* clang-tidy: Enforce `modernize-use-nullptr`Thaddeus Crews2024-03-121-10/+10
|
* Codestyle: Fix some comment issuesRémi Verschelde2023-11-211-1/+1
|
* Check nullptr in `_nvapi_disable_threaded_optimization` to prevent crashjsjtxietian2023-11-201-2/+6
| | | | update outdated link
* [Windows] Fix not applying NVIDIA profile to new executablesAitor Guevara2023-09-221-4/+14
| | | | | | | | | | | | | | | An NVIDIA profile is applied to the current executable to disable threaded OpenGL optimizations on Windows (see #71472). But because the application is only added to the profile upon the profile creation, newer executables won't be added to the profile (e.g. if the profile is created on first launch of Godot_v4.1-stable_win64.exe, when users update the editor and launch Godot_v4.2-stable_win64.exe, the profile will never be applied to this new executable). This patch fixes that scenario by splitting creating the profile (if it doesn't exist) and adding the application (if it doesn't have a profile applied) into two separate steps. Applications that have been manually added to a different profile aren't overriden to avoid confusing users who know what they're doing.
* [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add ↵bruvzg2023-09-211-0/+526
EGL_ANDROID_blob_cache caching. Co-authored-by: Riteo <riteo@posteo.net>