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

Apply a basis change on the perspective transform. #3173

Merged
merged 1 commit into from Oct 5, 2018

Conversation

@staktrace
Copy link
Contributor

staktrace commented Oct 5, 2018

When applying async scrolling transforms, the perspective matrix also
needs to be adjusted with a basis change. This is a version of #3154
that doesn't break async scrolling on 2D-transformed elements. Although
this passes the required test cases and displays correct behaviour,
the intuition behind why this works is not really clear to me; see
https://bugzilla.mozilla.org/show_bug.cgi?id=1415272#c23 onwards for
some discussion.


This change is Reviewable

When applying async scrolling transforms, the perspective matrix also
needs to be adjusted with a basis change. This is a version of #3154
that doesn't break async scrolling on 2D-transformed elements. Although
this passes the required test cases and displays correct behaviour,
the intuition behind why this works is not really clear to me; see
https://bugzilla.mozilla.org/show_bug.cgi?id=1415272#c23 onwards for
some discussion.
@Gankra
Copy link
Contributor

Gankra commented Oct 5, 2018

@bors-servo r+

let's see if this is The One!

@bors-servo
Copy link
Contributor

bors-servo commented Oct 5, 2018

📌 Commit 735a563 has been approved by Gankro

@bors-servo
Copy link
Contributor

bors-servo commented Oct 5, 2018

Testing commit 735a563 with merge d84c919...

bors-servo added a commit that referenced this pull request Oct 5, 2018
Apply a basis change on the perspective transform.

When applying async scrolling transforms, the perspective matrix also
needs to be adjusted with a basis change. This is a version of #3154
that doesn't break async scrolling on 2D-transformed elements. Although
this passes the required test cases and displays correct behaviour,
the intuition behind why this works is not really clear to me; see
https://bugzilla.mozilla.org/show_bug.cgi?id=1415272#c23 onwards for
some discussion.

<!-- 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/3173)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 5, 2018

☀️ Test successful - status-appveyor, status-taskcluster
Approved by: Gankro
Pushing d84c919 to master...

@bors-servo bors-servo merged commit 735a563 into servo:master Oct 5, 2018
3 checks passed
3 checks passed
Taskcluster (pull_request) TaskGroup: success
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
@staktrace staktrace deleted the staktrace:parallax branch Oct 5, 2018
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

3 participants
You can’t perform that action at this time.