[Webkit-unassigned] [Bug 174176] Web Inspector: [META] Add 3D layer visualization

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 18 18:18:17 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=174176

--- Comment #7 from Ross Kirsling <ross.kirsling at sony.com> ---
Created attachment 315868

  --> https://bugs.webkit.org/attachment.cgi?id=315868&action=review

WIP Patch (three.js omitted)

WIP Patch

Current state:
- Introduces a LayerViewer tab into Web Inspector.
- Simply displays a fixed-size canvas visualizing the current layer tree.
- Uses three.js (omitted from the patch to avoid noise).
- Camera is centered on the visible part of the page, zoom and pan are disabled, rotation is constrained so that it doesn't go behind the scene.

Things to do:
- Sufficiently improve UX for initial landing.
- Attempt to remove three.js.

Some questions:
- What should this tab be called? "LayerViewer" isn't ideal, but then the sidebar is already called Layers...
- Should the visualization have fixed dimensions or fill its parent element? The former would be consistent with the memory graphs and could be more behaviorally stable; the latter would avoid having a truncated visualization in a large Inspector window.
- This tab should be launchable from the Layers sidebar, but should it retain the Layers sidebar itself? If so, is "supplementalRepresentedObjects" the right way to feed the body element from the ContentView to the sidebar?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170719/e09e1f64/attachment-0001.html>


More information about the webkit-unassigned mailing list