From 13b2770513f2ffcff822708ae78d864a2c59f006 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Mon, 10 Dec 2018 11:44:23 -0500 Subject: [PATCH] Add minimal documentation about Windows on ARM64 No-Try: true Docs-Preview: https://skia.org/?cl=175994 Bug: skia:8569 Change-Id: I9afa9aa6b7293f751db8c43996a82aff1aafbf2d Reviewed-on: https://skia-review.googlesource.com/c/175994 Commit-Queue: Brian Osman Reviewed-by: Mike Klein --- site/user/build.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/site/user/build.md b/site/user/build.md index 31216fd24c..0d3f74a70f 100644 --- a/site/user/build.md +++ b/site/user/build.md @@ -297,6 +297,22 @@ and supports building and running any of them. It also adjusts syntax highlighti of inactive code blocks based on preprocessor definitions from the selected solution configuration. +Windows ARM64 +------------- + +There is early, experimental support for [Windows 10 on ARM](https://docs.microsoft.com/en-us/windows/arm/). +This currently requires (a recent version of) MSVC, and the `Visual C++ compilers and libraries for ARM64` +individual component in the Visual Studio Installer. + +To use that toolchain, set the `target_cpu` GN argument to `"arm64"`. Note that OpenGL is not supported +by Windows 10 on ARM, so Skia's GL backends are stubbed out, and will not work. ANGLE is supported: + + bin/gn gen out/win-arm64 --args='target_cpu="arm64" skia_use_angle=true' + +This will produce a build of Skia that can use the software or ANGLE backends, in DM. Viewer only works +when launched with `--backend angle`, because the software backend tries to use OpenGL to display the +window contents. + CMake -----