-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Annotating the output command trail #219
Comments
Here's an example for the workaround, wrapping, less than ideally,
The disadvantage of the workaround is that it inflates the GL call count, which is shown rather helpfully |
Also see #170 and #171 for requests of features that have already been specified in a more vendor agnostic way.
I believe the colors mark redundant state changes. |
I think I could add a new Section API to wrap calls in sections if you find it useful ? basically StartSection, EndSection and they would appear like a command with a special color code as well as being searchable ? |
@JannikGM thanks for the feedback. @sebavan that would be fantastic. A slight concern is that draw calls are currently highlighted very very saliently and it'd be hard to add styling for the section headers that are even more salient. So maybe the draw call backgrounds could be discontinued (in favor of text coloring) or made more subdued, so the sections can be told apart more easily. Also, I haven't even considered a section end, as the beginning of a new section marks the end of the previous section, though it might be useful for some. So I don't feel strong either way |
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. |
Let s go for this one instead: #172 |
Is there something like
setMarker
, with the following differences: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 somethingThe text was updated successfully, but these errors were encountered: