Spector.js icon indicating copy to clipboard operation
Spector.js copied to clipboard

Get delta of GL state change between each call

Open NathanBWaters opened this issue 5 years ago • 2 comments

I'm wondering if it's possible to get the WebGL state at each call? It would also be useful to know how each call affected the WebGL state and highlight what changed from the previous call.

NathanBWaters avatar Jun 17 '20 21:06 NathanBWaters

Getting it on each call would kind of be expensive as to be the safest, we are querying it instead of basing on our own tracking.

About knowing how each call affect the state, I wonder if it is not redundant with looking at the call itself ? basically the command itself is already describing that ?

Highlighting what state changed from the previous call is a great idea.

sebavan avatar Jun 17 '20 21:06 sebavan

It would be expensive, so I was hoping this could be an optional parameter for intense debugging.

Glad you like the delta idea!

Spector has helped me out a lot in debugging issues these past three weeks, thank you!

NathanBWaters avatar Jun 17 '20 22:06 NathanBWaters