Skip to content

Convert webrender from euclid's old to new unit system. #463

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

Merged
merged 1 commit into from
Oct 24, 2016

Conversation

nical
Copy link
Contributor

@nical nical commented Oct 21, 2016

This PR introduces some type aliases such as DeviceRect = TypedRect<i32, DevicePixel> replacing Rect<DevicePixel(i32)> (euclid's built-in way to deal with units), and uses them in webrender.


This change is Reviewable

@nical
Copy link
Contributor Author

nical commented Oct 21, 2016

r? @glennw

@glennw
Copy link
Member

glennw commented Oct 24, 2016

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit 496947e has been approved by glennw

@bors-servo
Copy link
Contributor

⚡ Test exempted - status

@bors-servo bors-servo merged commit 496947e into servo:master Oct 24, 2016
bors-servo pushed a commit that referenced this pull request Oct 24, 2016
Convert webrender from euclid's old to new unit system.

This PR introduces some type aliases such as ```DeviceRect = TypedRect<i32, DevicePixel>``` replacing ```Rect<DevicePixel(i32)>``` (euclid's built-in way to deal with units), and uses them in webrender.

<!-- 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/463)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants