Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upwebrender does not compile on Windows with feature=pathfinder #2645
Labels
Comments
|
After #2705 is merged, there are still 4 build errors remaining because we can't share a raw pointer to |
bors-servo
added a commit
that referenced
this issue
May 1, 2018
Fix From conversion from NativeFontHandleWrapper to PathfinderComPtr See https://github.com/pcwalton/pathfinder/pull/81 and #2645 - this fixes 1 compile error, where we can't convert from a NativeFontHandleWrapper to a ComPtr. We need this, so that PathfinderFontContext::add_native_font() works correctly. <!-- 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/2705) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
May 8, 2018
…=kvark Final compile fixes for pathfinder Closes #2645. Note: On Windows, pathfinder won't yet run properly, partly due to https://github.com/pcwalton/pathfinder/pull/82 and partly due to some `RenderTask`-related bugs (currently it crashes with "unexpected render task: glyph task") in ` webrender::render_task::RenderTask::uv_rect_kind`. However, pathfinder now at least compiles on Windows, Linux and Mac. Also added various `#[derive(Debug)]` necessary for debugging the pathfinder crashes. <!-- 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/2723) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After the latest pathfinder (currently pcwalton/pathfinder@235c51e) changes have been merged, webrender does not compile on Windows anymore:
Replicate with (on nightly-x86_64-pc-windows-msvc unchanged - rustc 1.27.0-nightly (0b72d48f8 2018-04-10)`:
Now, the problem of this is that, while pathfinder compiles fine, the corresponding webrender code didn't get adjusted to the new changes: For example, the glyph_dimensions function indeed takes 2 arguments now and returns an Option, but the corresponding webrender code for Windows uses 3 arguments and matches on a Result. I am not sure which version is the correct one (I think it's the one with the 2 arguments).
Please add pathfinder to Taskcluster, appveyor and Travis, so that this doesn't happen again.