[OpenJDK 2D-Dev] RFR: 8267116: Lanai: Incorrect AlphaComposite for VolatileImage graphics [v2]
Sergey Bylokhov
serb at openjdk.java.net
Sat May 15 21:16:36 UTC 2021
On Fri, 14 May 2021 10:11:17 GMT, Alexey Ushakov <avu at openjdk.org> wrote:
>> Added one more bit for subIndex
>
> Alexey Ushakov has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR.
test/jdk/java/awt/image/VolatileImage/AlphaCompositeTest.java line 54:
> 52: } while (vi.contentsLost());
> 53:
> 54: BufferedImage snapshot = vi.getSnapshot();
The snapshot should be saved inside the loop above, overwise content can be lost after the loop but brefore "vi.getSnapshot()"
-------------
PR: https://git.openjdk.java.net/jdk/pull/4018
More information about the 2d-dev
mailing list