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

Sync changes from mozilla-central gfx/wr #3880

Merged
merged 3 commits into from Mar 11, 2020
Merged

Conversation

@moz-gfx
Copy link

moz-gfx commented Mar 10, 2020

No description provided.

nical and others added 2 commits Mar 10, 2020
build_frame is called by update_document which calls rebuild_hit_tester if the hit test tree is invalidated. The advantage of doing it there is that it is after the frame has been submitted to the renderer so we are out of the critical path and the work can overlap with draw call submission.

So we don't need to do the work in build_frame, and since we don't currently set the validity flag there we are often re-building the hit test tree a second time after frame building.

Differential Revision: https://phabricator.services.mozilla.com/D64328

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/a2ddfcc2a7d4815dfe479d9138a91eb70fab5a10
@moz-gfx
Copy link
Author

moz-gfx commented Mar 10, 2020

@bors-servo r=auto

@bors-servo
Copy link
Contributor

bors-servo commented Mar 10, 2020

📌 Commit 5229910 has been approved by auto

@bors-servo
Copy link
Contributor

bors-servo commented Mar 10, 2020

Testing commit 5229910 with merge c82df83...

bors-servo added a commit that referenced this pull request Mar 10, 2020
Sync changes from mozilla-central gfx/wr
@bors-servo
Copy link
Contributor

bors-servo commented Mar 10, 2020

💔 Test failed - status-appveyor

build_frame is called by update_document which calls rebuild_hit_tester if the hit test tree is invalidated. The advantage of doing it there is that it is after the frame has been submitted to the renderer so we are out of the critical path and the work can overlap with draw call submission.

So we don't need to do the work in build_frame, and since we don't currently set the validity flag there we are often re-building the hit test tree a second time after frame building.

Differential Revision: https://phabricator.services.mozilla.com/D64328

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/2c6a51317166bb8b3c90781b3bc7739448c72a0b
@moz-gfx
Copy link
Author

moz-gfx commented Mar 10, 2020

@bors-servo r=auto

@bors-servo
Copy link
Contributor

bors-servo commented Mar 10, 2020

💡 This pull request was already approved, no need to approve it again.

  • This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.
@bors-servo
Copy link
Contributor

bors-servo commented Mar 10, 2020

📌 Commit daabdde has been approved by auto

@bors-servo
Copy link
Contributor

bors-servo commented Mar 10, 2020

Testing commit daabdde with merge d233e42...

@bors-servo
Copy link
Contributor

bors-servo commented Mar 11, 2020

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

@bors-servo bors-servo merged commit d233e42 into servo:master Mar 11, 2020
3 checks passed
3 checks passed
Community-TC (pull_request) TaskGroup: success
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
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

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