1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-13 00:04:19 +00:00
JUCE/modules
reuk a4022df686
Direct2D: Fix issue where contexts would not clear properly after pushing multiple clip layers
This issue could be seen when calling setBufferedToImage on a component
with a transparent background with a size different to the component's
size.

The details are unclear to me, but it seems like both calling Clear on
the device context, and using the COPY blend mode, ignore alpha values
and instead use a constant alpha of 1.0 when there is a geometric
clipping layer active.

As a workaround for this issue, when clearing a rectangle we now pop all
active layers, fill their intersection using the COPY blend mode while
there are no layers active, and then reinstate the layers.

The new implementation is likely to be very slow, however I think this
code path is unlikely to be used frequently in practice. The main
use-case for rendering clear transparent areas is the rendering of
buffered component images, but such cases normally use axis-aligned
clipping regions, which should be able to use the faster path.
2024-07-04 13:03:56 +01:00
..
juce_analytics Bump version number to 8.0.0 2024-04-16 17:43:20 +01:00
juce_animation Fix some Doxygen docstrings 2024-06-12 09:35:32 +01:00
juce_audio_basics Platform: Remove build-time Apple SDK availability checks 2024-07-03 13:50:08 +01:00
juce_audio_devices Platform: Remove references to unsupported platforms in docs and strings 2024-07-03 13:50:08 +01:00
juce_audio_formats MinGW: Remove support 2024-06-27 18:10:21 +01:00
juce_audio_plugin_client Platform: Remove build-time Apple SDK availability checks 2024-07-03 13:50:08 +01:00
juce_audio_processors Platform: Remove deprecated code paths that will never be called 2024-07-03 14:50:08 +01:00
juce_audio_utils Platform: Remove compatibility checks for macOS 10.11 2024-07-02 18:06:28 +01:00
juce_box2d Bump version number to 8.0.0 2024-04-16 17:43:20 +01:00
juce_core Platform: Remove build-time Apple SDK availability checks 2024-07-03 13:50:08 +01:00
juce_cryptography Bump version number to 8.0.0 2024-04-16 17:43:20 +01:00
juce_data_structures ValueTree: Optimise when listeners don't remove themselves 2024-06-07 20:25:39 +01:00
juce_dsp SIMDRegister: Fix undefined behaviour 2024-07-04 13:05:26 +02:00
juce_events Platform: Remove compatibility checks for macOS 10.9 2024-07-02 18:06:27 +01:00
juce_graphics Direct2D: Fix issue where contexts would not clear properly after pushing multiple clip layers 2024-07-04 13:03:56 +01:00
juce_gui_basics Platform: Remove deprecated code paths that will never be called 2024-07-03 14:50:08 +01:00
juce_gui_extra Platform: Remove deprecated code paths that will never be called 2024-07-03 14:50:08 +01:00
juce_midi_ci Bump version number to 8.0.0 2024-04-16 17:43:20 +01:00
juce_opengl Platform: Remove compatibility checks for macOS 10.10 2024-07-02 18:06:27 +01:00
juce_osc Bump version number to 8.0.0 2024-04-16 17:43:20 +01:00
juce_product_unlocking InAppPurchases: Update Android implementation to support GPB 7.0.0 2024-06-12 19:16:32 +01:00
juce_video Platform: Remove deprecated code paths that will never be called 2024-07-03 14:50:08 +01:00
CMakeLists.txt Animation: Add juce_animation module 2024-04-16 17:43:21 +01:00