RESOLVED FIXED 128553
Show a debug tile map indicator for UI-side compositing
https://bugs.webkit.org/show_bug.cgi?id=128553
Summary Show a debug tile map indicator for UI-side compositing
Simon Fraser (smfr)
Reported 2014-02-10 14:23:49 PST
Show a debug tile map indicator for UI-side compositing
Attachments
Patch (17.68 KB, patch)
2014-02-10 14:30 PST, Simon Fraser (smfr)
thorton: review+
Simon Fraser (smfr)
Comment 1 2014-02-10 14:30:33 PST
Tim Horton
Comment 2 2014-02-10 15:28:01 PST
Comment on attachment 223749 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=223749&action=review > Source/WebKit2/UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm:188 > + // FIXME: get the correct scroll position; capitals and periods > Source/WebKit2/UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm:210 > + m_tileMapHostLayer.get().name = @"Tile map host"; [...] instead of .get() in lots of places > Source/WebKit2/UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm:221 > + const CGFloat components[] = { 1, 1, 1, 0.6 }; > + RetainPtr<CGColorRef> color = adoptCF(CGColorCreate(colorSpace.get(), components)); > + m_tileMapHostLayer.get().backgroundColor = color.get(); I wonder if using the color cache would be neater. > Source/WebKit2/UIProcess/mac/RemoteLayerTreeHost.h:51 > + void setIsDebugLayerTreeHost(bool flag = true) { m_isDebugLayerTreeHost = flag; } default argument value? weird! > Source/WebKit2/UIProcess/mac/RemoteLayerTreeHost.mm:133 > + layer = adoptNS([[CALayer alloc] init]); maybe we should give this a background color?
Simon Fraser (smfr)
Comment 3 2014-02-10 16:20:35 PST
Note You need to log in before you can comment on or make changes to this bug.