Commit graph

493 commits

Author SHA1 Message Date
Sascha Willems
db1d12d77f Force minimum window size on Windows
Fixes #579
2020-01-24 09:52:26 +01:00
Sascha Willems
ed3d771ce4 Removed unused usage flags on depth stencil image
Fixes #492
2020-01-24 09:39:44 +01:00
Robin Liu
5a6170e1e9 Fix the validation error for buffer copy 2020-01-07 17:23:50 -05:00
Sascha Willems
e30279fae5 Remove unnecessary assignment
Fixes #648
2020-01-06 20:07:09 +01:00
Sascha Willems
3537d2cca2 Merge branch 'master' into libktx
# Conflicts:
#	examples/texturemipmapgen/texturemipmapgen.cpp
2019-12-07 16:04:45 +01:00
Sascha Willems
99fa99ff37 Added function for getting best-fit depth format to device
Refs #607
2019-12-01 18:13:22 +01:00
Sascha Willems
39852c4a27 Use proper buffer sizes 2019-11-19 18:02:49 +01:00
Sascha Willems
27ab72d73f Merge branch 'master' into libktx 2019-10-27 16:38:52 +01:00
Sascha Willems
b3214c521b Use VK_EXT_debug_utils instead of deprecated VK_EXT_debug_report for debugging 2019-10-18 20:51:46 +02:00
Sascha Willems
10129ee606 Uee new VK_LAYER_KHRONOS_validation layer on all platforms
Check if validation layer is actually present
2019-10-18 20:48:50 +02:00
Sascha Willems
01bf10f9a8 Uee new VK_LAYER_KHRONOS_validation layer on all platforms
Check if validation layer is actually present
2019-10-18 20:28:54 +02:00
Sascha Willems
a5794633f0 Get image offsets outside of assert calls 2019-09-13 22:05:57 +02:00
Sascha Willems
2b8b23acf9 Get image offsets outside of assert calls 2019-09-13 22:02:46 +02:00
Sascha Willems
d33fc23e0b Merge branch 'master' into libktx 2019-09-06 19:20:35 +02:00
Sascha Willems
2f985f2aae Fixed some compiler warnings 2019-08-18 18:33:16 +02:00
Sascha Willems
b67c35299b Android asset loading 2019-08-03 18:20:27 +02:00
Sascha Willems
85f0e9f6b7 Replaced gli with libktx for terrain tessellation height map loading 2019-08-03 10:39:39 +02:00
Sascha Willems
0eef7f2ee1 Removed unused gli includes 2019-08-03 10:15:55 +02:00
Sascha Willems
87042dc358 Replaced gli with libktx for 2D texture loading sample 2019-08-03 09:46:41 +02:00
Sascha Willems
1a6042e82d Started replacing gli with libktx 2019-08-02 20:41:44 +02:00
Sascha Willems
4318c6d43e Added new functionality for passing extension structures to device creation 2019-06-10 08:46:11 +02:00
Sascha Willems
eb39c1b8ac Removed deprecated function
Refs #576
2019-05-05 14:18:35 +02:00
Sascha Willems
00982b70bb Added option for passing additional vertex/index buffer memory usage flags for loading models
Removed unused optional assimp flags
2019-04-23 08:15:23 +02:00
Sascha Willems
5f31c40898 Default constructor argument 2019-04-22 18:29:24 +02:00
Sascha Willems
84b1c30714 Correct calling convention
Fixes #556
2019-03-31 21:24:45 +02:00
Lionel Landwerlin
9db191f9a9 Make FPS counter more accurate
While trying to figure a discrepancy between the FPS counter from the
overlay we've introduced in Mesa [1] and the counter in the Vulkan
demos, I figured the demos are not accounting for part of the
rendering loop but rather just the amount of time spent rendering.

This changes accounts for the total amount of time between 2 frames. I
don't think any difference is visible until you reach high frame rates
of 100s or so.

[1]: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/303
2019-02-23 20:51:38 +00:00
Sascha Willems
cf83c1b499 Nicer font for ImGui overlay 2019-02-20 20:57:38 +01:00
Sascha Willems
6e14084bdd Only set stencil aspect on image view if depth format has stencil component
Fixes #529
2019-02-20 19:56:42 +01:00
Indie C++/DX developer
e3fb4f27e2
fix: parameter same to member name 2019-01-21 00:05:51 +08: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
ef68d59a0b Updated tinyGLTF loader
Fixed warnings
Refs #521
2018-11-23 19:39:48 +01:00
saschawillems
4ce7d7d033 Updated to ImGui 1.65
Refs #496
2018-09-07 15:26:43 +02:00
saschawillems
d39738f39e Merge branch 'master' into imgui_162 2018-09-07 13:44:01 +02:00
saschawillems
0b7804d8f3 Validation fixes, resource cleanup 2018-09-07 12:31:48 +02:00
saschawillems
34148d5dc9 Added glTF Vulkan loader class 2018-09-03 20:31:14 +02:00
saschawillems
e9c4cd4a0b Optimized UI overlay strategy 2018-09-01 12:58:28 +02:00
saschawillems
69c3f62b9a Streamlined UI overlay, code cleanup
Refs #496
2018-08-31 21:15:43 +02:00
saschawillems
350e3d03a3 Fixed full-size viewport and scissor for UI 2018-08-30 21:02:10 +02:00
saschawillems
8a61105ec6 Reworked UI overlay class (no longer using separate render pass + submits)
Updated to support ImGui 1.62
Refs #496
2018-08-29 20:49:13 +02:00
Sascha Willems
4be9e1bf38
Merge pull request #474 from elect86/master
Dead code
2018-08-26 09:53:23 +02:00
saschawillems
478aae0548 Allow override of target subpass for UI overlay 2018-07-15 21:13:32 +02:00
saschawillems
a1f166e001 Added basic input attachment sample 2018-07-15 18:18:41 +02:00
Stephen Gallimore
737e4d6bb1 Add missing flush in one of the buffer creation helpers.
Change-Id: I65356b64c227fd96a324349f583d183ce7e075de
2018-07-12 12:41:05 +01:00
saschawillems
1f42dbda61 No longer render if window is minimized (Windows)
Refs #493
2018-06-30 21:56:23 +02:00
saschawillems
5e552c0fea Recreate swap chain (and resources) if it's out of date
Refs #493
2018-06-30 21:55:29 +02:00
saschawillems
19afba3f71 Base class wait fences 2018-06-03 09:38:14 +02:00
saschawillems
a60fa850f4 Check against surface capability usage flags instead of format flags for setting additional swapchain usage flags 2018-06-02 11:31:25 +02:00
saschawillems
fa5d86e42b Allow base class instance Vulkan version override 2018-06-01 18:43:24 +02:00
saschawillems
aa380791c8 Formatting 2018-06-01 18:43:24 +02:00
saschawillems
69dca89a02 Merge branch 'android_gradle' 2018-05-11 12:17:30 +02:00