RFR: 8270874: JFrame paint artifacts when dragged from standard monitor to HiDPI monitor
Sergey Bylokhov
serb at openjdk.java.net
Tue Nov 16 07:56:36 UTC 2021
On Mon, 15 Nov 2021 10:00:37 GMT, Jayathirth D V <jdv at openjdk.org> wrote:
> Please correct my understanding. Does this refined repaint logic apply even for overlapping Windows? What happens when 2 windows are overlapping and we move top window slowly? Any performance/power impact?
Initially, this code was used just for that, to make a fast blit of the content from the Swing back buffer to the native window, when some other window is moved over the Swing and damaged it (the fix for the "grey rectangle" JDK-4967886). But since Windows Vista the Windows itself maintain such doublebuffer and the content is not damaged when windows overlap, so this callback is not called.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6339
More information about the client-libs-dev
mailing list