1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/modules/juce_graphics
reuk c57041e5bc
Direct2D: Simplify threading of swapchain presentation
Previously, IDXGISwapChain::Present was called on a background thread,
which made it difficult to avoid race conditions. e.g. during a
live-resize of a window, we would occasionally draw old incomplete
frames instead of new frames at the correct size.

The new approach moves the Present call to the main thread via
AsyncUpdater. We attempt to present whenever the swap event wakes, and
whenever a frame is drawn. Only a single Present call may be made after
the swap event wakes. Subsequent Present calls will be ignored until the
next time the swap event wakes.
2024-10-08 16:10:07 +01:00
..
colour ColourGradient: Fix assertion in ColourGradient::remove 2024-05-08 17:53:52 +01:00
contexts Windows: Fix build warnings when JUCE_DISABLE_ASSERTIONS is set 2024-09-13 13:57:10 +01:00
detail Formatting: Whitespace 2024-09-06 15:40:39 +00:00
effects D2D: Add faster two-pass blur implementation 2024-04-29 16:08:24 +01:00
fonts SimpleShapedText: Avoid MSVC compiler bug for C++20 builds 2024-09-20 17:29:05 +01:00
geometry EdgeTable: Fix assertion caused by unnecessarily storing prepending zero levels 2024-09-05 17:36:51 +02:00
image_formats MinGW: Remove support 2024-06-27 18:10:21 +01:00
images Direct2D: Add support for bitmaps spanning multiple texture pages 2024-09-18 15:44:04 +01:00
native Direct2D: Simplify threading of swapchain presentation 2024-10-08 16:10:07 +01:00
placement Update licensing information 2024-04-16 11:39:35 +01:00
unicode UnicodeGenerated: Remove redundant fields 2024-09-18 19:13:09 +01:00
juce_graphics.cpp Fonts: Fix freetype compilation issues on Debian 10 2024-10-02 11:16:55 +01:00
juce_graphics.h Bump version number to 8.0.2 2024-09-26 08:31:50 +01:00
juce_graphics.mm Update licensing information 2024-04-16 11:39:35 +01:00
juce_graphics_Harfbuzz.cpp Fonts: Fix freetype compilation issues on Debian 10 2024-10-02 11:16:55 +01:00
juce_graphics_Sheenbidi.c SheenBidi: Include in build of juce_graphics 2024-09-18 19:13:08 +01:00