godot/platform/windows
Aitor Guevara fdfa59ee6c [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.

(cherry picked from commit 6263774aec)
2023-10-24 18:17:02 +02:00
..
doc_classes Fix docs after renaming export option 2023-06-12 23:59:55 +02:00
export Fix Windows console wrapper and icon being swapped 2023-09-21 15:43:10 +02:00
README.md Minor typo and docs URL fixes 2023-02-28 13:38:01 +01:00
SCsub [Windows] Add main executable to the console wrapper dependencies to prevent simultaneous linking. 2023-09-20 22:44:04 +02:00
console_wrapper_windows.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
crash_handler_windows.cpp [Windows] Detect missing DLL dependencies and list them in the open_dynamic_library error message. 2023-03-27 12:18:15 +03:00
crash_handler_windows.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
detect.py Build system: add option for MSVC incremental linking. 2023-09-20 22:44:04 +02:00
display_server_windows.cpp Fix native popups auto-closing when interacting with non-client area. 2023-10-19 21:45:11 +02:00
display_server_windows.h [DisplayServer] Add method to check if native window is focused. 2023-06-16 10:27:52 +03:00
gl_manager_windows.cpp [Windows] Fix not applying NVIDIA profile to new executables 2023-10-24 18:17:02 +02:00
gl_manager_windows.h Disable NVIDIA's threaded optimization on Windows 2023-06-13 11:47:40 +02:00
godot.ico [Windows] Optimize editor icon, use different icon for console executable. 2022-11-29 09:39:03 +02:00
godot.natvis added more data structures to Natvis for msdev 2022-09-04 12:06:26 -04:00
godot_console.ico [Windows] Optimize editor icon, use different icon for console executable. 2022-11-29 09:39:03 +02:00
godot_res.rc PCK: Set VERSION_PATCH in header, factor out header magic 2020-01-06 13:13:17 +01:00
godot_res_wrap.rc [Windows] Optimize editor icon, use different icon for console executable. 2022-11-29 09:39:03 +02:00
godot_windows.cpp Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
joypad_windows.cpp Added a few additional GUIDs to list of hardcoded IDs in is_xinput_device 2023-06-09 15:02:19 +02:00
joypad_windows.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
key_mapping_windows.cpp [Linux/X11] Add some missing keycodes/scancodes. 2023-03-08 12:13:41 +02:00
key_mapping_windows.h Cleanup and unify keyboard input. 2023-01-23 15:08:12 +02:00
lang_table.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
os_windows.cpp Windows: Always double-quote path when launching explorer.exe to browse 2023-10-24 16:05:00 +02:00
os_windows.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
platform_config.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
platform_windows_builders.py SCons: Fix `separate_debug_symbols` option for Windows/MinGW 2022-12-21 13:52:49 +01:00
tts_windows.cpp Merge pull request #75881 from bruvzg/win_coinit 2023-04-18 23:40:06 +02:00
tts_windows.h Windows TTS: Use HashMap instead of RBMap for ids 2023-04-11 15:54:21 +02:00
vulkan_context_win.cpp Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
vulkan_context_win.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
windows_terminal_logger.cpp Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00
windows_terminal_logger.h Style: Harmonize header includes in platform ports 2023-06-08 15:19:19 +02:00

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