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

Using/running webrender outside servo #205

Closed
matiasinsaurralde opened this issue Feb 27, 2016 · 5 comments
Closed

Using/running webrender outside servo #205

matiasinsaurralde opened this issue Feb 27, 2016 · 5 comments

Comments

@matiasinsaurralde
Copy link

@matiasinsaurralde matiasinsaurralde commented Feb 27, 2016

Hi, is it possible to use webrender outside servo?

@glennw
Copy link
Member

@glennw glennw commented Feb 28, 2016

I haven't tried for a while, but it should be possible. It doesn't depend on any of the servo crates (by design), although the interface is fairly heavily tied to how Servo generates display lists. Naturally, there's no guarantees on API stability etc :)

@kevinmehall
Copy link
Contributor

@kevinmehall kevinmehall commented Mar 1, 2016

I've been experimenting with this and got something working:
https://github.com/kevinmehall/webrender-experiments

I think I'm setting the clipping parameters wrong, and probably integrating with the glutin event loop suboptimally (it seems to lag about a frame behind the mouse). If you have any tips there or other suggestions, let me know.

Would you be interested in a PR adding something like this to the repo as a cargo example?

@glennw
Copy link
Member

@glennw glennw commented Mar 1, 2016

@kevinmehall Yes, I'd merge a PR for that - nice work!

@matiasinsaurralde
Copy link
Author

@matiasinsaurralde matiasinsaurralde commented Mar 1, 2016

@kevinmehall It looks so great, thanks

captura de pantalla 2016-03-01 a las 1 50 23 p m

@glennw
Copy link
Member

@glennw glennw commented Aug 28, 2016

This repo exists as a sample of using WR outside of Servo - https://github.com/glennw/wr-sample.

@glennw glennw closed this Aug 28, 2016
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
3 participants
You can’t perform that action at this time.