1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-26 02:14:22 +00:00
JUCE/modules/juce_gui_basics
reuk 7685a84c81
HWNDComponentPeer: Avoid glitches and sluggishness during live resize
258203706c introduced a problem where
live-resize of a window would cause the window content to flash and slow
down.

The cause of the errant behaviour seems to be that, during resize, many
WM_PAINT messages might be dispatched over the course of a single vblank
interval. Then, each of these paint calls was waiting for the next
vblank interval to display. This additional waiting resulted in
sluggishness, since many frames would have to be presented before the
presentation 'caught up' with the current window size. This also meant
that many consecutive frames were presented with stale window size
information.

The solution added here simply checks whether we're live resizing, and
uses the vblank instead of WM_PAINT to synchronise repaints during the
resize operation.
2026-01-20 10:55:13 +00:00
..
accessibility Accessibility: Add AccessibilityHandler::postSystemNotification() function for posting an OS-specific accessible notification 2024-12-04 11:11:21 +00:00
application Update licensing information 2024-04-16 11:39:35 +01:00
buttons Button: Make setToggleState effective even when disabled 2026-01-13 15:58:22 +01:00
commands Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
components Component: Improve performance and opaque checks 2025-12-22 09:50:25 +00:00
desktop AUv3: Fix an issue in detecting the available screen user area 2025-10-10 18:07:52 +01:00
detail Button: Make setToggleState effective even when disabled 2026-01-13 15:58:22 +01:00
drawables DrawableText: 0-initialise fontHeight and fontHScale variables 2025-12-08 17:19:57 +00:00
filebrowser Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
keyboard Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
layout Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
lookandfeel Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
menus Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
misc Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
mouse Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
native HWNDComponentPeer: Avoid glitches and sluggishness during live resize 2026-01-20 10:55:13 +00:00
positioning Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
properties Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
widgets Fix bug where a disabled ComboBox could be displayed using screen readers 2025-11-26 10:17:06 +01:00
windows ComponentPeer: Add method for overriding native scale factor 2025-12-16 12:23:58 +00:00
juce_gui_basics.cpp GUI Basics: Split module into multiple compilation units 2025-12-22 09:54:33 +00:00
juce_gui_basics.h Bump version number to 8.0.12 2025-12-16 08:48:49 +00:00
juce_gui_basics.mm Update licensing information 2024-04-16 11:39:35 +01:00
juce_gui_basics_2.cpp GUI Basics: Split module into multiple compilation units 2025-12-22 09:54:33 +00:00
juce_gui_basics_3.cpp GUI Basics: Split module into multiple compilation units 2025-12-22 09:54:33 +00:00
juce_gui_basics_4.cpp GUI Basics: Split module into multiple compilation units 2025-12-22 09:54:33 +00:00
juce_gui_basics_5.cpp GUI Basics: Split module into multiple compilation units 2025-12-22 09:54:33 +00:00