RFR: 8202990: javafx webview css filter property with display scaling [v2]

Arun Joseph ajoseph at openjdk.java.net
Wed Sep 2 03:16:45 UTC 2020

On Tue, 1 Sep 2020 06:29:17 GMT, Bhawesh Choudhary <bchoudhary at openjdk.org> wrote:

>> ImageJava.cpp ignores CompositeOperator parameter in drawImage function due to which shadow was getting drawn on top of
>> actual image. apply given composite operator to graphics context before drawing image to fix this issue. another issue
>> is into WCGraphicsPrismContext.java. while blending two layers, applying state to the destination layer was missed due
>> to which image was not getting drawn with right scale in hidpi mode. apply state to fix the issue.
> Bhawesh Choudhary has updated the pull request incrementally with one additional commit since the last revision:
>   Moved test from unit test to system test

tests/system/src/test/java/test/javafx/scene/web/CSSFilterTest.java line 44:

> 43: import static javafx.concurrent.Worker.State.SUCCEEDED;
> 44: import static org.junit.Assert.assertEquals;
> 45: import static org.junit.Assert.assertNotNull;

assertEquals is not used in this test and can be removed.


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

More information about the openjfx-dev mailing list