On Sun, 12 Mar 2023 17:35:40 GMT, Jeremy <[email protected]> wrote:

> I'm confident about the new test case for this ticket, but the resolution is 
> more invasive than I'd like. (It works, though.)
> 
> In short:
> This introduces a new RenderingHint (in SunHints) to bypass the call in 
> Window to `gg2d.fillRect(0, 0, getWidth(), getHeight());`
> 
> I left more detailed notes here about the proposed resolution:
> https://github.com/openjdk/jdk/commit/1991fdac5dbf76ddaf73cc78a9f7c38370c9674c
> 
> I'm open to suggestions if anyone has a more elegant proposal to prevent the 
> monitor from refreshing too soon?

For the possible "synchronization" change, note that on macOS the rendering to 
the Window is always done via backbuffer which then blits to the CALayer. We 
can try to delay the blit until the window is fully rendered.

-------------

PR: https://git.openjdk.org/jdk/pull/12993

Reply via email to