<AWT Dev> Withdrawn: 8251854: [macosx] Java forces the use of discrete GPU
duke at openjdk.java.net
Thu Feb 18 05:25:41 UTC 2021
On Tue, 10 Nov 2020 08:19:13 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> This is a review request for the bug particularly fixed some time ago:
> In that review request it was found that the old fix does not work well in all cases, see:
> The current fix updates an embedded plist.info, so the java will not require
> discrete graphics by default, same as for any other applications.
> The discrete card will be used:
> 1. If macOS decided to enable it for some reason
> 2. If the java app sets/uses a full-screen window
> 3. If the user disable "automatic graphics switching" in the system preferences
> 4. If an external monitor is connected to the laptop
> In other cases, the integrated graphics will be used, which should be fine in most cases since this graphic is used/tested in the mbp 13/etc. This is not only about rendering performance but also about startup performance, on my current new laptop mbp 16 + Cataline 10.15.7 the switching discrete/integrated causes unexpected delays up to 10 seconds.
> Note that the new "metal" pipeline also does not require discrete graphics.
> The documentation for NSSupportsAutomaticGraphicsSwitching:
> I'll create a release note after approval.
> Performance numbers:
> Old review request:
This pull request has been closed without being integrated.
More information about the awt-dev