[OpenJDK 2D-Dev] Integrated: 8196086: java/awt/image/DrawImage/IncorrectSourceOffset.java fails
Sergey Bylokhov
serb at openjdk.java.net
Sat Nov 28 04:33:55 UTC 2020
On Sun, 22 Nov 2020 07:36:12 GMT, Sergey Bylokhov <serb at 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.
This pull request has now been integrated.
Changeset: 1241f800
Author: Sergey Bylokhov <serb at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/1241f800
Stats: 18 lines in 5 files changed: 11 ins; 3 del; 4 mod
8196086: java/awt/image/DrawImage/IncorrectSourceOffset.java fails
Reviewed-by: shade
-------------
PR: https://git.openjdk.java.net/jdk/pull/1372
More information about the 2d-dev
mailing list