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

Unify clip rects and clip regions into a single "combined clip region" structure, and clip inset box shadows to rounded rectangle corners. #76

Merged
merged 2 commits into from Nov 8, 2015

Conversation

@pcwalton
Copy link
Collaborator

pcwalton commented Nov 7, 2015

This necessitated changing box shadows to RGBA, because we can't use two
mask textures. An alternate solution for the future would be have a
"mask combiner" path that can combine two masks as a raster op, but this
is more complex.

This also fixes the box shadow fragment shader, as noted in the first commit.

pcwalton added 2 commits Nov 7, 2015
I accidentally submitted an old, broken version of the box shadow shader
in the previous patch.
structure, and clip inset box shadows to rounded rectangle corners.

This necessitated changing box shadows to RGBA, because we can't use two
mask textures. An alternate solution for the future would be have a
"mask combiner" path that can combine two masks as a raster op, but this
is more complex.
glennw added a commit that referenced this pull request Nov 8, 2015
 	Unify clip rects and clip regions into a single "combined clip region" structure, and clip inset box shadows to rounded rectangle corners.
@glennw glennw merged commit ca36549 into servo:master Nov 8, 2015
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.