Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd support for masking to images #405
Closed
Comments
|
Looking into this |
bors-servo
added a commit
that referenced
this issue
Oct 14, 2016
Shared clip source for the shaders This will make it easier to introduce clipped primitives outside of the currently supported rectangles and images (related to #405). Also includes #443 <!-- 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/444) <!-- Reviewable:end -->
Merged
Closed
bors-servo
added a commit
that referenced
this issue
Oct 26, 2016
Image mask support Closes #405 I'm not completely sure if this is the right approach, hoping to get some review/feedback to proceed. The API and logic works for me with `wr_sample`, although the implementation lacks a lot of features to support, like image repeating and layout transformations. <!-- 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/445) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will be needed for SVG support, css mask-image and will be helpful for us in transitioning Gecko to webrender as we'll often have a mask image instead of the higher level primitive.