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

Clean up standalone texture cache eviction #3269

Merged
merged 8 commits into from Nov 5, 2018

Conversation

@bholley
Copy link
Contributor

bholley commented Nov 5, 2018

bholley added 3 commits Oct 30, 2018
This is useful for sanity-checking memory reports, and we'll also use it
for our texture eviction heuristic.

Differential Revision: https://phabricator.services.mozilla.com/D10672
…end::FrameId.

It should really be using the latter, so that it can avoid hand-rolling
the frame increments and just use the one already available on
frame_builder.

In the next patch, we rename the types to make the difference clearer.

Differential Revision: https://phabricator.services.mozilla.com/D10673
This type identified frames as sequenced by the device layer, whereas
render_backend::FrameId identifies frames as sequenced by the render
backend. I'm not sure whether there are known cases where these will
diverge, but it seems plausible that they might, and so we should more
clearly distinguish the types.

Differential Revision: https://phabricator.services.mozilla.com/D10674
@bholley
Copy link
Contributor Author

bholley commented Nov 5, 2018

@bors-servo r=gw3583

@bors-servo
Copy link
Contributor

bors-servo commented Nov 5, 2018

📌 Commit 1181592 has been approved by gw3583

@bors-servo
Copy link
Contributor

bors-servo commented Nov 5, 2018

Testing commit 1181592 with merge bba6da6...

bors-servo added a commit that referenced this pull request Nov 5, 2018
Clean up standalone texture cache eviction

https://bugzilla.mozilla.org/show_bug.cgi?id=1504115

<!-- 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/3269)
<!-- Reviewable:end -->
@bholley
Copy link
Contributor Author

bholley commented Nov 5, 2018

@staktrace FYI, there are some unexpected passes corresponding to annotations that need to be fixed when merging this:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=f918178b21ad388502acf0256d941831b187e042

@bors-servo
Copy link
Contributor

bors-servo commented Nov 5, 2018

💔 Test failed - status-appveyor

@bholley bholley force-pushed the bholley:standalone_eviction branch from 1181592 to 231b522 Nov 5, 2018
@bholley
Copy link
Contributor Author

bholley commented Nov 5, 2018

@bors-servo r=gw3583

@bors-servo
Copy link
Contributor

bors-servo commented Nov 5, 2018

📌 Commit 231b522 has been approved by gw3583

@bors-servo
Copy link
Contributor

bors-servo commented Nov 5, 2018

Testing commit 231b522 with merge 854dee6...

bors-servo added a commit that referenced this pull request Nov 5, 2018
Clean up standalone texture cache eviction

https://bugzilla.mozilla.org/show_bug.cgi?id=1504115

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

bors-servo commented Nov 5, 2018

☀️ Test successful - status-appveyor, status-taskcluster
Approved by: gw3583
Pushing 854dee6 to master...

@bors-servo bors-servo merged commit 231b522 into servo:master Nov 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
Copy link
Contributor

staktrace commented Nov 5, 2018

@staktrace FYI, there are some unexpected passes corresponding to annotations that need to be fixed when merging this:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=f918178b21ad388502acf0256d941831b187e042

This try push shows intermittent failures on all platforms. On Linux layout/reftests/bugs/836844-1.html seems to UNEXPECTED-PASS but not always. On macOS, layout/reftests/svg/filters/css-filters/blur-cap-large-radius-on-software.html was UNEXPECTED-PASS on opt but not debug, and on windows layout/reftests/bugs/501627-1.html was also intermittent. I've retriggered some jobs to make sure, but I don't think this PR should have gotten merged without (a) a patch to actually annotate these failures and (b) ensuring that said patch produces a green try run.

@staktrace
Copy link
Contributor

staktrace commented Nov 5, 2018

Definitely seems intermittent. @bholley please take a look

@bholley
Copy link
Contributor Author

bholley commented Nov 5, 2018

Per IRC discussion - we're going to do the wr-update, mark the handful of tests that are now intermittently passing as random-if, and I'll investigate in a followup.

@staktrace
Copy link
Contributor

staktrace commented Nov 5, 2018

For the record, additional try pushes didn't show the same intermittents or reftest changes that the try push earlier in this thread showed. Not sure what happened, but there appears to be no need to mark anything random-if or change any annotations.

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.