Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWork out a better way to handle webgl / webvr. #607
Closed
Labels
Comments
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
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.