Repository navigation
Conversation
There was a problem hiding this comment.
Instead of leaving commented lines, I think it would be better to remove them.
There was a problem hiding this comment.
And note that comments that end with \ will eat the next line, so definitely never leave any of those.
b47403b to
f7eeae2
Compare
|
Okay, commits are split out now. For the "build fixes" commit -- I need to not do a static link into the rlib here because -lskia ends up needing to go on the link line once after rust-azure. With static, that doesn't happen, as all the rlibs are passed to the linker before any -l libs. For simplicity, we could just do non-static linking for all platforms here. The uintptr_t fix is already in skia in mozilla-central; not sure if it's in upstream or not. The ## pasting fix is not in mozilla-central; not sure why it's not a problem there when being built with gcc. And the final SK_INCLUDE_FREETYPE temporary thing is an addition that will go away once we actually switch Servo to using DirectWrite on windows. |
|
Anything I can do to speed up getting this merged in? |
|
r? @glennw |
|
I'm fine with everything except for:
|
|
Just a few minor comments on that commit, mostly looks good to me! |
|
Okay, fixed the build.rs linking stuff -- we can do a static link of skia just fine. Depends on servo/rust-azure#205 though (without it, there are library ordering issues). |
|
re-r? @glennw |
|
The gl code still looks fine to me - passing back to @larsbergstrom for the other commits. |
|
Reviewed 7 of 15 files at r1, 6 of 8 files at r2. Comments from the review on Reviewable.io |
|
@bors-servo r+ |
|
@bors-servo: r=larsberg |
|
📌 Commit 9fcf239 has been approved by |
Windows build and functionality Adds support for building on Windows, and fixes some code issues in Skia that prevent building on gcc. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/skia/74) <!-- Reviewable:end -->
|
💔 Test failed - travis |
|
Gah! Defeated by the libc madness... |
|
@bors-servo: retry |
Windows build and functionality Adds support for building on Windows, and fixes some code issues in Skia that prevent building on gcc. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/skia/74) <!-- Reviewable:end -->
|
💔 Test failed - travis |
|
I'm having a hard time figuring out what in the dependency chain relies on a pinned version of glutin :< |
|
@bors-servo: retry Let's see if enough of the libcpocalypse has been sorted out for this to land or if we need to get a few more things. |
|
@bors-servo: retry |
Windows build and functionality Adds support for building on Windows, and fixes some code issues in Skia that prevent building on gcc. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/skia/74) <!-- Reviewable:end -->
|
💔 Test failed - travis |
|
|
Problem is that skia directly relies on glutin 0.3.7 (via a "0.3.5"). Changing this to "0.4" works! Though I'm a little worried because we are using a glutin from crates.io and the servo version in servo proper? |
|
Oh, actually, it looks like the glutin line was added here and should just be removed from this PR. @vvuk Why was that line added? Is it required on Windows? |
|
src/gl_content_wgl.rs is implemented in terms of glutin on Windows, so glutin is required. There's no specific dependency on a version of glutin... also in theory mixing mutliple versions shouldn't be an issue, since the glutin used in skia is kept purely to internal skia code. |
|
☔ The latest upstream changes (presumably #81) made this pull request unmergeable. Please resolve the merge conflicts. |
Win32 support This rebases and adds a final fix required for the win32 support authored by @vvuk originally in #74. r? @Manishearth (for just my simple Cargo.toml update - rest has been reviewed) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/skia/82) <!-- Reviewable:end -->
|
Merged in #82 instead. |
Adds support for building on Windows, and fixes some code issues in Skia that prevent building on gcc.