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

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

Merged
merged 1 commit into from Oct 24, 2016

Conversation

@nical
Copy link
Collaborator

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
Collaborator Author

nical commented Oct 21, 2016

r? @glennw

@glennw
Copy link
Member

glennw commented Oct 24, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Oct 24, 2016

📌 Commit 496947e has been approved by glennw

@bors-servo
Copy link
Contributor

bors-servo commented Oct 24, 2016

Test exempted - status

@bors-servo bors-servo merged commit 496947e into servo:master Oct 24, 2016
2 checks passed
2 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
bors-servo added 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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.