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

feat(webgl): Add device.resetWebGL() for debugging #2037

Merged
merged 3 commits into from Mar 18, 2024

Conversation

donmccurdy
Copy link
Collaborator

@donmccurdy donmccurdy commented Mar 14, 2024

When debugging issues with interleaved layers (example) it can be helpful to have some way of resetting WebGL state, to isolate whether state is leaking between applications. I realize this method is one we'd probably want to avoid in production code, but perhaps with providing on the device API during v9.0 and v9.1 development? Thanks!

@donmccurdy
Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @donmccurdy and the rest of your teammates on Graphite Graphite

@donmccurdy donmccurdy marked this pull request as ready for review March 14, 2024 20:25
modules/core/src/adapter/device.ts Outdated Show resolved Hide resolved
modules/webgl/src/adapter/webgl-device.ts Show resolved Hide resolved
@donmccurdy donmccurdy merged commit a0df5df into master Mar 18, 2024
1 check passed
@donmccurdy donmccurdy deleted the donmccurdy/feat-reset-webgl branch March 18, 2024 18:21
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

Successfully merging this pull request may close these issues.

None yet

2 participants