RFR: 8274932: Render scales in EmbeddedWindow are not properly updated [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Fri Jul 7 17:18:12 UTC 2023
On Fri, 7 Jul 2023 17:07:55 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> Prasanta Sadhukhan has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - Set stage scale in FX thread
>> - Set stage scale in FX thread
>
> modules/javafx.swing/src/main/java/javafx/embed/swing/JFXPanel.java line 644:
>
>> 642: stage.setRenderScaleY(scaleFactorY);
>> 643: }
>> 644: });
>
> [question]
> could there be race condition between sendResizeEventToFX() and stage.setRenderScale() since we now have two different threads operating?
I dont think so as we have similar call on FX thread in setScene() without any race issue...
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1171#discussion_r1256156012
More information about the openjfx-dev
mailing list