Closed
Bug 1243618
Opened 8 years ago
Closed 5 years ago
Update Canvas Debugger for WebGL 2
Categories
(DevTools Graveyard :: Canvas Debugger, enhancement, P3)
DevTools Graveyard
Canvas Debugger
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: jgilbert, Unassigned)
Details
WebGL 2 is on by default in Nightly, so we should ensure that it works with the debugger.
Can we have the links, to what's there now, in this bug?
Reporter | ||
Comment 2•8 years ago
|
||
It seems to be: devtools/server/actors/canvas.js I think the code in devtools/client/canvasdebugger is for the UI. Among other things, we need to: * add webgl2 to CANVAS_CONTEXTS * add to the list of DRAW_CALLS (we should include the instancing extension from WebGL 1 as well) * Update to handle DRAW/READ_FRAMEBUFFER properly * createBoundFramebuffer needs to respect context creation options (depth/stencil/alpha) (don't worry about dealing with antialias) We need to find out: * Does this rely on taking snapshots of framebuffers * Does this work for self-mutating content (transform feedback and render-to-texture) Hopefully vporof can help us out with information here.
Flags: needinfo?(vporof)
Comment 3•8 years ago
|
||
Indeed devtools/server/actors/canvas.js is the right place to make changes. Framebuffer contents are retrieved for displaying a preview of whatever has been rendered in an animation frame (I assume that's what you're referring to with "taking snapshots"?). However, non-null framebuffer attachments are currently ignored and tracked in bug 1140731.
Flags: needinfo?(vporof)
Updated•7 years ago
|
Severity: normal → enhancement
Priority: -- → P3
Any news about that? Shader and canvas debugging doesn't work for Webgl 2.
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 5•5 years ago
|
||
The code behind DevTools:Canvas Debugger has gone away. Closing this bug as INVALID
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Updated•5 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•