Commit graph

183 commits

Author SHA1 Message Date
saschawillems
1de1b9e568 Multiple frame buffer attachments (one per swapchain image) 2018-07-19 15:07:41 +02:00
saschawillems
0fb88d5467 Different scene, toon shading and separate parameters for color input attachment 2018-07-19 11:01:15 +02:00
saschawillems
bdb9af7ef7 Android build files for input attachments example 2018-07-17 20:38:20 +02:00
Sascha Willems
d52f5991ed
Merge pull request #483 from sjfricke/missing-assets
fixed android asset gradles
2018-05-12 08:34:56 +02:00
sjfricke
80536b5328 fixed android asset gradles
A few android examples were not loading the models needed
2018-05-11 17:41:15 -05:00
Spencer
198351d323
Fixed Android Shadowmapping crash cmake
follow up from #478
2018-05-11 08:03:09 -05:00
saschawillems
ab6fc5e842 Android build instructions 2018-05-10 20:04:30 +02:00
saschawillems
4c01d0ac99 Removed outdated android debug layer information (needs to be reworked for gradle) 2018-05-10 18:48:15 +02:00
saschawillems
b7a1aee5df Updated android readme (using Android Studio) 2018-05-10 18:42:03 +02:00
saschawillems
f23b1892bc Moved to android gradle build system
Fixes #309
Fixes #384
2018-05-10 17:31:30 +02:00
saschawillems
b4fccbd3d2 Added ImGui example android gradle build files
Fixes #457
2018-05-10 17:26:03 +02:00
saschawillems
fad4f25676 Updated triangle build files 2018-05-10 17:22:01 +02:00
saschawillems
46795c4b6b Include example repository vulkan headers
NDK headers lag behind and miss certain functions
2018-05-10 13:17:11 +02:00
saschawillems
cc8ea13f8d Replace deprecated holo dark theme with material theme 2018-05-09 23:28:58 +02:00
saschawillems
df2b619a75 Move output apk to bin directory 2018-05-08 07:11:32 +02:00
saschawillems
8924ce733e android example template, base as shared library 2018-05-08 07:10:30 +02:00
saschawillems
f8fc3e8b8e Updated android example template 2018-05-05 11:51:28 +02:00
saschawillems
c515cf3558 Added android example template 2018-05-04 21:17:54 +02:00
saschawillems
20367d512a Single gradle asset copy task 2018-05-01 14:01:02 +02:00
saschawillems
5fe9f91529 Code cleanup, return and exit conditions for Android 2018-05-01 11:23:36 +02:00
saschawillems
5056563f5d Android alert display functionality using JNI 2018-04-30 22:24:45 +02:00
saschawillems
3cde83945e Android gradle build files (triangle) 2018-04-29 12:28:43 +02:00
saschawillems
13a4f611e4 Removed old android build files 2018-04-29 11:54:08 +02:00
Spencer
833086e7d2
Fixed Android Texturecube shader directory
The app was crashing because it was failing to grab the `shaders/texturecubemap/skybox.vert.spv` asset because it was never getting included in the build
2018-04-13 21:38:43 -05:00
saschawillems
9128de98b4 Added android build files for descriptor set examples 2018-04-08 13:54:16 +02:00
saschawillems
3c230c7ff5 Simplified text overlay example, code cleanup, better text blending 2018-03-24 11:35:02 +01:00
saschawillems
0c2720efc3 Code cleanup, comments, different texture and default shader
Fixes #438
2018-03-23 22:04:14 +01:00
saschawillems
7d51cdf85b Parallax mapping sample shader folder name [skip ci] 2018-03-08 16:49:02 +01:00
saschawillems
e1c6c3f1e8 Removed unused skybox buffers and assets
Fixes #409
2018-01-01 14:01:57 +01:00
saschawillems
cf77c8003c Added pipeline statistics example to android build scripts 2017-12-26 10:16:02 +01:00
saschawillems
1b1bb4cbd2 Code cleanup, comments, android assets 2017-12-23 13:32:09 +01:00
saschawillems
34942b08c5 Added cascaded shadow mapping example android build files 2017-12-14 22:27:10 +01:00
saschawillems
dfd0a293ad Added viewport array sample android build files 2017-12-01 22:21:30 +01:00
saschawillems
7ffa7f413b Added missing heightmap asset 2017-12-01 22:09:44 +01:00
saschawillems
94a076e1ae Moved example source files into sub folder 2017-11-12 19:32:09 +01:00
saschawillems
a17e3924b3 Added pipeline statistics query example 2017-11-12 14:19:01 +01:00
saschawillems
d88fbcba0b Added missing samples to build scripts 2017-11-04 16:37:52 +01:00
saschawillems
6a01bb16a0 Dynamically generate android build files from build script 2017-11-04 11:00:38 +01:00
saschawillems
a459be2645 Added android build file templates 2017-11-04 11:00:17 +01:00
saschawillems
8df4295681 Removed per-sample android build files 2017-11-04 10:59:56 +01: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
6ea5c2031b Android build files for headless rendering example
Refs #331
2017-09-16 14:18:30 +02:00
saschawillems
bc8b53ce7b Android fixes and build files for headless compute example 2017-09-15 20:44:32 +02:00
sjfricke
026dd8884a Added check for python 3.x for android build.py 2017-08-20 20:32:40 -07:00
sjfricke
ae4970a8d8 added verification of submodules for android
the current steps for android build didn't have new notion of needing to clone the submodules
2017-08-20 20:03:46 -07:00
saschawillems
e05de0b93a Added stencil buffer outlining example 2017-08-16 21:02:08 +02:00
saschawillems
be70aff2ae Added compute cloth example Android build files 2017-08-07 22:02:56 +02:00
Piasy
7e2787413b Fix Android install script issue:
1. FileNotFoundError:

``` bash
Traceback (most recent call last):
  File "install-all.py", line 11, in <module>
    if subprocess.call("python build-all.py -deploy %s" % BUILD_ARGUMENTS) != 0:
  File "/Users/piasy/anaconda3/lib/python3.6/subprocess.py", line 267, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/Users/piasy/anaconda3/lib/python3.6/subprocess.py", line 707, in __init__
    restore_signals, start_new_session)
  File "/Users/piasy/anaconda3/lib/python3.6/subprocess.py", line 1326, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'python build-all.py -deploy '
```

2. KeyError:

``` bash
Traceback (most recent call last):
  File "build.py", line 46, in <module>
    if "additional" in EXAMPLE_JSON["assets"]:
KeyError: 'assets'
```
2017-06-26 14:04:31 +08:00
saschawillems
f447047913 Update notes on android builds, added info about validation layer builds
(Refs #303)
2017-06-17 11:32:20 +02:00
saschawillems
e0d2fd5ff4 Removed old python build scripts, replaced with json example definition files 2017-06-17 11:31:28 +02:00