Bug 220846

Summary: WebGL powerPreference is not tested
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: WebGLAssignee: Kimmo Kinnunen <kkinnunen>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, ap, dino, kbr, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 220843    
Bug Blocks:    
Attachments:
Description Flags
Patch kbr: review+, ews-feeder: commit-queue-

Description Kimmo Kinnunen 2021-01-22 00:16:23 PST
Needs
 - tests
 - interface to check if integrated GPU is on
 - interface to check if has discrete GPU
 - interface to flush the shutdown timer of discrete GPU
Comment 1 Kimmo Kinnunen 2021-01-22 00:23:21 PST
Created attachment 418113 [details]
Patch
Comment 2 Kenneth Russell 2021-01-23 00:25:02 PST
Comment on attachment 418113 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=418113&action=review

Looks good to me. r+

> LayoutTests/fast/canvas/webgl/high-performance-context.html:14
> +description("Tests that a high-performance contexts do not fail.");

"contexts do not" -> "context does not"

> LayoutTests/fast/canvas/webgl/high-performance-context.html:19
> +var wtu = WebGLTestUtils;

Nowadays, prefer "let" (or "const") over "var".
Comment 4 Radar WebKit Bug Importer 2021-01-29 00:17:17 PST
<rdar://problem/73744012>
Comment 5 Ahmad Saleem 2022-10-25 13:32:10 PDT
Looks like this r+ patch didn't landed and I checked via BugID on Webkit GitHub. Just wanted to update. Thanks!