RFR: 8243009: SwingSet2 scrolling doesn't repaint properly on Catalina
Kevin Rushforth
kcr at openjdk.java.net
Thu May 14 12:36:08 UTC 2020
On Thu, 14 May 2020 10:05:32 GMT, Ajit Ghaisas <aghaisas at openjdk.org> wrote:
> Issue : https://bugs.openjdk.java.net/browse/JDK-8243009
>
> Root cause : If the same texture is provided as source and destination with some offset, copyArea function results in
> texture tearing effect.
> Fix : Copy the data from the source texture to a temporary buffer and then copy from that temporary buffer to the
> destination (source texture with some offset)
> Note : This solution may be slower, need to find an optimum way to copy data from MTLTexture to the same texture with
> some offset.
Nice work finding and fixing this! I'll test it shortly.
-------------
PR: https://git.openjdk.java.net/lanai/pull/45
More information about the lanai-dev
mailing list