[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: [OpenJDK 2D-Dev] RFR: 8196086: java/awt/image/DrawImage/IncorrectSourceOffset.java fails
From:       Aleksey Shipilev <shade () openjdk ! java ! net>
Date:       2020-11-26 10:19:55
Message-ID: eSlBpnPmPb3S-i7g0VaX6nFxjTUzZMisRPg8ujKJsc0=.26b6a83b-1cef-4f8f-a451-6bf388750a53 () github ! com
[Download RAW message or body]

On Sun, 22 Nov 2020 07:36:12 GMT, Sergey Bylokhov <serb@openjdk.org> wrote:

> These tests draw some specific pattern to the VolatileImage and to the \
> BufferedImage, and then compare pixels. 
> The test uses the getSnapshot() method to get the pixels from VolatileImage, and \
> this method produces some interpolation "artifacts" if the fractional scale is used \
> in the system(like 125%). 
> The solution is to use some predefined scale to pass the tests, to reproduce \
> initial bug scale=1 is enough. One test fails because of the bug in the XRender \
> pipeline.

Thanks for the explanation. Looks fine to me then.

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

Marked as reviewed by shade (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/1372


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic