Commit graph

1364 commits

Author SHA1 Message Date
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
saschawillems
f6af0bde03 Replaced text overlay with proper (imgui based) UI overlay class 2017-10-29 11:41:43 +01:00
saschawillems
5107cf3ed0 Simplified dynamic alignment calculation
Fixes #381
2017-10-27 22:03:21 +02:00
Ciro Santilli
848310ffdb Allow Linux users to build Android even if Python 2 is their default Python
After this commit, users who have the `python` executable as Python 2 can do simply:

    cd android/
    ./build-all.py
    ./build.py

Previously, the following would fail:

    python3 build-all.py

since build-all.py did subcalls to `python build.py`.

Remove install-all.py as it is redundant with `build-all.py -deploy`,
instead of fixing it as well.

Introduce argparse since we are separating argument parsing out of
the `main()` function.

Tested in Ubuntu 16.04, behaviour should be unchanged for Windows.
2017-10-26 17:09:59 +01:00
saschawillems
19245a0f51 Moved swapchain creation into prepare function 2017-10-21 16:51:39 +02:00
saschawillems
ef067b0cf7 Buffer sizes
refs #386
2017-10-21 16:05:27 +02:00
saschawillems
f289863a1b Moved vertex input state setup into pipeline creation 2017-10-21 16:04:09 +02:00
saschawillems
cee95e30c5 Enable required features, fix shader validation message 2017-10-21 15:58:10 +02:00
Sascha Willems
542be437da Merge pull request #377 from Brotcrunsher/master
Added "Image View creation" readme section in texturemipmapgen
2017-10-09 20:08:04 +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
Sascha Willems
c1de34c171 Merge pull request #382 from laanwj/2017_10_blitsrc
base: Check for swapchain blit source feature instead of destination
2017-10-09 19:53:06 +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
e585f3b346 Use new mouse moved event to handle imGui window mouse capture 2017-10-05 21:22:29 +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
saschawillems
e7b371eef3 Index buffer size for copy command command 2017-09-23 14:13:28 +02:00
saschawillems
9af56b0ae0 Naming, formatting 2017-09-22 18:59:51 +02:00
Sascha Willems
b5ae8771aa Merge pull request #378 from chuggafan/master
Adds specialization constant to computeheadless
2017-09-22 18:56:09 +02:00
chuggafan
20668189f1 Adds specialization constant to computeheadless 2017-09-21 17:30:57 -04:00
saschawillems
685d2849da Fixed debug define 2017-09-20 21:03:13 +02:00
saschawillems
f504d7cb0c Added headless rendering example to CMakeLists 2017-09-20 20:52:19 +02:00
saschawillems
3567352fb8 Corrected source access mask for buffer barrier 2017-09-19 20:39:59 +02:00
saschawillems
ed9bfbc2e6 Updated Vulkan headers to 1.0.61 2017-09-19 19:43:32 +02:00
saschawillems
f3432cacf3 Added headless rendering example
Refs #331
2017-09-16 14:19:02 +02:00
saschawillems
6ea5c2031b Android build files for headless rendering example
Refs #331
2017-09-16 14:18:30 +02:00
Jakob Schaal
2404308fd3 Added "Image View creation" readme section in texturemipmapgen 2017-09-16 03:30:24 +02:00
saschawillems
bc8b53ce7b Android fixes and build files for headless compute example 2017-09-15 20:44:32 +02:00
saschawillems
3862b4bcc2 Proper barriers for buffer writes and reads between host and device (non-coherent) 2017-09-15 20:43:40 +02:00
saschawillems
66a87bbf21 Flush/invalidate host and device memory writes 2017-09-15 20:41:43 +02:00
Sascha Willems
282eccd54c Merge pull request #375 from aleksysokolowski-intel/master
pSparseMemoryRequirementCount variable initialization
2017-09-15 14:03:12 +02:00
saschawillems
1e4944a9e1 Added minimal headless compute example 2017-09-14 22:17:48 +02:00
asokolow
70f3ec87d4 pSparseMemoryRequirementCount variable initialization 2017-09-12 08:42:26 +02:00