WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
227783
add logging for GraphicsLayerCA::m_uncommittedChanges
https://bugs.webkit.org/show_bug.cgi?id=227783
Summary
add logging for GraphicsLayerCA::m_uncommittedChanges
Cameron McCormack (:heycam)
Reported
2021-07-07 17:53:42 PDT
.
Attachments
Patch
(7.03 KB, patch)
2021-07-07 17:56 PDT
,
Cameron McCormack (:heycam)
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Cameron McCormack (:heycam)
Comment 1
2021-07-07 17:56:05 PDT
Created
attachment 433102
[details]
Patch
Simon Fraser (smfr)
Comment 2
2021-07-07 20:04:57 PDT
Comment on
attachment 433102
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=433102&action=review
> Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:4136 > +const char* GraphicsLayerCA::layerChangeAsString(LayerChange layerChange)
This is better implemented as TextStream& operator<<(TextStream&, LayerChange)
Cameron McCormack (:heycam)
Comment 3
2021-07-07 20:09:00 PDT
I wanted to but struggled with the enum being private.
Simon Fraser (smfr)
Comment 4
2021-07-07 20:17:24 PDT
Comment on
attachment 433102
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=433102&action=review
> Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:4207 > + bool first = true; > + while (layerChangeFlags) { > + if (layerChangeFlags & bit) { > + textStream << (first ? " " : ", ") << layerChangeAsString(static_cast<LayerChange>(bit)); > + first = false; > + } > + layerChangeFlags &= ~bit; > + bit <<= 1; > + } > + textStream << " }";
Shame that LayerChangeFlags isn' an OptionSet<> because they you wouldn't need this either.
Cameron McCormack (:heycam)
Comment 5
2021-07-07 20:29:52 PDT
Will do that later.
https://bugs.webkit.org/show_bug.cgi?id=227787
EWS
Comment 6
2021-07-07 23:53:08 PDT
Committed
r279712
(
239504@main
): <
https://commits.webkit.org/239504@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 433102
[details]
.
Radar WebKit Bug Importer
Comment 7
2021-07-07 23:54:17 PDT
<
rdar://problem/80308784
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug