1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-23 01:44:22 +00:00
JUCE/modules/juce_gui_basics/native
attila fb670d209b Windows: Throttle VBlankThread when the display is off
When the display goes to sleep IDXGIOutput::WaitForVBlank returns S_OK
immediately causing the VBlankThread to consume a core entirely with the
VBlank related messaging.

To limit this problem, we use the same technique as Chromium presently
does, and we sleep for 1 ms, if the time between the last two VBlank
events was less than a ms. This limits the VBlankThread messaging rate
of about 50.000/s on an Intel 13600 to 1000/s.
2024-07-31 18:15:54 +02:00
..
accessibility Platform: Remove compatibility checks for Android 20 and earlier 2024-07-03 13:45:37 +01:00
java/app/com/rmsl/juce Update licensing information 2024-04-16 11:39:35 +01:00
javaopt/app/com/rmsl/juce Update licensing information 2024-04-16 11:39:35 +01:00
juce_CGMetalLayerRenderer_mac.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_ContentSharer_android.cpp Platform: Remove compatibility checks for Android 20 and earlier 2024-07-03 13:45:37 +01:00
juce_ContentSharer_ios.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_DragAndDrop_linux.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_DragAndDrop_windows.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_FileChooser_android.cpp Platform: Remove compatibility checks for Android 20 and earlier 2024-07-03 13:45:37 +01:00
juce_FileChooser_ios.mm Platform: Remove deprecated code paths that will never be called 2024-07-03 14:50:08 +01:00
juce_FileChooser_linux.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_FileChooser_mac.mm Platform: Remove compatibility checks for macOS 10.11 2024-07-02 18:06:28 +01:00
juce_FileChooser_windows.cpp Platform: Remove compatibility checks for Windows 8.1 and earlier 2024-07-03 13:47:06 +01:00
juce_MainMenu_mac.mm Platform: Remove compatibility checks for macOS 10.11 2024-07-02 18:06:28 +01:00
juce_MouseCursor_mac.mm MouseCursor: Fix argument order in call to dictionaryWithObjectsAndKeys 2024-04-16 21:07:44 +01:00
juce_MultiTouchMapper.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_NativeMessageBox_android.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_NativeMessageBox_ios.mm Update licensing information 2024-04-16 11:39:35 +01:00
juce_NativeMessageBox_linux.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_NativeMessageBox_mac.mm Platform: Remove compatibility checks for macOS 10.9 2024-07-02 18:06:27 +01:00
juce_NativeMessageBox_windows.cpp Platform: Remove compatibility checks for Windows 8.1 and earlier 2024-07-03 13:47:06 +01:00
juce_NativeModalWrapperComponent_ios.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_NSViewComponentPeer_mac.mm Platform: Remove build-time Apple SDK availability checks 2024-07-03 13:50:08 +01:00
juce_PerScreenDisplayLinks_mac.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_ScopedDPIAwarenessDisabler.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_ScopedDPIAwarenessDisabler.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_ScopedThreadDPIAwarenessSetter_windows.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_ScopedWindowAssociation_linux.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_UIViewComponentPeer_ios.mm Platform: Remove build-time Apple SDK availability checks 2024-07-03 13:50:08 +01:00
juce_VBlank_windows.cpp Windows: Throttle VBlankThread when the display is off 2024-07-31 18:15:54 +02:00
juce_Windowing_android.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_Windowing_ios.mm Platform: Remove deprecated code paths that will never be called 2024-07-03 14:50:08 +01:00
juce_Windowing_linux.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_Windowing_mac.mm Platform: Remove compatibility checks for macOS 10.10 2024-07-02 18:06:27 +01:00
juce_Windowing_windows.cpp Windowing: Re-enable rounded corners on Windows 11 2024-07-29 16:12:00 +01:00
juce_WindowsHooks_windows.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_WindowsHooks_windows.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_WindowUtils_android.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_WindowUtils_ios.mm Update licensing information 2024-04-16 11:39:35 +01:00
juce_WindowUtils_linux.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_WindowUtils_mac.mm Update licensing information 2024-04-16 11:39:35 +01:00
juce_WindowUtils_windows.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_XSymbols_linux.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_XSymbols_linux.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_XWindowSystem_linux.cpp Linux: Make ComponentPeer::getCurrentModifiersRealtime() update shift and ctrl modifiers 2024-04-16 17:43:21 +01:00
juce_XWindowSystem_linux.h Update licensing information 2024-04-16 11:39:35 +01:00