On Tue, 8 Dec 2020 16:29:52 GMT, Jose Pereda <jper...@openjdk.org> wrote:

> This PR fixes a regression introduced in 
> [JDK-8199592](https://bugs.openjdk.java.net/browse/JDK-8199592), where scene 
> initialization was moved after updating output scales. However, in case of 
> embedded windows (used by `JFXPanel` or `FXCanvas`), the scene has to be 
> initialized before.
> 
> A test has been included. Before applying the fix, the JFXPanel is rendered 
> with a garbled image, and after the fix, the rendering is correct.

This pull request has now been integrated.

Changeset: 1a8652af
Author:    Jose Pereda <jper...@openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/1a8652af
Stats:     184 lines in 2 files changed: 183 ins; 0 del; 1 mod

8257719: JFXPanel scene fails to render correctly on HiDPI after fix for 
JDK-8199592

Reviewed-by: kcr, jvos

-------------

PR: https://git.openjdk.java.net/jfx/pull/364

Reply via email to