RFR: 8273355: Lanai: Flickering on tooltip appearance IntelliJ IDEA 2021.2.1

Alan Snyder javalists at cbfiddle.com
Sun Sep 12 22:53:01 UTC 2021


I see this sort of thing way too often in Java programs, but I don’t see it in native programs. Why is that?

Is it not possible to create a window, fill its layer with pixels, and then make it visible?



> On Sep 12, 2021, at 2:53 PM, Sergey Bylokhov <serb at openjdk.java.net> wrote:
> 
> On Sun, 12 Sep 2021 21:13:10 GMT, Alexey Ushakov <avu at openjdk.org> wrote:
> 
>> The scenario from RenderPerf differs from this issue. In RenderPerf we create a window and then perform rendering of multiple primitives. Whereas in this bug we create a new window each time and see the flickering.
> 
> But the code path is the same, we create a window and try to clear/fill it by the background as fast as possible. And the flickering occurs because the time between g.fillRect()->actual image on the screen is too big.
> 
> -------------
> 
> PR: https://git.openjdk.java.net/jdk/pull/5373
> 




More information about the client-libs-dev mailing list