Commit graph

327 commits

Author SHA1 Message Date
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
683515d12b Vulkan resource cleanup 2016-04-02 12:52:25 +02:00
saschawillems
2517a2b82e Corrected stage flag for push constant range, removed descriptor sets (not used in this example) 2016-04-02 12:47:08 +02:00
saschawillems
52ffbb59bb Added multi threading example to cmake and android build 2016-04-02 12:08:19 +02:00
saschawillems
980d3b7d35 Changed mesh format, asset paths for multi threaded rendering example 2016-04-02 12:04:27 +02:00
saschawillems
76c7f21c3e Android function pointers, workaround for missing make_unique 2016-04-01 23:09:15 +02:00
saschawillems
6f61d0fd63 Added space background sphere using a secondary command buffer 2016-04-01 22:48:16 +02:00
saschawillems
e1d45bb90e Object positioning 2016-04-01 15:58:59 +02:00
saschawillems
3caeb6ee84 Multiple objects per thread 2016-04-01 14:24:46 +02:00
saschawillems
ad49cb7997 Continued work on multi threading example, now uses a thread pool for updating secondary command buffers 2016-04-01 13:27:03 +02:00
saschawillems
082033d384 Added basic C++11 thread pool 2016-04-01 12:17:30 +02:00
saschawillems
96870602d5 Store vertex and index buffer sizes and set transfer source bits for mesh buffers 2016-03-31 22:37:49 +02:00
saschawillems
4c883a94ac Fixed typo in linux mouse button assignment 2016-03-30 23:00:53 +02:00
saschawillems
bb4d348ccd Added camera position moved with midlle mouse button, fixed mouse button press and release events on linux 2016-03-30 22:48:58 +02:00
saschawillems
cf1532dcc5 Fallback to device local memory if lazily allocated memory is not available 2016-03-30 20:31:51 +02:00
saschawillems
79df037c92 Added multisampling example to readme 2016-03-29 22:16:32 +02:00
saschawillems
1e3dcb98b6 Added multisampling example to cmake and android build 2016-03-29 21:41:56 +02:00
saschawillems
d19a4422ce Added initial image layout transitions for msaa tragets 2016-03-29 21:35:41 +02:00
saschawillems
ae2ccd92d0 Added depth msaa target and resolve 2016-03-29 20:04:20 +02:00
saschawillems
a4aa8c632a Added multisampling example (work-in-progress) 2016-03-28 22:43:44 +02:00
saschawillems
ac4ac3ad4d Added multisampling example (work-in-progress) 2016-03-28 22:38:30 +02:00
saschawillems
9f787938c3 Made render pass and frame buffer setup functions virtual 2016-03-28 21:43:31 +02:00
saschawillems
fb9bbb1ce7 Added raytracing example to cmakelists and android build batches 2016-03-28 11:15:25 +02:00
saschawillems
7777a2a526 Ray tracer reflections (wip) 2016-03-28 00:18:10 +02:00
saschawillems
a666ca7d3c Ray tracing shadows 2016-03-27 23:45:41 +02:00
saschawillems
d71a7e7d9a Initial commit for compute shader ray tracing example (work in progress) 2016-03-27 21:49:14 +02:00
Sascha Willems
97a9e27a5f Merge pull request #92 from 1ace/fix-vktools
Add missing colon
2016-03-27 14:55:07 +02:00
saschawillems
299748a013 Typos 2016-03-27 14:50:44 +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
Sascha Willems
0adf81f2f5 Merge pull request #59 from dustin-biser/master
Update README.md
2016-03-27 13:17:58 +02:00
Sascha Willems
11f31c6575 Merge pull request #114 from luckykatahanas/master
distancefieldfonts: fix SaschaWillems/Vulkan#113
2016-03-27 13:16:29 +02:00
lucky
0253a419ad use C++11 constructor for filebuf 2016-03-27 01:27:20 -07:00
lucky
06a29dabb1 distancefieldfonts: fix SaschaWillems/Vulkan#113 2016-03-27 00:56:16 -07:00
saschawillems
a14f0f8f89 Typos 2016-03-26 13:51:22 +01:00
saschawillems
f0b5772494 Rephrased paragraph on building the examples for the supported platforms 2016-03-26 13:46:49 +01:00
saschawillems
f66eed488b Removed libassimp.dll.a 2016-03-26 13:45:54 +01:00
saschawillems
4e689f3fee Call example destructor on Android (Fixes #97) 2016-03-26 13:21:19 +01:00
saschawillems
2ed3e946b1 Android application state handling (#97) 2016-03-26 12:58:35 +01:00
saschawillems
1288672fd9 Streamlined Android build process and install/uninstall batch files (#97) 2016-03-26 11:49:37 +01:00
saschawillems
dcb161bcae Fixed android gamepad axis input (#97) 2016-03-26 00:07:12 +01:00
saschawillems
6ff6cd4b59 Fixed wrong extent.depth for 2D texture copies 2016-03-25 23:27:29 +01:00
saschawillems
8ab69b84e0 Added android support for distance field fonts example (#97) Fixes (#109) 2016-03-25 21:53:09 +01:00
saschawillems
83eb3de1c0 Removed old android images, small change to build.bat (#97) 2016-03-25 21:14:00 +01:00
saschawillems
3bcc162011 Added android support for parallax mapping, pipelines, push constants, radial blur, skeletal animation and tessellation examples (#97) 2016-03-25 21:08:59 +01:00
saschawillems
fd18bd8084 Added android support for gears, geometryshader, instancing and occlusion query examples (#97) 2016-03-25 19:43:01 +01:00
saschawillems
e833164b99 Added android function pointers (#97) 2016-03-25 19:41:34 +01:00
saschawillems
268d8dbb93 Android builds (#97) 2016-03-25 16:41:44 +01:00
saschawillems
a09c169505 Update android application labels (#97) 2016-03-25 15:40:55 +01:00
saschawillems
08fc2feecc Added android support for shadow mapping (projected and omni) and texture (array and cubemap ) example (#97) 2016-03-25 15:29:38 +01:00