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

Set preserveDrawingBuffer in webgl and add example to freeze notebooks #52

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

klarh
Copy link
Collaborator

@klarh klarh commented Mar 16, 2020

This PR makes the webgl contexts created by vispy set the preserveDrawingBuffer flag on creation, which may reduce flicker in some cases with many primitives drawing at once and allows for the canvas image to be manipulated in javascript in notebook environments, as demonstrated in the example that is added with the PR.

It shouldn't be merged until vispy 0.7 is released with changes from vispy/vispy#1693 .

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.

1 participant