RESOLVED FIXED146826
[CoordinatedGraphics] Override primaryLayerID in CoordinatedGraphicsLayer
https://bugs.webkit.org/show_bug.cgi?id=146826
Summary [CoordinatedGraphics] Override primaryLayerID in CoordinatedGraphicsLayer
Ryuan Choi
Reported 2015-07-10 00:27:09 PDT
primaryLayerID is usefull to debug layer tree using showGraphicsLayerTree()
Attachments
Patch (2.69 KB, patch)
2015-07-10 02:23 PDT, Ryuan Choi
no flags
Ryuan Choi
Comment 1 2015-07-10 02:23:06 PDT
Gyuyoung Kim
Comment 2 2015-07-10 03:07:14 PDT
Comment on attachment 256570 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256570&action=review > Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:124 > + CoordinatedLayerID id() const { return m_id; } primaryLayerID() just returns id(). So I'm not 100% sure if we should continue to keep id(). r+ed for now.
Ryuan Choi
Comment 3 2015-07-10 06:23:18 PDT
(In reply to comment #2) > Comment on attachment 256570 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=256570&action=review > > > Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:124 > > + CoordinatedLayerID id() const { return m_id; } > > primaryLayerID() just returns id(). So I'm not 100% sure if we should > continue to keep id(). r+ed for now. While PlatformLayerID is uint64_t, CoordinatedGraphicsLayer uses uint32_t as id and id is widely used including IPC message. If refactoring does not have critical performance regression, we can remove id. I will check it.
WebKit Commit Bot
Comment 4 2015-07-10 17:41:42 PDT
Comment on attachment 256570 [details] Patch Clearing flags on attachment: 256570 Committed r186700: <http://trac.webkit.org/changeset/186700>
WebKit Commit Bot
Comment 5 2015-07-10 17:41:47 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.