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

use DisplayListBuilder::with_capacity #17406

Merged
merged 1 commit into from Jul 24, 2017
Merged

use DisplayListBuilder::with_capacity #17406

merged 1 commit into from Jul 24, 2017

Conversation

@Gankra
Copy link
Contributor

Gankra commented Jun 19, 2017

DO NOT MERGE until servo/webrender#1399 has landed in Servo.

Previously webrender was reserving 1MB of space for each display list (empirically pages weighed between 100k and 10MB when I implemented this). This was problematic for gecko because they used webrender differently. This just brings Servo back to where it was.


This change is Reviewable

@highfive
Copy link

highfive commented Jun 19, 2017

Heads up! This PR modifies the following files:

  • @emilio: components/layout/webrender_helpers.rs
@highfive
Copy link

highfive commented Jun 19, 2017

warning Warning warning

  • These commits modify layout code, but no tests are modified. Please consider adding a test!
@Manishearth
Copy link
Member

Manishearth commented Jun 19, 2017

r+

@stshine
Copy link
Contributor

stshine commented Jun 19, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Jul 21, 2017

The latest upstream changes (presumably #17822) made this pull request unmergeable. Please resolve the merge conflicts.

@Gankra Gankra force-pushed the Gankra:with_cap branch from 10f61b6 to 855b1fe Jul 24, 2017
@Gankra
Copy link
Contributor Author

Gankra commented Jul 24, 2017

rebased

@jdm jdm removed the S-needs-rebase label Jul 24, 2017
@jdm
Copy link
Member

jdm commented Jul 24, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Jul 24, 2017

📌 Commit 855b1fe has been approved by jdm

@highfive highfive assigned jdm and unassigned Manishearth Jul 24, 2017
@bors-servo
Copy link
Contributor

bors-servo commented Jul 24, 2017

Testing commit 855b1fe with merge 3629efb...

bors-servo added a commit that referenced this pull request Jul 24, 2017
use DisplayListBuilder::with_capacity

DO NOT MERGE until servo/webrender#1399 has landed in Servo.

Previously webrender was reserving 1MB of space for each display list (empirically pages weighed between 100k and 10MB when I implemented this). This was problematic for gecko because they used webrender differently. This just brings Servo back to where it was.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17406)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jul 24, 2017

@bors-servo bors-servo merged commit 855b1fe into servo:master Jul 24, 2017
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
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

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