Summary: | [GPU Process] Simplify DisplayList::Iterator part 6: Migrate ItemBufferWritingClient from ItemHandle to a const Variant& | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||||||||||
Component: | New Bugs | Assignee: | Myles C. Maxfield <mmaxfield> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | webkit-bug-importer, wenson_hsieh | ||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Bug Depends on: | |||||||||||||||
Bug Blocks: | 223560, 224314 | ||||||||||||||
Attachments: |
|
Description
Myles C. Maxfield
2021-04-07 00:15:16 PDT
Created attachment 425359 [details]
Patch
Created attachment 425362 [details]
Patch
Comment on attachment 425362 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=425362&action=review > Source/WebCore/platform/graphics/displaylists/DisplayListItemBuffer.cpp:607 > +inline bool safeCopyHelper(const T& source, ItemHandle destination) We can do using T = typename WTF::RemoveCVAndReference<decltype(a)>::type; instead of needing a helper. > Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.h:324 > + static RefPtr<WebCore::SharedBuffer> encodeItemOutOfLineHelper(const T& item) Ditto. Created attachment 425471 [details]
Patch
Comment on attachment 425471 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=425471&action=review > Source/WebKit/WebKit.xcodeproj/xcshareddata/xcschemes/WebKit.xcscheme:34 > + buildConfiguration = "Debug" This change doesn't seem intentional. Created attachment 428114 [details]
Patch for committing
Created attachment 428117 [details]
Patch for committing
Committed r277244 (237513@main): <https://commits.webkit.org/237513@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 428117 [details]. |