Repository navigation
compositing: Don't translate points to layer space when using WebRender. - #11537
Merged
bors-servo merged 1 commit intoJun 3, 2016
Merged
Conversation
Member
|
@pcwalton This looks good to me. Could you just verify that it works with --device-pixel-ratio set to 1 and 2, and then r=me. |
pcwalton
force-pushed
the
webrender-remove-layer-space-translation
branch
from
June 2, 2016 22:31
5e7f0c8 to
9a9762f
Compare
|
New code was committed to pull request. |
Contributor
Author
|
Verified that it works with different device pixel ratios. |
Contributor
Author
|
@bors-servo: r=glennw |
Contributor
|
📌 Commit 9a9762f has been approved by |
This makes mouse events take the same code path, regardless of whether WebRender is in use or not. This approach enables accurate display-list-based hit testing when WebRender is in use. Closes servo#11108.
Contributor
bors-servo
pushed a commit
that referenced
this pull request
Jun 2, 2016
…ion, r=glennw compositing: Don't translate points to layer space when using WebRender. This makes mouse events take the same code path, regardless of whether WebRender is in use or not. This approach enables accurate display-list-based hit testing when WebRender is in use. Closes #11108. r? @glennw <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11537) <!-- Reviewable:end -->
Contributor
|
💔 Test failed - mac-rel-wpt |
Contributor
Author
|
@bors-servo: retry Seems infra related. |
Contributor
bors-servo
pushed a commit
that referenced
this pull request
Jun 2, 2016
…ion, r=glennw compositing: Don't translate points to layer space when using WebRender. This makes mouse events take the same code path, regardless of whether WebRender is in use or not. This approach enables accurate display-list-based hit testing when WebRender is in use. Closes #11108. r? @glennw <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11537) <!-- Reviewable:end -->
Contributor
|
💔 Test failed - mac-rel-wpt |
|
Contributor
|
@bors-servo retry
|
Contributor
|
Weird, I see the mac-rel-wpt failure as: |
Contributor
bors-servo
pushed a commit
that referenced
this pull request
Jun 3, 2016
…ion, r=glennw compositing: Don't translate points to layer space when using WebRender. This makes mouse events take the same code path, regardless of whether WebRender is in use or not. This approach enables accurate display-list-based hit testing when WebRender is in use. Closes #11108. r? @glennw <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11537) <!-- Reviewable:end -->
Contributor
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows |
Contributor
|
Could this have caused this: #11648 |
aneeshusa
added a commit
to aneeshusa/webrender_traits
that referenced
this pull request
Jun 11, 2016
This change is being made in Servo for security purposes; this commit updates the definition to match for Webrender. See the Servo repo for the reasoning behind this change. Additionally, remove the TranslatePointToLayerSpace message from the API; as of servo/servo#11537 this is no longer used. Servo now uses a unified code path for mouse events whether WebRender is in use or not. (Mouse events are always dispatched to the root pipeline, removing the need to translate into layer space.
aneeshusa
added a commit
to aneeshusa/webrender
that referenced
this pull request
Jun 11, 2016
As of servo/servo#11537 this is no longer used, as Servo now uses a unified code path for mouse events whether WebRender is in use or not. (Mouse events are always dispatched to the root pipeline, removing the need to translate into layer space.)
This was referenced Jun 11, 2016
aneeshusa
added a commit
to aneeshusa/webrender_traits
that referenced
this pull request
Jul 5, 2016
This change is being made in Servo for security purposes; this commit updates the definition to match for Webrender. See the Servo repo for the reasoning behind this change. Additionally, remove the TranslatePointToLayerSpace message from the API; as of servo/servo#11537 this is no longer used. Servo now uses a unified code path for mouse events whether WebRender is in use or not. (Mouse events are always dispatched to the root pipeline, removing the need to translate into layer space.
aneeshusa
added a commit
to aneeshusa/webrender
that referenced
this pull request
Jul 5, 2016
As of servo/servo#11537 this is no longer used, as Servo now uses a unified code path for mouse events whether WebRender is in use or not. (Mouse events are always dispatched to the root pipeline, removing the need to translate into layer space.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This makes mouse events take the same code path, regardless of whether
WebRender is in use or not. This approach enables accurate
display-list-based hit testing when WebRender is in use.
Closes #11108.
r? @glennw
This change is