On Tue, 14 Mar 2023 00:07:33 GMT, Jeremy <d...@openjdk.org> wrote:

> If you still want me to try to migrate this logic: can you give me an example 
> of which classes you'd recommend trying to move it to?

That logic exists there to clear the window if it does not opaque and have some 
translucent pixels, and it was added there to clear the old content of the 
window before the new rendering is started. So we cannot just skip that part, 
but probably we can move this step closer to the place we actually start to 
render.

I would like to clarify two question:
 - I think most of the opaque/non-transparent components fill the background by 
the opaque color(including windows/frames/etc), why the problem is not 
reproduced in that case?
 - Why the double-buffer in the RepaintManager does not handle this? If no 
buffers are used, then probably we should have one to render everything to it 
and then blit to Window?

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

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

Reply via email to