Rolf Hunt
cb869a3e9a
Updated to include VK_HEADER_VERSION check.
2022-06-24 16:44:30 -05:00
Rolf Hunt
753b2614f6
Added config changes to support Vulkan 1.3.216.0 and later with portability bit set on macOS
2022-06-23 15:21:14 -05:00
Sascha Willems
3e55366434
Added sample fro dynamic rendering using VK_KHR_dynamic_rendering
2021-11-06 19:45:22 +01:00
Per Inge Mathisen
5f72b0faa3
Add option to only render a given number of frames.
...
This is useful on very slow targets, such as GPU emulators.
2021-07-29 12:15:58 +02:00
Sascha Willems
0887881eac
Merge pull request #832 from per-mathisen-arm/master
...
Add support for rendering with the headless extension
2021-06-05 15:10:30 +02:00
Tomek Bury
b212fa0840
Don't fail on startup when input device(s) are not present
...
The wl_seat protocol may not be available unless input devices (keyboard,
mouse) are connected to the compositor on the target system.
Warn but continue executing examples with default settings.
2021-05-04 17:31:34 +01:00
Per Inge Mathisen
45ba247b55
Add support for rendering for the headless extension
2021-04-27 13:53:07 +02:00
Sascha Willems
a2a604be47
Fix benchmark options
...
Fixes #815
2021-03-13 14:12:35 +01:00
Sascha Willems
165b66a718
Reworked command line argument handling ( #804 )
...
* Reworked command line argument handling
Added a new class to handle these
2021-01-29 15:40:52 +01:00
Sascha Willems
ca17431794
Merge pull request #797 from caramelli/master
...
Fix long options for width and height
2021-01-28 19:39:49 +01:00
jeromenxp
1b22456d07
Change scope of validationExt and validationLayerName variables
...
Pointer to a variable declared into a block statement is stored and used outside of the block by vkCreateInstance. This can lead to segmentation fault.
Move the declaration of validationExt/validationLayerName outside of the block to fix the crash.
2021-01-18 17:41:41 +01:00
Nicolas Caramelli
9f00c24388
Fix long options for width and height
2021-01-07 17:05:42 +01:00
Nicolas Caramelli
c13a715ead
Add DirectFB WSI support ( #761 )
2020-09-13 10:12:33 +02:00
daemyung jang
ad6e36023f
Run on MacOS ( #762 )
...
* Run on MacOS
* Update BUILD.md
2020-09-11 20:19:28 +02:00
Sascha Willems
af49951afb
Removed unused include
2020-08-29 10:43:01 +02:00
Sascha Willems
8374d6cd68
Code cleanup, changed message for missing enabled device extensions
2020-08-27 22:24:43 +02:00
Sascha Willems
de61539799
Store instance extensions, reworked support check
2020-08-27 19:56:02 +02:00
Jérôme Leclercq
3298455373
Output warning to stderr if an extension is not supported ( #756 )
2020-08-27 19:36:24 +02:00
Sascha Willems
d5be770f55
Merge branch 'master' of https://github.com/SaschaWillems/Vulkan
2020-08-24 20:04:53 +02:00
Sascha Willems
236a424955
Fixed full screen mode for resolutions different than current desktop size
2020-08-24 20:04:46 +02:00
datenwolf
fd202bfc76
xcb_connect always returns nonnull pointer, errors must be checked with xcb_connection_has_error ( #720 )
...
* xcb_connect always returns nonnull pointer, errors must be checked with xcb_connection_has_error: Fixed the error check to conform to XCB and assert nonnull pointer
* merged with newest master from upstream (tagged ktx)
Co-authored-by: Wolfgang Draxinger <code@datenwolf.net>
Co-authored-by: datenwolf <dw@kraeh.datenwolf.net>
2020-08-24 08:01:23 +02:00
Sascha Willems
d32663d569
Merged #729
2020-08-23 18:05:39 +02:00
Sascha Willems
9e22fe7b0d
Add resized flag to base class
2020-08-16 10:22:45 +02:00
Sascha Willems
b0376aea5e
Fixed some compiler warnings and obvious errors
2020-08-09 15:10:28 +02:00
Sascha Willems
e1ec3b6c78
Fixed typos
2020-08-08 13:25:58 +02:00
Sascha Willems
14536c6ec7
Removed unused Android code
2020-08-06 08:02:27 +02:00
Sascha Willems
29b5ba5abe
Merge pull request #704 from MattGuerrette/master
...
Update WM_CLASS property on Linux using xcb
2020-07-30 19:54:09 +02:00
Ben Clayton
301e8abf12
Add command flag for picking between shaders
...
The new `-s`, `--shaders` command line flag allows you to specify whether you want to load the glsl or hlsl shaders.
Defaults to glsl.
Issue: #723
2020-06-01 12:22:28 +01:00
Ben Clayton
ca884587a4
Move shaders into glsl and hlsl directories
...
Move `data/shaders` to `data/shaders/glsl`
Move `data/hlsl` to `data/shaders/hlsl`
Fix up shader paths in the cpp files to point to the new glsl location.
`data/shaders/hlsl/compile.py` still overwrites the glsl .spv files (for
now).
Issue: #723
2020-06-01 12:22:28 +01:00
Matt Guerrette
ddf70467d4
Update WM_CLASS property on Linux using xcb
...
This commit updates the WM_CLASS property to display a better
title than "Unknown" for each example in the dash and application menu.
Update WM_CLASS property on Linux using xcb
This commit updates the WM_CLASS property to display a better
title than "Unknown" for each example in the dash and application menu.
2020-04-30 11:29:50 -04:00
Sascha Willems
ab38f8b150
Code-Cleanup: All samples now use the camera class and it's matrices
...
Cleaned up base class
2020-04-22 20:58:24 +02:00
Sascha Willems
53846d8b1d
Code cleanup
2020-04-20 22:13:51 +02:00
Sascha Willems
458c149c71
Code cleanup
2020-04-20 20:29:15 +02:00
Sascha Willems
cbe751d26e
Base class cleanup and restructuring
2020-04-19 10:05:47 +02:00
Sascha Willems
bb8d4c6df1
Add default frame submission function to base class
2020-04-19 09:17:53 +02:00
Petr Kraus
2a986b6a87
Fix some whitespace
2020-03-05 21:20:42 +01:00
Sascha Willems
662d2b3464
Centralize asset path handling
...
Refs #470
Refs #627
2020-02-17 21:09:27 +01:00
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
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
2f985f2aae
Fixed some compiler warnings
2019-08-18 18:33:16 +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
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
6e14084bdd
Only set stencil aspect on image view if depth format has stencil component
...
Fixes #529
2019-02-20 19:56:42 +01: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
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