Bug 190546
Summary: | Web inspector should show memory use data for canvas and WebGL | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | hi, inspector-bugzilla-changes, joepeck, simon.fraser |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 175485 |
Simon Fraser (smfr)
It would be great if the canvas debugging stuff showed how much memory was being used by WebGL (e.g. listing resources like textures and their sizes).
This would be good to debug things like bug 190518.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Joseph Pecoraro
For 2D it shows the memory use in the Canvas Detail Sidebar. So we have the concept of memory use. We may just need to provide good values for 3D contexts.
Devin Rousso
(In reply to Joseph Pecoraro from comment #1)
> For 2D it shows the memory use in the Canvas Detail Sidebar. So we have the
> concept of memory use. We may just need to provide good values for 3D
> contexts.
Both 2D and 3D contexts show the memory usage of the _context_, but not any associated objects (e.g. textures, buffers, etc). 2D doesn't really have a concept of an "associated object", so there was nothing to show.