c43c35fb7e
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
665 B
665 B
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.