Commit graph

61 commits

Author SHA1 Message Date
Sascha Willems
b58375f6ad Output wayland xdg headers into proper directory
Refs #567
2019-04-13 12:13:11 +02:00
Sascha Willems
dbe3f01283 Fix for cmake C++11 definiton 2019-01-20 10:44:56 +01:00
Scott Moreau
203ea178d0 wayland: Port to xdg-shell stable
Wayland compositors and clients are expected to support the xdg-shell
stable protocol over the deprecated wl_shell protocol.
2019-01-16 01:33:34 -07:00
saschawillems
d6e0b714ea Added tinygltf as external dependency 2018-09-03 20:27:15 +02:00
saschawillems
d53b098017 Removed -wall flag (too many warnings from external files)
Fixes #491
2018-07-14 10:45:15 +02:00
saschawillems
94a076e1ae Moved example source files into sub folder 2017-11-12 19:32:09 +01:00
saschawillems
a17e3924b3 Added pipeline statistics query example 2017-11-12 14:19:01 +01:00
saschawillems
f504d7cb0c Added headless rendering example to CMakeLists 2017-09-20 20:52:19 +02:00
saschawillems
1e4944a9e1 Added minimal headless compute example 2017-09-14 22:17:48 +02:00
Sascha Willems
a3b8534e5f Merge pull request #352 from jku/install
Support installing demos, support out-of-tree builds
2017-09-02 14:02:34 +02:00
Jean-Philippe Bruyère
977f0318b7 make base as library 2017-08-17 20:50:28 +02:00
saschawillems
e05de0b93a Added stencil buffer outlining example 2017-08-16 21:02:08 +02:00
Jussi Kukkonen
7798901a46 Support installing demos, support out-of-tree builds
This is especially useful for cross-compile situation where testing
happens on target.

-DRESOURCE_INSTALL_DIR=<path> decides where data is installed (and
where the binaries will load the data from): if it's left empty,
then nothing will be installed and binaries will load the data from
CMAKE_SOURCE_DIR.

Binaries are now correctly built in CMAKE_BINARY_DIR.
2017-07-04 18:12:04 +03:00
saschawillems
18df00c7b4 Add shaders as filters to examples (visual studios) 2017-07-01 13:28:31 +02:00
cksingamala
ee87687365 CMakeLists.txt updated to fix, "visual studio project debug version giving error on flag Wextra" 2017-05-26 13:52:16 +05:30
saschawillems
90a95b495a Added pbrtexture to CMakeLists.txt 2017-05-11 20:28:49 +02:00
Sascha Willems
5912aa0a7c Merge pull request #103 from 1ace/add-debug-flags
Add some debug warnings
2017-04-23 12:09:26 +02:00
saschawillems
dba54b09b3 Added imgui example to CMakeLists.txt [skip ci] 2017-04-22 11:50:13 +02:00
saschawillems
70ae00042f Added new samples to CMakeLists.txt 2017-03-25 12:16:29 +01:00
saschawillems
a09de3b953 Added hdr example to CMakeLists 2017-02-04 11:46:36 +01:00
Tomek Bury
570d9bc6ee Add Wayland WSI support 2017-02-02 08:54:56 +00:00
saschawillems
826a4ba44a Disable missing switch statements warning for clang 2017-01-09 20:24:16 +01:00
Mika Laitio
67383cb444 allow bundled Vulkan lib also with newer cmakes
Remove REQUIRED flag for the Vulkan library
search that are used if CMake version > 3.7.

This will allow the configuration and build fall back
of searching the internal vulkan library versions that
are bundled within this repo. (In case that the user
has not installed vulkan libraries under /usr)

Signed-off-by: Mika Laitio <lamikr@pilppa.org>
2017-01-08 02:04:23 -08:00
saschawillems
3d9350d960 Added Android and CMake builds for specialization constants example 2017-01-01 15:56:44 +01:00
saschawillems
d89b45eaf2 Added Android build files for dynamic uniform buffer example 2016-12-23 11:20:17 +01:00
saschawillems
deed78921c Added screenshot taking example 2016-12-17 00:13:55 +01:00
saschawillems
2674c7c404 Added compute shader n-body particle simulation demonstrating the use of shared compute shader memory 2016-11-26 13:52:22 +01:00
saschawillems
7cd95fc8c8 Use FindVulkan CMake module if version >= 3.7.0 (refs #225) 2016-11-12 13:33:21 +01:00
Sascha Willems
f8766d8ce7 Prefer lib from installed SDK if present, update Linux library 2016-11-05 17:17:46 +01:00
Shi Yan
6989e12f2a add README for using Direct to Display swapchain and fix a typo. 2016-11-04 15:40:22 -07:00
Shi Yan
9b5127f894 add direct to display wsi swapchain option
direct to display swapchain needs to be enabled at compile time with option -DUSE_D2D_WSI=ON

currently tested under linux
2016-11-04 14:04:34 -07:00
MattGuerrette
67fbbbf10d prefixed runtime output directory with CMAKE_SOURCE_DIR to be more explicit. 2016-11-01 17:43:38 -04:00
saschawillems
55f16c2340 Added missing examples to CMakeLists 2016-10-31 21:32:54 +01:00
saschawillems
54ddca7c08 Added Android build files and seettings for SSAO example 2016-10-30 13:49:30 +01:00
saschawillems
b54e424d1b Implement make_unique, only require c++11 in CMakeLists (Fixes #235, Refs#167) 2016-09-20 21:04:16 +02:00
Aun-Ali Zaidi
3277f038e0
cmake: Add scenerendering demo to CMakeLists.txt 2016-09-17 13:00:05 -05:00
saschawillems
4db98481c0 Decoupled noise generation from 3D texture setup, added Android build files 2016-09-10 20:49:14 +02:00
saschawillems
9b7a1ba720 Added texture mip map generation example to CMakeLists 2016-08-15 16:51:13 +02:00
Sascha Willems
55721b4166 Added indirect draw and terrain tessellation examples to CMakeLists.txt 2016-08-03 20:43:18 +02:00
saschawillems
d47d6a126a Added deferred shadows example to CMakeLists 2016-07-19 21:22:48 +02:00
saschawillems
4bef4ca134 Added text overlay example to cmake and android build 2016-05-07 15:59:08 +02:00
d3x0r
6a7dc1b9c3 CMAKE_CXX_FLAGS is overwritten when later adding /Esc option. 2016-04-21 13:36:01 -07:00
Philipp Zabel
b6f3b7614b Fix compilation of multithreading example on Debian with CMake 3.5.1
Compilation of the multithreading example on Debian with CMake 3.5.1 would
fail with the following error because ${PTHREAD} was not set:
    [ 61%] Linking CXX executable bin/multithreading
    /usr/bin/ld: CMakeFiles/multithreading.dir/multithreading/multithreading.cpp.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
This patch uses ${CMAKE_THREAD_LIB_INIT} [1] instead, initialized using
find_package(Threads REQUIRED).

[1] https://cmake.org/cmake/help/v2.8.12/cmake.html#module:FindThreads
2016-04-03 11:14:47 +02:00
saschawillems
52ffbb59bb Added multi threading example to cmake and android build 2016-04-02 12:08:19 +02:00
saschawillems
1e3dcb98b6 Added multisampling example to cmake and android build 2016-03-29 21:41:56 +02:00
saschawillems
fb9bbb1ce7 Added raytracing example to cmakelists and android build batches 2016-03-28 11:15:25 +02:00
Sascha Willems
6a4345c3e1 Merge pull request #101 from 1ace/remove-vk-prototype
Remove VK_PROTOTYPES define
2016-03-27 13:30:31 +02:00
Sascha Willems
0871de25bd Merge pull request #83 from dcbaker/pr/cmake-find-assimp
cmake: Add FindASSIMP.cmake
2016-03-27 13:19:00 +02:00
Eric Engestrom
4737b44149 Add some debug warnings
Make use of them by configuring your build type to debug, for instance
by adding `-DCMAKE_BUILD_TYPE=Debug` to your cmake invocation.
2016-03-22 00:53:10 +00:00
Eric Engestrom
caabf520f2 Remove VK_PROTOTYPES
This guard macro was inverted shortly before the release;
use VK_NO_PROTOTYPES when you do *not* want the prototypes.
2016-03-22 00:25:50 +00:00