On macOS, when an application renders to more than one window before the render queue flushes, only the last window shows the new content. Some windows keep their old appearance.
The "flush" is added at the point where the destination switch occurs for OGL and Metal. ------------- Commit messages: - 8378506: [macOS] Window content not updated when rendering to multiple windows Changes: https://git.openjdk.org/jdk/pull/30409/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30409&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8378506 Stats: 29 lines in 4 files changed: 17 ins; 8 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/30409.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30409/head:pull/30409 PR: https://git.openjdk.org/jdk/pull/30409
