On Thu, 30 Sep 2021 08:40:44 GMT, Masanori Yano <[email protected]> wrote:
> At 1st PaintEvent is processing, RepaintArea calls getGraphics(), then > D3DScreenUpdateManager finally calls new PaintEvent(). > So, 2nd PaintEvent is posted and invoked later on EDT. It does not look right, isn't it? Every time we show a frame we render its content twice, and the first rendering is always discarded. Probably we should validate the surface before we posting the first paint event and before we show the window. ------------- PR: https://git.openjdk.java.net/jdk/pull/5491
