Bug 233619

Summary: [WebGPU] Hook up navigator.gpu.requestAdapter()
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: WebGPUAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, cmarcelo, dino, ews-watchlist, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 233600    
Bug Blocks: 233622    
Attachments:
Description Flags
Patch
none
Patch none

Description Myles C. Maxfield 2021-11-29 21:58:56 PST
Hook up navigator.gpu.requestAdapter()
Comment 1 Myles C. Maxfield 2021-11-29 22:12:53 PST
Created attachment 445381 [details]
Patch
Comment 2 Myles C. Maxfield 2021-11-29 22:19:24 PST
*** Bug 233534 has been marked as a duplicate of this bug. ***
Comment 3 Myles C. Maxfield 2021-11-29 23:29:31 PST
With this patch, we have enough for the first function call !!! v.excited
Comment 4 Myles C. Maxfield 2021-11-29 23:42:59 PST
Comment on attachment 445381 [details]
Patch

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

> Source/WebCore/page/WorkerNavigator.cpp:51
> +    // FIXME: Implement this.

https://bugs.webkit.org/show_bug.cgi?id=233622
Comment 5 Myles C. Maxfield 2021-11-30 13:57:44 PST
Created attachment 445468 [details]
Patch
Comment 6 Dean Jackson 2021-12-02 14:58:34 PST
Comment on attachment 445468 [details]
Patch

Can we test this?
Comment 7 Myles C. Maxfield 2021-12-02 15:00:39 PST
(In reply to Dean Jackson from comment #6)
> Comment on attachment 445468 [details]
> Patch
> 
> Can we test this?

We can! But Apple has to get its internal build system set up first. As soon as that happens I'll add the test.

Yay!!!!
Comment 8 EWS 2021-12-02 15:37:26 PST
Committed r286459 (244800@main): <https://commits.webkit.org/244800@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 445468 [details].
Comment 9 Radar WebKit Bug Importer 2021-12-02 15:38:23 PST
<rdar://problem/85992595>