WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
168269
Rename preferLowPowerToHighPerformance to powerPreference
https://bugs.webkit.org/show_bug.cgi?id=168269
Summary
Rename preferLowPowerToHighPerformance to powerPreference
Dean Jackson
Reported
2017-02-13 18:07:08 PST
Following the discussion in
https://github.com/KhronosGroup/WebGL/pull/2283
Attachments
Patch
(14.00 KB, patch)
2017-02-13 18:26 PST
,
Dean Jackson
cdumez
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-02-13 18:08:29 PST
<
rdar://problem/30504444
>
Dean Jackson
Comment 2
2017-02-13 18:26:14 PST
Created
attachment 301433
[details]
Patch
Chris Dumez
Comment 3
2017-02-13 18:43:28 PST
Comment on
attachment 301433
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=301433&action=review
r=me
> Source/WebCore/html/canvas/WebGLContextAttributes.idl:-39 > - GLboolean preferLowPowerToHighPerformance = false;
So we're dropping support for this flag? What if there is content out there using preferLowPowerToHighPerformance = true? If we want, we could support both flags by not specifying a default value in the IDL and using std::optional<> on native side.
Dean Jackson
Comment 4
2017-02-14 10:06:02 PST
Comment on
attachment 301433
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=301433&action=review
>> Source/WebCore/html/canvas/WebGLContextAttributes.idl:-39 >> - GLboolean preferLowPowerToHighPerformance = false; > > So we're dropping support for this flag? What if there is content out there using preferLowPowerToHighPerformance = true? If we want, we could support both flags by not specifying a default value in the IDL and using std::optional<> on native side.
Yeah. Normally I'd want to keep supporting it, but since no one has ever shipped a browser that implements it properly (*), I think it's ok to drop it. (*) We added it in the latest Safari/Sierra release, but then ignored the value by always choosing low power.
Dean Jackson
Comment 5
2017-02-14 12:15:35 PST
Committed
r212316
: <
http://trac.webkit.org/changeset/212316
>
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