Bug 190546

Summary: Web inspector should show memory use data for canvas and WebGL
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Web InspectorAssignee: 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)
Reported 2018-10-12 15:57:10 PDT
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
Joseph Pecoraro
Comment 1 2018-10-12 16:03:10 PDT
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
Comment 2 2018-10-12 16:06:55 PDT
(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.
Note You need to log in before you can comment on or make changes to this bug.