Summary: | Add new display list item types in preparation for webkit.org/b/218426 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Wenson Hsieh <wenson_hsieh> | ||||||||||||||
Component: | WebCore Misc. | Assignee: | Wenson Hsieh <wenson_hsieh> | ||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||
Severity: | Normal | CC: | sabouhallawa, simon.fraser, thorton, webkit-bug-importer | ||||||||||||||
Priority: | P2 | Keywords: | DoNotImportToRadar | ||||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||
OS: | Unspecified | ||||||||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=218589 | ||||||||||||||||
Bug Depends on: | 218586 | ||||||||||||||||
Bug Blocks: | 218426, 218675 | ||||||||||||||||
Attachments: |
|
Description
Wenson Hsieh
2020-11-04 14:51:32 PST
Created attachment 413214 [details]
Patch
Created attachment 413365 [details]
Depends on #218586
Created attachment 413468 [details]
Patch
Comment on attachment 413468 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=413468&action=review > Source/WebCore/ChangeLog:40 > + (WebCore::DisplayList::SwitchToBuffer::SwitchToBuffer): (As smfr pointed out —) if we want to go this route, SwitchToBuffer should probably be renamed to SwitchToItemBuffer or something to avoid confusing w.r.t. ImageBuffers. Created attachment 413474 [details]
Rename + add FIXME
Created attachment 413478 [details]
Rename + add FIXME
Comment on attachment 413478 [details] Rename + add FIXME View in context: https://bugs.webkit.org/attachment.cgi?id=413478&action=review > Source/WebCore/platform/graphics/displaylists/DisplayListItemBuffer.cpp:238 > + get<MetaCommandSwitchTo>().apply(context); Or not? > Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp:988 > + // Handled by client. Can't we flush via GraphicsContext? > Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp:999 > + // Handled by client. ASSERT_NOT_REACHED()? Comment on attachment 413478 [details] Rename + add FIXME View in context: https://bugs.webkit.org/attachment.cgi?id=413478&action=review >> Source/WebCore/platform/graphics/displaylists/DisplayListItemBuffer.cpp:238 >> + get<MetaCommandSwitchTo>().apply(context); > > Or not? Yep, removed! >> Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp:988 >> + // Handled by client. > > Can't we flush via GraphicsContext? My understanding is that context flushes are something handled at the ImageBuffer layer, rather than the GraphicsContext…though GraphicsContext::flush() does seem to be present for the USE(DIRECT2D) build. >> Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp:999 >> + // Handled by client. > > ASSERT_NOT_REACHED()? (I ended up just deleting `MetaCommandSwitchTo::apply` altogether) Created attachment 413485 [details]
For EWS
Committed r269551: <https://trac.webkit.org/changeset/269551> All reviewed patches have been landed. Closing bug and clearing flags on attachment 413485 [details]. |