-
Notifications
You must be signed in to change notification settings - Fork 8
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
Capturing creation calls? #17
Comments
The buffers and textures created during the capture are part of the initial object list in the trace but the commands themselves don't have side effect aside from creating the object so they are not traced in "commands". We could add it, but what's the point of showing the "createTexture" call when you have the same data when inspecting the texture? |
I guess I'm used to other graphics API debuggers. They all show all the calls. I guess I'm also not sure why you wouldn't want them? I can certainly create and delete buffers in a frame. Will those not show up too as steps? |
Ok, I didn't use a graphics debugger in some time so I didn't realize they showed object creation calls. We can easily add it. Ditto for destruction (that's already there actually (not GC, but |
Just to be clear, graphics debuggers I used show creation calls captured during a trace. They don't show creation calls that happened before the trace. |
I didn't look at the capture code to verify this but I changed
basic-animated-triangles.html
so it starts a capture before it makes any resources.In the debugger I think I'd expect to see those calls
device.createBuffer
,device.createTexture
.Should that already be working?
I checked in the change if you want to try it.
The text was updated successfully, but these errors were encountered: