1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

VBlank: Avoid hogging the message queue with repaint messages when repaints take longer than a vblank period

This commit is contained in:
reuk 2024-04-08 18:50:38 +01:00
parent fae3e2c010
commit b1861dc25c
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
37 changed files with 416 additions and 241 deletions

View file

@ -2249,6 +2249,7 @@ add_library( ${BINARY_NAME}
"../../../../../modules/juce_gui_basics/native/juce_ScopedThreadDPIAwarenessSetter_windows.h"
"../../../../../modules/juce_gui_basics/native/juce_ScopedWindowAssociation_linux.h"
"../../../../../modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm"
"../../../../../modules/juce_gui_basics/native/juce_VBlank_windows.cpp"
"../../../../../modules/juce_gui_basics/native/juce_Windowing_android.cpp"
"../../../../../modules/juce_gui_basics/native/juce_Windowing_ios.mm"
"../../../../../modules/juce_gui_basics/native/juce_Windowing_linux.cpp"
@ -4731,6 +4732,7 @@ set_source_files_properties(
"../../../../../modules/juce_gui_basics/native/juce_ScopedThreadDPIAwarenessSetter_windows.h"
"../../../../../modules/juce_gui_basics/native/juce_ScopedWindowAssociation_linux.h"
"../../../../../modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm"
"../../../../../modules/juce_gui_basics/native/juce_VBlank_windows.cpp"
"../../../../../modules/juce_gui_basics/native/juce_Windowing_android.cpp"
"../../../../../modules/juce_gui_basics/native/juce_Windowing_ios.mm"
"../../../../../modules/juce_gui_basics/native/juce_Windowing_linux.cpp"

View file

@ -2726,6 +2726,9 @@
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_ScopedDPIAwarenessDisabler.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_VBlank_windows.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_Windowing_android.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>

View file

@ -3517,6 +3517,9 @@
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_UIViewComponentPeer_ios.mm">
<Filter>JUCE Modules\juce_gui_basics\native</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_VBlank_windows.cpp">
<Filter>JUCE Modules\juce_gui_basics\native</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_Windowing_android.cpp">
<Filter>JUCE Modules\juce_gui_basics\native</Filter>
</ClCompile>

View file

@ -2726,6 +2726,9 @@
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_ScopedDPIAwarenessDisabler.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_VBlank_windows.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_Windowing_android.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>

View file

@ -3517,6 +3517,9 @@
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_UIViewComponentPeer_ios.mm">
<Filter>JUCE Modules\juce_gui_basics\native</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_VBlank_windows.cpp">
<Filter>JUCE Modules\juce_gui_basics\native</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_Windowing_android.cpp">
<Filter>JUCE Modules\juce_gui_basics\native</Filter>
</ClCompile>

View file

@ -2726,6 +2726,9 @@
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_ScopedDPIAwarenessDisabler.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_VBlank_windows.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_Windowing_android.cpp">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>

View file

@ -3517,6 +3517,9 @@
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_UIViewComponentPeer_ios.mm">
<Filter>JUCE Modules\juce_gui_basics\native</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_VBlank_windows.cpp">
<Filter>JUCE Modules\juce_gui_basics\native</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\modules\juce_gui_basics\native\juce_Windowing_android.cpp">
<Filter>JUCE Modules\juce_gui_basics\native</Filter>
</ClCompile>