Skip to content
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

Get delta of GL state change between each call #155

Open
NathanBWaters opened this issue Jun 17, 2020 · 2 comments
Open

Get delta of GL state change between each call #155

NathanBWaters opened this issue Jun 17, 2020 · 2 comments

Comments

@NathanBWaters
Copy link

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.

@sebavan
Copy link
Member

sebavan commented Jun 17, 2020

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.

@NathanBWaters
Copy link
Author

NathanBWaters commented Jun 17, 2020

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants