update site dox - windows prefer msvs-ninja and add vulkan
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1785743003 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1785743003 NOTREECHECKS=true NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1785743003
This commit is contained in:
parent
ae47aeeda0
commit
c43c35fb7e
@ -57,9 +57,14 @@ Three Gyp generators are used on Windows:
|
||||
|
||||
* `msvs-ninja` - Develop from a fully-integrated Visual Studio.
|
||||
Gyp generates Visual-Studio-compatible project files that still
|
||||
ultimately build using ninja
|
||||
ultimately build using ninja. This is the preferred and better maintained
|
||||
way of using Visual Studio.
|
||||
|
||||
* `msvs` - Use Visual Studio's own (slower) build system
|
||||
* `msvs` - Use Visual Studio's own (slower) build system. This is not as well
|
||||
maintained as msvs-ninja. The msvs and ninja output can clobber each other
|
||||
so building from both the command line and Visual Studio can produce bad
|
||||
states that can be fixed by deleting the out directory and rerunning
|
||||
gyp_skia.
|
||||
|
||||
To choose which ones to use, set the `GYP_GENERATORS` environment
|
||||
variable to a comma-delimited list of generators before running
|
||||
|
20
site/user/special/vulkan.md
Normal file
20
site/user/special/vulkan.md
Normal file
@ -0,0 +1,20 @@
|
||||
Building the Vulkan backend
|
||||
===========================
|
||||
|
||||
Introduction
|
||||
------------
|
||||
|
||||
The Vulkan backend is experimental and not built by default. It currently replaces the 'gpu' config in the dm tool rather than running in addition to OpenGL. Vulkan has been built on Windows and Linux.
|
||||
|
||||
Details
|
||||
-------
|
||||
|
||||
Add `skia_vulkan=1` to your `GYP_DEFINES` environment variable. Ensure cmake is installed and in your path. On Windows install the prebuilt cmake from https://cmake.org/download/. The Vulkan SDK must also be installed.
|
||||
|
||||
On Windows the 'msvs' gyp generator will not work. Use msvs-ninja for MSVS integration.
|
||||
|
||||
Run:
|
||||
|
||||
python gyp_skia
|
||||
|
||||
and build Skia as usual.
|
Loading…
Reference in New Issue
Block a user