Annotating the output command trailSee original GitHub issue
Is there something like
setMarker, with the following differences:
- it’d create a new dummy line as a header,
- it’s a separate line, and wouldn’t get repeated per command
Something like Apple’s annotation, even though these extensions don’t seem to be available in browsers. No need to form hierarchies, but it’d be useful to intersperse GL commands with arbitrary text headers, possibly in a distinct color or larger/thicker font.
It’s possible to somewhat approximate it with using
setMarker then cancelling it after the next GL call, or wrapping this into a utility function that does something noop-y in WebGL / WebGL2 like querying something
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top GitHub Comments
In other debuggers like apitrace, a debug-group can be collapsed and groups are collapsed by default. I believe that is a very useful feature and it should be easy to implement with HTML. It makes it possible to collapse numerous API interactions into high-level blocks. If sections within sections are allowed, the output list becomes a tree and users could even recreate the call-stack for each API interaction.