| Summary: | [WebGPU] Tracer bullet part 4: Move Device's construction methods to the files of the things they create | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||
| Component: | WebGPU | Assignee: | Myles C. Maxfield <mmaxfield> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | dino, rmorisset, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 236879, 236898, 236899 | ||||||
| Attachments: |
|
||||||
|
Description
Myles C. Maxfield
2022-02-19 13:34:32 PST
Created attachment 452654 [details]
Patch
Comment on attachment 452654 [details]
Patch
I'm not sure this is any better. Now one needs to remember that Device::create methods are not in Device.mm. But either way is fine.
(In reply to Dean Jackson from comment #2) > Comment on attachment 452654 [details] > Patch > > I'm not sure this is any better. Now one needs to remember that > Device::create methods are not in Device.mm. But either way is fine. Yeah. I think the principle here is "keep related concepts together." The creation routines deal deeply with the guts of the objects they create, so I figure that code should be close to the rest of the routines in the objects. Committed r290255 (?): <https://commits.webkit.org/r290255> |