WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
224337
[Metal-ANGLE] Support GPU power preferences, select low-power GPU by default.
https://bugs.webkit.org/show_bug.cgi?id=224337
Summary
[Metal-ANGLE] Support GPU power preferences, select low-power GPU by default.
Kyle Piddington
Reported
2021-04-08 13:00:29 PDT
[Metal-ANGLE] Support GPU power preferences, select low-power GPU by default.
Attachments
Patch
(6.58 KB, patch)
2021-04-08 13:01 PDT
,
Kyle Piddington
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Kyle Piddington
Comment 1
2021-04-08 13:01:28 PDT
Created
attachment 425537
[details]
Patch
EWS Watchlist
Comment 2
2021-04-08 13:02:16 PDT
Note that there are important steps to take when updating ANGLE. See
https://trac.webkit.org/wiki/UpdatingANGLE
Jon Lee
Comment 3
2021-04-08 15:27:13 PDT
rdar://75823830
Dean Jackson
Comment 4
2021-04-08 15:43:41 PDT
Comment on
attachment 425537
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=425537&action=review
> Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/DisplayMtl.mm:278 > + //TODO: External GPU support. Do we prefer high power / low bandwidth for general WebGL applications? > + // Can we support hot-swapping in GPU's?
This is a good question. I would assume that if someone has an external GPU they want to use it. And it is likely that their display is running through it or, even if it's a laptop, they are using it as the primary display. So we should probably use any external GPU before even checking for the low-power/high-power flag. But this doesn't need to be fixed now.
EWS
Comment 5
2021-04-08 15:54:27 PDT
Committed
r275685
(
236319@main
): <
https://commits.webkit.org/236319@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 425537
[details]
.
Kimmo Kinnunen
Comment 6
2021-04-09 03:27:08 PDT
Comment on
attachment 425537
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=425537&action=review
> Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/DisplayMtl.mm:432 > + outExtensions->powerPreference = true;
This is not really correct, I don't think the implementation supports the methods defined in the extension..
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug