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 upSupport different box-shadow radii per corner. #1430
Closed
Labels
Comments
glennw
pushed a commit
to glennw/webrender
that referenced
this issue
Oct 17, 2017
Now that box shadows are rendered via a normal mask + blur, we can just pass through radii for each corner to handle this case. Right now, the brush mask assumes it will handle the entire rect. The next step is to support segmenting parts of the mask generation, which will greatly help with the performance of the new box shadow implementation. Fixes servo#1430.
bors-servo
added a commit
that referenced
this issue
Oct 18, 2017
Support different radii and elliptical radii in box shadows. Now that box shadows are rendered via a normal mask + blur, we can just pass through radii for each corner to handle this case. Right now, the brush mask assumes it will handle the entire rect. The next step is to support segmenting parts of the mask generation, which will greatly help with the performance of the new box shadow implementation. Fixes #1430. <!-- 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/1889) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.