RFR: 8255724: [XRender] the BlitRotateClippedArea test fails on Linux in the XR pipeline

Jayathirth D V jdv at openjdk.java.net
Thu Oct 21 05:16:11 UTC 2021


On Wed, 20 Oct 2021 07:18:06 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> 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.
>
> actually it does change the meaning of the test, take a look how it generate the pattern in the drawing image, to check many combination of colors. And in fact it found a bug in the XRender, so it will be good to preserve that strict requirements in the test for other/new pipelines.

@mrserb I have created follow up bug for the same : https://bugs.openjdk.java.net/browse/JDK-8275689

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

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



More information about the client-libs-dev mailing list