This test was added under https://bugs.openjdk.java.net/browse/JDK-8255722 to verify rotated blit operation. But it started failing XRender pipeline because of pixel color mismatch. Looks like we have minor difference in pixel color because of arithmetic precision differences in transformations.
This test fails every-time in XRender without tolerance and passes with +/-1 in Color values in CI systems. Updated test to use +/-1 tolerance as mentioned in JBS. Added this little tolerance in Color will not change functionality that we are verifying in this test. ------------- Commit messages: - 8255724: [XRender] the BlitRotateClippedArea test fails on Linux in the XR pipeline Changes: https://git.openjdk.java.net/jdk/pull/6002/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6002&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8255724 Stats: 12 lines in 2 files changed: 5 ins; 1 del; 6 mod Patch: https://git.openjdk.java.net/jdk/pull/6002.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/6002/head:pull/6002 PR: https://git.openjdk.java.net/jdk/pull/6002