On Wed, 9 Nov 2022 18:00:31 GMT, Lukasz Kostyra <[email protected]> wrote:
> Issue happening on some hardware due to slightly different pixel values being
> returned.
>
> Increased tolerance of asserts in compareColor function to allow these tests
> to pass (0.01 delta is still tighter than other similar tests which use 0.07).
tests/system/src/test/java/test/robot/javafx/scene/PixelBufferDrawTest.java
line 189:
> 187:
> 188: private void compareColor(Color exp, Color act) {
> 189: Assert.assertEquals(exp.getRed(), act.getRed(), 0.01);
I am curious: what is the source of these differences?
Is it color model (and could we explicitly set the CM?)
Or is it differences in anti-aliasing or some such?
-------------
PR: https://git.openjdk.org/jfx/pull/944