1
0
Fork 0
godot/platform/windows
Aitor Guevara 6263774aec [Windows] Fix not applying NVIDIA profile to new executables
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.
2023-09-22 20:51:12 +02:00
..
doc_classes [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
export [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
README.md
SCsub [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
console_wrapper_windows.cpp
crash_handler_windows.cpp
crash_handler_windows.h
detect.py [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
display_server_windows.cpp Merge pull request #82031 from bruvzg/borderless_fs 2023-09-21 14:27:39 +02:00
display_server_windows.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
gl_manager_windows_angle.cpp [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
gl_manager_windows_angle.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
gl_manager_windows_native.cpp [Windows] Fix not applying NVIDIA profile to new executables 2023-09-22 20:51:12 +02:00
gl_manager_windows_native.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
godot.ico
godot.natvis
godot_console.ico
godot_res.rc
godot_res_wrap.rc
godot_windows.cpp
joypad_windows.cpp
joypad_windows.h
key_mapping_windows.cpp
key_mapping_windows.h
lang_table.h
os_windows.cpp
os_windows.h
platform_config.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
platform_gl.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
platform_windows_builders.py
tts_windows.cpp
tts_windows.h
vulkan_context_win.cpp
vulkan_context_win.h
wgl_detect_version.cpp [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
wgl_detect_version.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
windows_terminal_logger.cpp
windows_terminal_logger.h

README.md

Windows platform port

This folder contains the C++ code for the Windows platform port.

See also misc/dist/windows folder for additional files used by this platform.

Documentation