add README for using Direct to Display swapchain and fix a typo.
This commit is contained in:
parent
9b5127f894
commit
6989e12f2a
2 changed files with 5 additions and 3 deletions
|
|
@ -12,7 +12,7 @@ include_directories(external/gli)
|
||||||
include_directories(external/assimp)
|
include_directories(external/assimp)
|
||||||
include_directories(base)
|
include_directories(base)
|
||||||
|
|
||||||
OPTION(USE_D2D_WSI "Build the project using debugging code" OFF)
|
OPTION(USE_D2D_WSI "Build the project using Direct to Display swapchain" OFF)
|
||||||
|
|
||||||
IF(WIN32)
|
IF(WIN32)
|
||||||
find_library(VULKAN_LIB NAMES vulkan-1 vulkan PATHS ${CMAKE_SOURCE_DIR}/libs/vulkan)
|
find_library(VULKAN_LIB NAMES vulkan-1 vulkan PATHS ${CMAKE_SOURCE_DIR}/libs/vulkan)
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@ Use the provided CMakeLists.txt with [CMake](https://cmake.org) to generate a bu
|
||||||
|
|
||||||
Note that you need [assimp](https://github.com/assimp/assimp) in order to compile the examples for Linux. Either compile and install from the repository, or install libassimp-dev. The examples require at least version 3.2.
|
Note that you need [assimp](https://github.com/assimp/assimp) in order to compile the examples for Linux. Either compile and install from the repository, or install libassimp-dev. The examples require at least version 3.2.
|
||||||
|
|
||||||
|
To use the Direct to Display swapchain extension (VK_KHR_display), please turn on the USE_D2D_WSI cmake option: "-DUSE_D2D_WSI=ON".
|
||||||
|
|
||||||
## <img src="./images/androidlogo.png" alt="" height="32px"> [Android](android/)
|
## <img src="./images/androidlogo.png" alt="" height="32px"> [Android](android/)
|
||||||
|
|
||||||
Building on Android is done using the [Android NDK](http://developer.android.com/tools/sdk/ndk/index.html) and requires a device that supports Vulkan. Please see the [Android readme](./android/README.md) on how to build and deploy the examples.
|
Building on Android is done using the [Android NDK](http://developer.android.com/tools/sdk/ndk/index.html) and requires a device that supports Vulkan. Please see the [Android readme](./android/README.md) on how to build and deploy the examples.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue