saschawillems
5790f30c17
Fixed random seed when run in benchmark mode
...
Refs #269
2018-01-15 20:40:17 +01:00
saschawillems
cb32e2e89f
Separated benchmark argument line options
...
Refs #269
2018-01-13 10:39:03 +01:00
saschawillems
39122785a8
Duration based benchmarking (instead of no. of iterations), better argument handling
...
refs #269
2018-01-12 21:54:01 +01:00
saschawillems
30980623af
Device creation failure error message display
2018-01-09 20:22:09 +01:00
saschawillems
4959985a17
Enable sampler anisotropy only if enabled on device
2018-01-05 20:47:27 +01:00
saschawillems
2c4dd77e9f
Merge branch 'master' into develop
2017-12-11 22:16:23 +01:00
saschawillems
a3e3dd999f
Error message and hint to asset pack if asset loading (model, texture) fails
2017-12-11 22:14:34 +01:00
saschawillems
f4281096ea
Getter for near and far clip
2017-12-09 21:12:16 +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
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
0588108e64
Enabled exceptions on android
2017-11-10 22:17:03 +01:00
saschawillems
0a78d4d2a0
Debug message callback calling conventions
2017-11-04 15:48:51 +01:00
saschawillems
c77a1ba715
Removed key dummy codes for android
2017-11-04 10:33:55 +01:00
saschawillems
b7d2dbced4
Pass updated frame buffers on resize
2017-11-03 16:35:38 +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
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
saschawillems
f6af0bde03
Replaced text overlay with proper (imgui based) UI overlay class
2017-10-29 11:41:43 +01:00
saschawillems
19245a0f51
Moved swapchain creation into prepare function
2017-10-21 16:51:39 +02:00
saschawillems
4a1876b023
Also check against TRANSFER_SRC format flag to enable swap chain image usage flag
2017-10-09 20:07:16 +02:00
Wladimir J. van der Laan
1ed282d2ee
base: Check for swapchain blit source feature instead of destination
...
As I understand it the goal is to use the swapchain image as a transfer
source (for taking screenshots), not as a transfer destination.
2017-10-09 15:47:50 +02:00
saschawillems
83d1dd63aa
Changed mouse button handling, added mouse moved event
2017-10-05 21:22:10 +02:00
saschawillems
cd8274c294
glm matrix initialization
2017-09-24 18:17:07 +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
saschawillems
107db7d244
Reworked benchmark code, store per frame times (instead of iteration totals)
...
Refs #269
2017-08-28 20:48:52 +02:00
saschawillems
b42d0edb3b
Removed benchmark constructor
2017-08-26 20:17:34 +02:00
saschawillems
c855a82a46
Small benchmark mode tweaks and fixes
2017-08-26 16:08:16 +02:00
saschawillems
d271098464
Silent error mode
2017-08-26 15:05:59 +02:00
saschawillems
b4870a6e7e
Moved benchmark to separate header, output summary to stdout
...
Refs #269
2017-08-26 14:05:48 +02:00
saschawillems
0142c8b820
Add device name to benchmark output file
2017-08-22 21:00:48 +02:00
saschawillems
c2aef7809f
Merge branch 'master' into develop
2017-08-22 18:56:05 +02:00
saschawillems
2020c9548f
Static shared library
2017-08-19 10:53:28 +02:00
saschawillems
ac7d7396c2
Include required libraries in shared base (fixes gcc on windows)
2017-08-19 10:49:37 +02:00
Jean-Philippe Bruyère
977f0318b7
make base as library
2017-08-17 20:50:28 +02:00