Skip to content

Commit

Permalink
Amend docs and README based on info from Nikolay
Browse files Browse the repository at this point in the history
  • Loading branch information
rock3r committed Sep 25, 2023
1 parent 256c988 commit 647ac2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ you, but if you want to also enable it in other scenarios and in standalone appl
`enableNewSwingCompositing()` function in your Compose entry points (that is, right before creating a `ComposePanel`).

> [!NOTE]
> The new Swing rendering pipeline is experimental and may have performance repercussions, especially on Windows, where
> HW acceleration is not yet available.
> The new Swing rendering pipeline is experimental and may have performance repercussions when using infinitely
> repeating animations. This is a known issue by the Compose Multiplatform team, that requires changes in the Java
> runtime to fix. Once the required changes are made in the JetBrains Runtime, we'll remove this notice.
## Need help?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import org.jetbrains.jewel.ExperimentalJewelApi
/**
* Enables the new compositing strategy for rendering directly into Swing
* Graphics. This fixes z-order problems and artifacts on resizing, but
* has a performance penalty on Windows (as of 1.5.1) because there is no
* DirectX HW acceleration. Linux and macOS have HW acceleration though.
* has a performance penalty when using infinitely repeating animations.
*
* We assume the majority of our users will want this flag to be on, so
* this convenience function is provided to that end. Make sure you call
Expand Down

0 comments on commit 647ac2f

Please sign in to comment.