Commit graph

646 commits

Author SHA1 Message Date
Sascha Willems
f685be3445 Minor best practices related fixes 2023-09-17 14:13:03 +02:00
Mike Gorchak
8458f21123 Add basic QNX support. 2023-09-01 11:12:08 -04:00
Gadgeteer
2d2746c01d Remove xcode/examples.h 2023-07-19 16:19:15 +01:00
Sascha Willems
208739f401 Updated swap chain format selection 2023-07-17 21:44:08 +02:00
Sascha Willems
922eaecdc0 Use swap chain functions provided by the loader instead of manually loading them
Exception is android
2023-07-16 21:18:59 +02:00
Sascha Willems
31973df69b Reworked triangle sample
Now uses proper sync and multiple concurrent frames
Better and more consistent naming
Additional comments
Refs #871
2023-07-16 19:25:55 +02:00
Gadgeteer
af6869a0d3 Correct path for assets 2023-07-16 18:14:36 +01:00
Sascha Willems
b64c31357f Removed no longer used header file 2023-07-16 15:42:57 +02:00
Sascha Willems
df55238b11 Fix typo
Fixes #1052
2023-07-16 13:44:46 +02:00
Gadgeteer
b1d2777ad0 First Version of MacOS test 2023-07-15 10:44:22 +01:00
Yuan Tian
b82c3c83c6 Fix an error in benchmark mode using wayland 2023-06-13 14:53:31 +08:00
Sascha Willems
10031d4cca Changed references to the asset pack 2023-05-10 21:29:33 +02:00
Sascha Willems
a124271b7e Changed shader path lookup 2023-05-10 20:34:09 +02:00
Sascha Willems
c13ba757b7 Changed assets and shader path functions, removed asset download script 2023-05-09 21:05:01 +02:00
Sascha Willems
ed8be7e92d Replaced debug marker with debug utils in framework 2023-05-09 20:04:34 +02:00
Sascha Willems
3c9aca3fcb Add stencil format require toggle
Fixes #1031
2023-05-09 18:03:51 +02:00
Sascha Willems
0afa517a68 Error code translation for shader objects 2023-05-09 17:33:59 +02:00
Sascha Willems
cd6e3b9a23 Ray tracing texturing and alpha mapping sample 2023-04-09 13:40:12 +02:00
Sascha Willems
cca1c865d9 Added keyboard input handling
Windows only
2023-02-25 09:37:08 +01:00
Sascha Willems
5017d380af Code cleanup and fixes
Added color picker for clear color
2023-02-24 16:13:31 +01:00
Sascha Willems
288503390d Clean up debug setup 2023-01-22 10:07:29 +01:00
Sascha Willems
938e97661c Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2023-01-22 09:52:39 +01:00
Sascha Willems
8e5ebd6deb Minor cleanup 2023-01-22 09:51:47 +01:00
Per Mathisen
580008ee5a Fix for base subpass depedencies had uninitialized dependency flags.
This consistently crashed all the examples on my linux laptop with
Intel GPU in it.

Ref #665
2023-01-05 13:28:40 +01:00
Sascha Willems
9b624451cb Fix base subpass depedencies
Fixes #665
2023-01-01 09:14:25 +01:00
Sascha Willems
e0a49c20e8 Pass down arguments to glTF child nodes
Refs #824
2022-12-31 14:12:26 +01:00
Sascha Willems
72e8083b7c Removed unnecessary component swizzle assignments
Fixes #160
2022-12-31 12:31:27 +01:00
Sascha Willems
8c05c74746 Command line parser fix 2022-12-31 09:53:17 +01:00
Sascha Willems
e52a9342f4 Add command line arguments to headless samples
Those samples can now toggle between glsl and hlsl shaders
Moved command line parster to a separate header
2022-12-31 09:45:01 +01:00
Sascha Willems
727d351b42 Added virtual function to enable extension based on extension list from physical device 2022-10-02 15:46:06 +02:00
Sascha Willems
9bfb3c5559 Enable VK_KHR_Deferred_Host_Operationgs for all samples
Inlcuding rayQueries
Fixes #987
2022-08-21 16:04:49 +02:00
Stephen Saunders
54d0b27e4a Fix ImGui overlay and add extension dependencies for dynamicrendering example 2022-08-01 19:05:37 -04:00
Stephen Saunders
62f6dcf767 Move macOS benchmarking to NSApp rendering loop, makes example windows visible vs. headless 2022-08-01 16:52:06 -04:00
Stephen Saunders
1b3fe76cdb Fix F1 on/off toggle for ImGui overlay (all platforms), clean up keycode handling (mostly macOS/iOS) 2022-08-01 16:11:57 -04:00
Stephen Saunders
c89d4eb776 Code Review: a) revert TinyGLTF #defines, b) call vkDeviceWaitIdle() in macOS/iOS termination handlers, c) remove OpenMP target_compile_options() in CMakeLists 2022-07-27 01:21:20 -04:00
Stephen Saunders
46b2027dd1 Handle Vulkan / memory cleanup on shutdown for macOS benchmarking case 2022-07-20 12:00:14 -04:00
Stephen Saunders
d9d3e8c1fb ImGui example now shows Vulkan API and driver info, ImGui+TextOverlay+ConditionalRender+gltfSceneRendering examples now support macOS retina displays 2022-07-13 12:24:26 -04:00
Stephen Saunders
bb4281ac24 Update VK_KHR_portability_subset + VK_KHR_portability_enumeration implementations for iOS/macOS support with runtime checks 2022-07-09 11:13:27 -04:00
Stephen Saunders
a184bd7007 Set viewUpdated=true for macOS scroll wheel, open vulkanExamples window in front of Xcode, accept mouse click-through on macOS 2022-07-07 09:57:01 -04:00
Stephen Saunders
8bc8d14cf2 macOS retina scaling fixes, M1 Vulkan vsync workaround, CMakeLists OpenMP path fix for Apple 2022-07-07 09:57:01 -04:00
Stephen Saunders
b2f501dc98 Fix queue family transfer operations between graphics <-> compute queues, generalize getQueueFamilyIndex() to support VkQueueFlags vs. VkQueueFlagBits, computecloth deltaT now based on frameTimer 2022-07-07 09:57:01 -04:00
Stephen Saunders
17aaa7305b Revert to original tDiff calculation, make frame-based tDiff calculation specific to iOS/macOS xcode examples project 2022-07-07 09:57:01 -04:00
Stephen Saunders
cb343c329a Fixes for vulkanExample: frame timing now equals diff between frames for Win & macOS portability, support vsync off rendering on macOS, support swapchain image count change on resize, handle macOS fullscreen; Fixes for xcode example: use PanGestureRecognizer on iOS, add macOS cursor tracking, cleanup Vulkan on shutdown 2022-07-07 09:57:01 -04:00
Stephen Saunders
a1e19ea5de Fix iOS/macOS keycode handling regression for textoverlay example, update and use keycodes.hpp defines for iOS/macOS 2022-07-07 09:57:01 -04:00
Stephen Saunders
8080b7a91b Support iOS touch gestures and iOS Simulator target, reduce translate sensitivity, use key chars vs. key codes in Xcode examples project 2022-07-07 09:57:01 -04:00
Stephen Saunders
ae8ad09f6e Fix VK_KHR_portability_subset validation errors on macOS, fix OpenMP build issues on macOS
(cherry picked from commit d2f6713c418ea5bdd2c3fcee922def5854e534d4)
2022-07-07 09:57:01 -04:00
Stephen Saunders
b1f10d7393 Fix CMakeLists.txt for vulkanExamples.xcodeproj build, fix macOS storyboard for resizable window, set animation rate based on display refresh period 2022-07-07 09:57:01 -04:00
Stephen Saunders
57e650b653 Support right & middle mouse dragging, set macOS frameTimer based on vsync refresh period 2022-07-07 09:57:01 -04:00
Stephen Saunders
a74afb20fc Handle keyboard and mouse events, adjust frameTimer scaling for macOS 2022-07-07 09:57:01 -04:00
Stephen Saunders
28d98b9ee7 Revert changes to vulkanexamplebase.h and expose displayLinkOutputCb() to DemoViewController 2022-07-07 09:57:01 -04:00