Commit graph

909 commits

Author SHA1 Message Date
saschawillems
ab8be6731b Check tessellation support 2016-04-24 10:30:45 +02:00
saschawillems
561cb78720 Store physical device features in example base class 2016-04-24 10:28:27 +02:00
saschawillems
568161362c Use collada mesh for push constants example 2016-04-24 10:13:37 +02:00
Sascha Willems
9ac4383c46 Merge pull request #138 from d3x0r/Fix_MSVC_Build
CMAKE_CXX_FLAGS is overwritten when later adding /Esc option.
2016-04-22 08:08:50 +02:00
d3x0r
6a7dc1b9c3 CMAKE_CXX_FLAGS is overwritten when later adding /Esc option. 2016-04-21 13:36:01 -07:00
saschawillems
272132a2a4 Corrected attribute binding format, lowered particle count for android 2016-04-21 22:02:22 +02:00
saschawillems
a8bdba8e3a Cleanup 2016-04-21 21:14:34 +02:00
saschawillems
275fb5e23f Changed staging to use common base functionality 2016-04-21 21:01:18 +02:00
saschawillems
7098fc19a4 Reverted some functions from PR#137 (replaced by different base functionality) 2016-04-21 20:57:02 +02:00
saschawillems
77bb8cf68b Corrected memory property flag for staging target buffer 2016-04-21 20:56:04 +02:00
Sascha Willems
581a043620 Merge pull request #137 from Voultapher/master
Visual Update for computeparticles
2016-04-21 20:31:31 +02:00
Voultapher
5d7014b221 Visual Update for computeparticles
Instead of using a small amount of large textured particles, use a large
amount of small monochrome particles.
Which uses a new vulkanexamplebase functionality of creating and
updating a only device visible buffer via a temporary staging buffer.
2016-04-21 11:21:48 +02:00
saschawillems
eb428db92d Feee copy command buffer (Fixes #135) 2016-04-18 20:52:29 +02:00
saschawillems
6d54900c4d Corrected usage flag for instancing buffer 2016-04-17 13:51:16 +02:00
saschawillems
0463d5b1e3 Updated description and screenshot for instancing example 2016-04-17 12:44:31 +02:00
saschawillems
8e2115a0d4 Updated instancing example, using instanced attributes (instead of one big ubo), staging, new meshes, etc. 2016-04-17 12:30:42 +02:00
saschawillems
3faee12381 Pointer to mapped host memory for uniform data 2016-04-17 11:23:56 +02:00
saschawillems
884916e083 New mesh and array texture for instancing example 2016-04-16 16:51:23 +02:00
saschawillems
2e72dce7af Additional buffer and command buffer functions in base class 2016-04-16 14:42:41 +02:00
saschawillems
267b78f9fc Android fps log output 2016-04-15 21:24:50 +02:00
saschawillems
def86e02f0 Check debug message callback against VK_NULL_HANDLE (fixes defunct android build) 2016-04-15 20:57:34 +02:00
saschawillems
343a25cbed Small raytracing shader performance changes 2016-04-12 20:28:46 +02:00
Sascha Willems
f44afda9ab Added window resize for XCB (Fixes #105) 2016-04-11 19:44:03 +02:00
saschawillems
23f3eb0170 Window resize (#105) 2016-04-10 11:12:04 +02:00
saschawillems
67aa039dfc Destroy swap chain image views of swap chain is getting recreated 2016-04-09 18:59:46 +02:00
saschawillems
a6a327efe6 Updated to SDK 1.0.8 2016-04-09 14:20:57 +02:00
saschawillems
fce71d87d3 Added my Khronos Meetup Munich Presentation 2016-04-09 12:53:39 +02:00
saschawillems
d93f4dd647 Added multi threaded command buffer example to the readme 2016-04-04 21:15:55 +02:00
Sascha Willems
12a3c8b4d5 Merge pull request #119 from pH5/threads
Fix compilation of multithreading example on Debian with CMake 3.5.1
2016-04-03 20:41:00 +02:00
Sascha Willems
5d791ea5d1 Includes 2016-04-03 20:39:44 +02:00
saschawillems
a41ff27bb9 Added frustum culling, use low-poly mesh to move limitation towards cpu 2016-04-03 13:51:47 +02:00
saschawillems
7768992bda Added frustum culling class 2016-04-03 13:07:14 +02: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
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