Commit graph

1445 commits

Author SHA1 Message Date
saschawillems
7ffa7f413b Added missing heightmap asset 2017-12-01 22:09:44 +01:00
JarredDavies
ebf0a34ae7 Request memory with VK_MEMORY_PROPERTY_HOST_COHERENT_BIT enabled for model staging buffers.
There is no guarantee in the spec on the order of the following memory types:
                VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_CACHED_BIT,
                VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT,
    which means we can't assume that the first memory type with VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT is going to be coherent.
2017-12-01 16:25:23 +00:00
saschawillems
1f1613a224 More consistent avg. frame time / fps count 2017-12-01 13:10:07 +01:00
Sascha Willems
2fd2c67672
Merge pull request #400 from jekstrand/fix-overlay-layout
VulkanUIOverlay: Use the correct initial layout
2017-11-25 09:05:49 +01:00
Jason Ekstrand
af8d280e42 VulkanUIOverlay: Use the correct initial layout
Using an initial layout of VK_IMAGE_LAYOUT_UNDEFINED together with
VK_ATTACHMENT_LOAD_OP_LOAD means that the render pass starts off with
completely undefined contents.  Since we want to draw the overlay on top
of the previously rendered image, we want to use a real layout.  Since
the calling code has already transitioned to VK_IMAGE_LAYOUT_PRESENT_SRC_KHR,
that's the layout we need to use.

This was never caught by validation because VK_IMAGE_LAYOUT_UNDEFINED is
the one layout you're allowed to use as an initial layout at any time
regardless of the image's current layout.
2017-11-21 17:31:35 -08:00
saschawillems
2f792035aa Added headless examples to readme 2017-11-20 21:14:12 +01:00
saschawillems
6c5de48c22 Added compute shader execution barrier
Closes #374
2017-11-13 21:06:19 +01:00
saschawillems
9393c63533 Readme paths [skip ci] 2017-11-12 19:48:59 +01: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
f62115ffca Removed unused query result buffer 2017-11-11 15:28:18 +01:00
saschawillems
0588108e64 Enabled exceptions on android 2017-11-10 22:17:03 +01:00
saschawillems
9fd56e489c Imput attribute ordering
Fixes #392
2017-11-05 10:14:25 +01:00
saschawillems
7fcb61ee94 Shadow mapping sample scene selection 2017-11-04 21:29:11 +01:00
saschawillems
327994b3c3 Shadow mapping sample scene selection 2017-11-04 21:27:02 +01:00
saschawillems
b820cf0a53 Shadow mapping sample scene selection 2017-11-04 21:23:37 +01:00
saschawillems
5ed78c19ef Use cmake on appveyor 2017-11-04 18:20:42 +01:00
saschawillems
c1d54dbaf6 Removed Visual Studio 2015 project files (use cmake instead) 2017-11-04 18:04:57 +01:00
saschawillems
de0d6c7bae git ignore for android jni folders 2017-11-04 16:46:12 +01:00
saschawillems
d88fbcba0b Added missing samples to build scripts 2017-11-04 16:37:52 +01:00
saschawillems
e19ccdbc5f No key press check on android 2017-11-04 16:37:43 +01:00
saschawillems
0a78d4d2a0 Debug message callback calling conventions 2017-11-04 15:48:51 +01:00
saschawillems
6a01bb16a0 Dynamically generate android build files from build script 2017-11-04 11:00:38 +01:00
saschawillems
a459be2645 Added android build file templates 2017-11-04 11:00:17 +01:00
saschawillems
8df4295681 Removed per-sample android build files 2017-11-04 10:59:56 +01:00
saschawillems
c77a1ba715 Removed key dummy codes for android 2017-11-04 10:33:55 +01:00
saschawillems
2b04594fe3 Enable device features, only display sample rate shading option if supported by device 2017-11-04 10:29:45 +01:00
saschawillems
a1530114ef Merge branch 'master' into uioverlay 2017-11-03 20:00:17 +01:00
Sascha Willems
b0d592adcc
Merge pull request #391 from cirosantilli/python3_2
Allow Linux users to build Android even if Python 2 is their default Python
2017-11-03 19:52:49 +01:00
saschawillems
b7d2dbced4 Pass updated frame buffers on resize 2017-11-03 16:35:38 +01:00
saschawillems
a8cb646a7c Enabled text overlay for samples with differing render pass setup 2017-11-03 11:23:02 +01:00
saschawillems
4e5d95c098 UI overlay creation via create info structure with additional customization options 2017-11-03 11:17:09 +01:00
saschawillems
a789240567 Merge branch 'master' into uioverlay 2017-11-02 17:13:12 +01:00
saschawillems
5795a77e7b Android UI overlay touch handling 2017-11-02 17:07:07 +01:00
saschawillems
97975a314d Unified mouse movement handling 2017-11-02 13:40:27 +01:00
saschawillems
09dae4ee0b UI item spacing on Android 2017-11-02 09:08:47 +01:00
saschawillems
2f9515466a UI overlay resizing 2017-11-01 15:19:28 +01:00
saschawillems
a5e2ad091f Release ui overlay Vulkan resources 2017-11-01 15:18:46 +01:00
saschawillems
68692367e0 Replaced text overlay with proper UI overlay 2017-11-01 14:22:10 +01:00
saschawillems
570750c16f return value float slider 2017-11-01 14:12:14 +01:00
saschawillems
ef96b3c3e3 Member naming 2017-11-01 13:40:44 +01:00
saschawillems
00f080c046 UpdateOverlay function calls on unix platforms 2017-11-01 13:29:57 +01:00
saschawillems
853b318848 UI scale, combo box dropdown item count 2017-10-31 23:09:42 +01:00
saschawillems
cb97e20529 Removed duplicate swapchain initialization on android 2017-10-31 12:51:55 +01:00
saschawillems
bf2cf898cc Check ImGui mousecapture and don't propagate event 2017-10-31 11:53:17 +01:00
saschawillems
3b11701eb2 Additional UI overlay widget creation functions 2017-10-31 11:52:48 +01:00
saschawillems
0907e3c680 Overlay setting member name 2017-10-30 18:03:48 +01:00
saschawillems
287a9b5762 UI overlay float slider 2017-10-30 18:02:51 +01:00
saschawillems
15f85d6e10 Designated UI overlay widget creation functions (wrapping ImGui calls) 2017-10-30 12:37:36 +01:00
saschawillems
ab407f5346 pass overlay member to virtual update function 2017-10-30 12:36:44 +01:00