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

Implement tessellation for large border radii. #80

Merged
merged 3 commits into from Nov 13, 2015

Conversation

@pcwalton
Copy link
Collaborator

pcwalton commented Nov 13, 2015

Improves performance on the Moiré demo.

@pcwalton
Copy link
Collaborator Author

pcwalton commented Nov 13, 2015

I ended up not using the fancy algorithms I was coming up with, because (a) this trivial one works just as well, and (b) the fact that it tessellates into rectangles and the fact that boundaries of the rectangles can be easily computed individually end up being really useful properties.

@glennw
Copy link
Member

glennw commented Nov 13, 2015

This looks good to me - could you just confirm that it still gets the triangle border corners correct for the acid2 ref test?

@pcwalton
Copy link
Collaborator Author

pcwalton commented Nov 13, 2015

Ah, this indeed broke the borders (in multiple places in fact!) I'll fix it up tomorrow.

@pcwalton pcwalton force-pushed the pcwalton:border-corner-tessellation branch from 23d24d5 to 843e94a Nov 13, 2015
Improves performance on the Moiré demo.
@pcwalton
Copy link
Collaborator Author

pcwalton commented Nov 13, 2015

@glennw New PR fixes Acid2.

glennw added a commit that referenced this pull request Nov 13, 2015
Implement tessellation for large border radii.
@glennw glennw merged commit f211a62 into servo:master Nov 13, 2015
@glennw
Copy link
Member

glennw commented Nov 13, 2015

Thanks!

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

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