-
Notifications
You must be signed in to change notification settings - Fork 283
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
Add canvas as a more general version of the shadow primitive. #1807
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not found of the idea of overloading the term canvas. Can we call this LayerEffect, CompositingEffect, FilterTarget or something else that sounds nice but doesn't use "canvas"?
Other than that, looks good to me.
@nical I changed it to |
This doesn't add any functional changes, but it lays the foundation for moving box shadows and other render task operations over to unified as picture primitives.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Picture is fine by me (could be more descriptive, but at least it doesn't collide with the name of a graphics web API).
@bors-servo r+ |
📌 Commit 84b0bd1 has been approved by |
Add canvas as a more general version of the shadow primitive. This doesn't add any functional changes, but it lays the foundation for moving box shadows and other render task operations over to unified as canvas primitives. <!-- 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/1807) <!-- Reviewable:end -->
☀️ Test successful - status-appveyor, status-travis |
This doesn't add any functional changes, but it lays the foundation
for moving box shadows and other render task operations over to
unified as canvas primitives.
This change is