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

Clear clip_node_instances on new frame builds. #3417

Merged
merged 1 commit into from Dec 14, 2018

Conversation

@staktrace
Copy link
Contributor

staktrace commented Dec 14, 2018

The clip node instances are rebuilt for each frame built from a given
scene, but are not cleared until a new scene is built. So if a given
scene builds many frames, the clip node instances just accumulate and
eat up memory.

Fixes #3416.


This change is Reviewable

The clip node instances are rebuilt for each frame built from a given
scene, but are not cleared until a new scene is built. So if a given
scene builds many frames, the clip node instances just accumulate and
eat up memory.

Fixes #3416.
@staktrace
Copy link
Contributor Author

staktrace commented Dec 14, 2018

This fixes the issue for me locally but I don't know if it breaks correctness elsewhere

@staktrace
Copy link
Contributor Author

staktrace commented Dec 14, 2018

Try push is green. r? @kvark

@kvark
Copy link
Member

kvark commented Dec 14, 2018

👍
@bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented Dec 14, 2018

📌 Commit 70e12ae has been approved by kvark

bors-servo added a commit that referenced this pull request Dec 14, 2018
Clear clip_node_instances on new frame builds.

The clip node instances are rebuilt for each frame built from a given
scene, but are not cleared until a new scene is built. So if a given
scene builds many frames, the clip node instances just accumulate and
eat up memory.

Fixes #3416.

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

bors-servo commented Dec 14, 2018

Testing commit 70e12ae with merge fab59ce...

@bors-servo
Copy link
Contributor

bors-servo commented Dec 14, 2018

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

@bors-servo bors-servo merged commit 70e12ae into servo:master Dec 14, 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:clip_clear branch Dec 14, 2018
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Dec 15, 2018
…ddc3c4e8f97d (WR PR #3417). r=kats

servo/webrender#3417

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

--HG--
extra : moz-landing-system : lando
mykmelez pushed a commit to mykmelez/gecko that referenced this pull request Dec 15, 2018
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 3, 2019
…ddc3c4e8f97d (WR PR #3417). r=kats

servo/webrender#3417

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

UltraBlame original commit: 305e1b5c76177bcb031552fc3784204a3207a9b4
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 3, 2019
…ddc3c4e8f97d (WR PR #3417). r=kats

servo/webrender#3417

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

UltraBlame original commit: 305e1b5c76177bcb031552fc3784204a3207a9b4
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 3, 2019
…ddc3c4e8f97d (WR PR #3417). r=kats

servo/webrender#3417

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

UltraBlame original commit: 305e1b5c76177bcb031552fc3784204a3207a9b4
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.