Skip to content

Commit 13b2770

Browse files
brianosmanSkia Commit-Bot
authored andcommitted
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 <brianosman@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
1 parent f23a152 commit 13b2770

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

site/user/build.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,22 @@ and supports building and running any of them. It also adjusts syntax highlighti
297297
of inactive code blocks based on preprocessor definitions from the selected
298298
solution configuration.
299299

300+
Windows ARM64
301+
-------------
302+
303+
There is early, experimental support for [Windows 10 on ARM](https://docs.microsoft.com/en-us/windows/arm/).
304+
This currently requires (a recent version of) MSVC, and the `Visual C++ compilers and libraries for ARM64`
305+
individual component in the Visual Studio Installer.
306+
307+
To use that toolchain, set the `target_cpu` GN argument to `"arm64"`. Note that OpenGL is not supported
308+
by Windows 10 on ARM, so Skia's GL backends are stubbed out, and will not work. ANGLE is supported:
309+
310+
bin/gn gen out/win-arm64 --args='target_cpu="arm64" skia_use_angle=true'
311+
312+
This will produce a build of Skia that can use the software or ANGLE backends, in DM. Viewer only works
313+
when launched with `--backend angle`, because the software backend tries to use OpenGL to display the
314+
window contents.
315+
300316
CMake
301317
-----
302318

0 commit comments

Comments
 (0)