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

Only call render_animation_frame if the framebuffer is dirty #24461

Open
Manishearth opened this issue Oct 16, 2019 · 0 comments
Open

Only call render_animation_frame if the framebuffer is dirty #24461

Manishearth opened this issue Oct 16, 2019 · 0 comments

Comments

@Manishearth
Copy link
Member

@Manishearth Manishearth commented Oct 16, 2019

The likely outcome of immersive-web/webxr#877 is that buffers should only be swapped when the user has actually drawn something to them.

With #24452 we unconditionally call render_animation_frame. We should probably change that to check for some kind of dirty state when the spec status of this settles down.

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.