Skip to content

Commit

Permalink
Update readme on how to use a custom webrender
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason Chang committed Aug 9, 2016
1 parent 5b0efbc commit 7b5ab6e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ After updating shaders in webrender, go to servo and:
1. Copy the webrender/res directory to servo/resources/shaders
2. Go to the servo directoy and do ./mach update-cargo -p webrender
3. Create a pull request to servo and update the shaders in the servo repository.


# Use Webrender with Servo
To use a custom webrender with servo, go to your servo build directory and:

1. Edit servo/.cargo/config - Create this file if it doesn't exist already.
2. Add 'paths = ["/Users/UserName/Path/To/webrender"]'
3. Build as normal

0 comments on commit 7b5ab6e

Please sign in to comment.