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

Support different box-shadow radii per corner. #1430

Closed
glennw opened this issue Jun 27, 2017 · 0 comments
Closed

Support different box-shadow radii per corner. #1430

glennw opened this issue Jun 27, 2017 · 0 comments

Comments

@glennw
Copy link
Member

@glennw glennw commented Jun 27, 2017

No description provided.

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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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