Commit graph

247 commits

Author SHA1 Message Date
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
saschawillems
6218942a19 Wildcard copy for additional assets (android build script) 2017-06-17 11:29:30 +02:00
saschawillems
83d4887b93 Wildcard copy for additional assets (android build script) 2017-06-17 10:28:29 +02:00
saschawillems
7ef4e1eb06 Removed old python build scripts, replaced with json example definition files 2017-06-16 21:21:55 +02:00
saschawillems
b5a733b502 Removed old python build scripts, replaced with json example definition files 2017-06-15 11:40:05 +02:00
saschawillems
9065df9a7a Reworked single android python build script with validation layer support to be used for all example builds
refs  #297, refs #303
2017-06-15 10:39:59 +02:00
saschawillems
4bbfd06c83 RGBA texture, check for anisotropic support, small optimizations 2017-05-17 21:28:05 +02:00
saschawillems
7060f15859 Android build files for textured PBR IBL example 2017-04-23 21:22:04 +02:00
saschawillems
566da6083b Finished PBR IBL example 2017-04-22 12:05:30 +02:00
saschawillems
89dcddbdca Use cube map (from asset pack) in hdr example 2017-04-22 10:22:01 +02:00
saschawillems
ac0a4989bd Ignore pre-build android validation layers [skip ci] 2017-04-07 20:08:03 +02:00
saschawillems
c849d18db3 Added imgui example Android build 2017-03-31 09:52:26 +02:00
saschawillems
1fc0d17b63 Skip first argument [skip ci] 2017-03-23 20:39:05 +01:00
saschawillems
97b22d3cec Skip first argument [skip ci] 2017-03-23 20:37:43 +01:00
saschawillems
e9da7a370f Pass all arguments to example android build file [skip ci] 2017-03-23 19:31:11 +01:00
saschawillems
daf0a3d312 Android uninstall all script [skip ci] 2017-03-19 10:03:32 +01:00
saschawillems
0192b404d9 Android build file [skip ci] 2017-03-18 16:30:07 +01:00
saschawillems
d02e470355 Replaced windows batch files with (extended) python scripts (Refs #297) [skip ci] 2017-03-18 16:19:52 +01:00
saschawillems
b47f250e6c Android build files [skip ci] 2017-03-18 16:16:56 +01:00
saschawillems
04e2e96e61 Added ETC2 and ASTC texture variants (Refs #174) 2017-03-18 10:25:16 +01:00
saschawillems
16841bb5eb Added ETC2 and ASTC texture variants (Refs #174) 2017-03-17 21:43:41 +01:00
saschawillems
0389db86da Added ETC2 and ASTC texture variants (Refs #174) 2017-03-17 21:34:32 +01:00
saschawillems
4e1e509e8f Added ETC2 and ASTC texture variants (Refs #174), only use pipeline stats and wireframe if supported by device 2017-03-17 20:58:43 +01:00
saschawillems
bdd3678859 Fallback to non-compressed format (Refs #174) 2017-03-17 20:36:23 +01:00
saschawillems
33ead48da0 Added ETC2 and ASTC texture variants (Refs #174) 2017-03-17 20:18:53 +01:00
saschawillems
7b2dceebab Android build files [skip ci] 2017-03-17 20:00:03 +01:00
saschawillems
dd700bd931 Added ETC2 and ASTC texture variants (Refs #174) 2017-03-17 18:38:25 +01:00
saschawillems
622a503f90 Added ETC2 and ASTC texture variants (Refs #174), check device features 2017-03-17 18:21:15 +01:00
saschawillems
f1bf03a440 Android build files [skip ci] 2017-03-15 21:21:25 +01:00
saschawillems
6b3f194b9d Fixed Android build file 2017-03-15 20:39:06 +01:00
saschawillems
dd559fdb2f Android build files 2017-03-15 20:09:26 +01:00
saschawillems
8048cd69fd Android build files and manifests [skip ci] 2017-03-14 20:50:37 +01:00
saschawillems
e0822966a3 Android build files 2017-03-12 13:40:50 +01:00
saschawillems
666f796805 Android build files 2017-03-12 12:50:19 +01:00
saschawillems
3ea8f75730 Added ETC2 and ASTC texture variants (Refs #174) 2017-03-12 12:44:37 +01:00
saschawillems
0b6fb9b64d Added ETC2 and ASTC texture variants (Refs #174) 2017-03-12 12:30:17 +01:00
saschawillems
40753f9dbb Added ETC2 and ASTC texture variants (Refs #174) 2017-03-12 12:07:56 +01:00