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

Work out a better way to handle webgl / webvr. #607

Closed
glennw opened this issue Nov 30, 2016 · 0 comments
Closed

Work out a better way to handle webgl / webvr. #607

glennw opened this issue Nov 30, 2016 · 0 comments

Comments

@glennw
Copy link
Member

@glennw glennw commented Nov 30, 2016

Playing back webgl and webvr compositor commands on the backend thread is not ideal, for a number of reasons.

Specifically, the backend thread should generally be doing minimal work so it is free to respond to query requests etc. Having things like webvr vsync called on that thread could be very bad for UI latency in some cases.

Investigate the possible ways to handle webgl / webvr in WR and write up a plan for how to integrate it in order to alleviate these performance issues.

glennw pushed a commit to glennw/webrender that referenced this issue Aug 17, 2017
Clients use the external image APIs to provide native
WebGL handles or readback buffers.

Fixes servo#1353.
Fixes servo#607.
bors-servo added a commit that referenced this issue Aug 18, 2017
Remove WebGL implementation, it's no longer needed.

Clients use the external image APIs to provide native
WebGL handles or readback buffers.

Fixes #1353.
Fixes #607.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/1587)
<!-- Reviewable:end -->
glennw pushed a commit to glennw/webrender that referenced this issue Aug 18, 2017
Clients use the external image APIs to provide native
WebGL handles or readback buffers.

Fixes servo#1353.
Fixes servo#607.
bors-servo added a commit that referenced this issue Aug 18, 2017
Remove WebGL implementation, it's no longer needed.

Clients use the external image APIs to provide native
WebGL handles or readback buffers.

Fixes #1353.
Fixes #607.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/1587)
<!-- Reviewable:end -->
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.