> If `swing.volatileImageBufferEnabled` is turned off: MTLGraphicsConfig and
> CGLGraphicsConfig should use a translucent image for double buffering.
>
> This test is marked as mac-only, but it should be harmless to turn that flag
> off if anyone wants to test other platforms. In previous threads we
> established that this is a Mac-only issue:
> https://github.com/openjdk/jdk/pull/23430#discussion_r1940881969
>
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK
> Interim AI Policy](https://openjdk.org/legal/ai).
Jeremy Wood has updated the pull request with a new target base due to a merge
or a rebase. The incremental webrev excludes the unrelated changes brought in
by the merge/rebase. The pull request contains five additional commits since
the last revision:
- 8382201: adding extra {}'s for code review
- 8382201: resetting RepaintManager so diff is clean
- 8382201: removing isWrongOpacity
Also simplifying unit test so it doesn't require a white background Frame.
The opacity issue is important, but it can be represented as a separate
ticket. (I'm trying to keep PRs as simple as possible to speed up/simplify code
review.)
- Merge branch 'master' into 8382201
- 8382201: createAcceleratedImage returns translucent window if needed
Also RepaintManager may let windows share the same buffer. In this test's
case: the white background (in an opaque Frame) set up a large buffer, and the
smaller translucent dialog needs to recreate a buffer to provide translucency.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/30737/files
- new: https://git.openjdk.org/jdk/pull/30737/files/5e36ad2a..292d07d5
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=30737&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=30737&range=00-01
Stats: 49049 lines in 1324 files changed: 26397 ins; 16844 del; 5808 mod
Patch: https://git.openjdk.org/jdk/pull/30737.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/30737/head:pull/30737
PR: https://git.openjdk.org/jdk/pull/30737