mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
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. |
||
|---|---|---|
| .. | ||
| juce_analytics | ||
| juce_animation | ||
| juce_audio_basics | ||
| juce_audio_devices | ||
| juce_audio_formats | ||
| juce_audio_plugin_client | ||
| juce_audio_processors | ||
| juce_audio_utils | ||
| juce_box2d | ||
| juce_core | ||
| juce_cryptography | ||
| juce_data_structures | ||
| juce_dsp | ||
| juce_events | ||
| juce_graphics | ||
| juce_gui_basics | ||
| juce_gui_extra | ||
| juce_midi_ci | ||
| juce_opengl | ||
| juce_osc | ||
| juce_product_unlocking | ||
| juce_video | ||
| CMakeLists.txt | ||