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 <[email protected]> wrote:
> 
> On Sun, 12 Sep 2021 21:13:10 GMT, Alexey Ushakov <[email protected]> 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
> 

Reply via email to