RESOLVED FIXED 226343
Add stub implementation of CA separated portal bits for GraphicsLayer
https://bugs.webkit.org/show_bug.cgi?id=226343
Summary Add stub implementation of CA separated portal bits for GraphicsLayer
Sam Weinig
Reported 2021-05-27 10:16:14 PDT
Add stub implementation of CA seperated portal bits for GraphicsLayer
Attachments
Patch (28.26 KB, patch)
2021-05-27 10:20 PDT, Sam Weinig
no flags
Patch (28.26 KB, patch)
2021-05-27 10:50 PDT, Sam Weinig
no flags
Patch (29.17 KB, patch)
2021-05-27 14:18 PDT, Sam Weinig
no flags
Sam Weinig
Comment 1 2021-05-27 10:20:49 PDT
Tim Horton
Comment 2 2021-05-27 10:27:45 PDT
Comment on attachment 429895 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=429895&action=review > Source/WTF/ChangeLog:3 > + Add stub implementation of CA seperated portal bits for GraphicsLayer separated
Sam Weinig
Comment 3 2021-05-27 10:50:32 PDT
Tim Horton
Comment 4 2021-05-27 11:15:48 PDT
Comment on attachment 429902 [details] Patch Seems OK. Not sure about the -is prefix on the getters, and would be good for smfr to peek.
Simon Fraser (smfr)
Comment 5 2021-05-27 11:17:05 PDT
Comment on attachment 429902 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=429902&action=review > Source/WebCore/ChangeLog:8 > + Plumbs isSeparatedPortal and isDescendentOfSeparatedPortal bits through GraphicsLayer. Plumbs > Source/WebCore/platform/graphics/GraphicsLayer.h:406 > + virtual void setIsDescendentOfSeparatedPortal(bool b) { m_isDescendentOfSeparatedPortal = b; } Does this need to be exposed? We can compute this internally in GraphicsLayer while flushing. > Source/WebCore/platform/graphics/GraphicsLayer.h:744 > + bool m_isSeparatedPortal : 1; There's some ambiguity here. Does m_isSeparatedPortal being true imply that m_isSeparated is also true?
Sam Weinig
Comment 6 2021-05-27 12:28:49 PDT
(In reply to Simon Fraser (smfr) from comment #5) > Comment on attachment 429902 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=429902&action=review > > > Source/WebCore/ChangeLog:8 > > + Plumbs isSeparatedPortal and isDescendentOfSeparatedPortal bits through GraphicsLayer. > > Plumbs > > > Source/WebCore/platform/graphics/GraphicsLayer.h:406 > > + virtual void setIsDescendentOfSeparatedPortal(bool b) { m_isDescendentOfSeparatedPortal = b; } > > Does this need to be exposed? We can compute this internally in > GraphicsLayer while flushing. You are right, probably not. > > > Source/WebCore/platform/graphics/GraphicsLayer.h:744 > > + bool m_isSeparatedPortal : 1; > > There's some ambiguity here. Does m_isSeparatedPortal being true imply that > m_isSeparated is also true? It's currently meant only to be valid when m_isSeparated is true. I don't want to merge it into an enum yet though, as depending on where things go, this may become non-separated requiring.
Sam Weinig
Comment 7 2021-05-27 14:18:31 PDT
EWS
Comment 8 2021-05-28 11:54:36 PDT
Committed r278217 (238256@main): <https://commits.webkit.org/238256@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 429927 [details].
Radar WebKit Bug Importer
Comment 9 2021-05-28 11:55:14 PDT
Note You need to log in before you can comment on or make changes to this bug.