Skip to content

gfx: Make display lists serializable using serde. - #6583

Merged
bors-servo merged 1 commit into
servo:masterfrom
pcwalton:serializable-display-list
Jul 16, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
pcwalton:serializable-display-list

Conversation

@pcwalton

@pcwalton pcwalton commented Jul 8, 2015

Copy link
Copy Markdown
Contributor

This commit introduces the serde dependency, which we will use to
serialize messages going between processes in multiprocess Servo.

This also adds a new debugging flag, -Z print-display-list-json,
allowing the output of display list serialization to be visualized.
This will be useful for our experiments with alternate rasterizers.

r? @metajack

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 8, 2015
@metajack metajack added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jul 8, 2015
@metajack

metajack commented Jul 8, 2015

Copy link
Copy Markdown
Collaborator

-S-awaiting-review +S-needs-code-changes


Reviewed 34 of 34 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.


components/gfx/platform/macos/font_template.rs, line 52 [r1] (raw file):
This needs some documentation.


Comments from the review on Reviewable.io

@pcwalton
pcwalton force-pushed the serializable-display-list branch from 6ba6dde to cd86ad0 Compare July 9, 2015 02:38
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Jul 9, 2015
@pcwalton

pcwalton commented Jul 9, 2015

Copy link
Copy Markdown
Contributor Author

Switched to Deref on LinkedList.

r? @metajack

@metajack

metajack commented Jul 9, 2015

Copy link
Copy Markdown
Collaborator

Missing Cargo.lock updates for the other ports.

-S-awaiting-review +S-needs-code-changes


Reviewed 5 of 5 files at r2.
Review status: all files reviewed at latest revision, 3 unresolved discussions, all commit checks successful.


components/gfx/font_context.rs, line 44 [r2] (raw file):
CachedCTFont should probably get deref treatment instead of .0 too.


components/gfx/platform/macos/font.rs, line 67 [r2] (raw file):
Same here.


Comments from the review on Reviewable.io

@metajack metajack added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jul 9, 2015
@pcwalton
pcwalton force-pushed the serializable-display-list branch from cd86ad0 to 3cfcff9 Compare July 11, 2015 20:26
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Jul 11, 2015
@pcwalton

Copy link
Copy Markdown
Contributor Author

@metajack Updated per your comments. r?

@bors-servo

Copy link
Copy Markdown
Contributor

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

@metajack

Copy link
Copy Markdown
Collaborator

-S-awaiting-review +S-needs-code-changes +S-needs-rebase

r=me once you add the comment and rebase.


Reviewed 6 of 6 files at r3.
Review status: all files reviewed at latest revision, 4 unresolved discussions, some commit checks failed.


components/gfx/platform/macos/font_template.rs, line 53 [r3] (raw file):
This still needs a code comment. Why does this exist? When is it None vs. Some(CTFont)?

You already explained this to me in the discussion, but that needs to be recorded in the source.


Comments from the review on Reviewable.io

@metajack metajack added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. S-needs-rebase There are merge conflict errors. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jul 13, 2015
@pcwalton
pcwalton force-pushed the serializable-display-list branch from 3cfcff9 to 54328ae Compare July 13, 2015 19:16
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Jul 13, 2015
@pcwalton

Copy link
Copy Markdown
Contributor Author

Done. However, this is now blocked on servo/string-cache#92 due to some changes that landed while this was being reviewed.

@pcwalton pcwalton added the S-blocked-on-external Something, somewhere else, needs to happen before this PR can be merged. label Jul 13, 2015
@pcwalton

Copy link
Copy Markdown
Contributor Author

Unfortunately, because string-cache has taken changes that require a rustup, this is now blocked on either the rustup or servo/string-cache#93.

@jdm jdm removed S-awaiting-review There is new code that needs to be reviewed. S-needs-rebase There are merge conflict errors. labels Jul 14, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

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

@pcwalton
pcwalton force-pushed the serializable-display-list branch from 54328ae to b89cd04 Compare July 15, 2015 01:41
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 15, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

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

@jdm jdm added S-needs-rebase There are merge conflict errors. and removed S-blocked-on-external Something, somewhere else, needs to happen before this PR can be merged. labels Jul 15, 2015
This commit introduces the `serde` dependency, which we will use to
serialize messages going between processes in multiprocess Servo.

This also adds a new debugging flag, `-Z print-display-list-json`,
allowing the output of display list serialization to be visualized.
This will be useful for our experiments with alternate rasterizers.
@pcwalton
pcwalton force-pushed the serializable-display-list branch from b89cd04 to 6eacb0c Compare July 16, 2015 02:04
@pcwalton

Copy link
Copy Markdown
Contributor Author

@bors-servo: r=metajack

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 6eacb0c has been approved by metajack

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 6eacb0c with merge ef97152...

bors-servo pushed a commit that referenced this pull request Jul 16, 2015
gfx: Make display lists serializable using `serde`.

This commit introduces the `serde` dependency, which we will use to
serialize messages going between processes in multiprocess Servo.

This also adds a new debugging flag, `-Z print-display-list-json`,
allowing the output of display list serialization to be visualized.
This will be useful for our experiments with alternate rasterizers.

r? @metajack

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6583)
<!-- Reviewable:end -->
@jdm jdm added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. S-needs-rebase There are merge conflict errors. labels Jul 16, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac1

@pcwalton

Copy link
Copy Markdown
Contributor Author

@bors-servo: retry

WPT test timeouts don't seem like they could be possibly related to a patch that adds a bunch of dead code.

@pcwalton

Copy link
Copy Markdown
Contributor Author

@bors-servo: retry

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for android, gonk, linux1, linux2, linux3, mac2, mac3 are reusable. Rebuilding only mac1...

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux1, linux2, linux3, mac1, mac2, mac3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants