procedural-3d-engine/android
2017-03-18 16:30:07 +01:00
..
bloom Android build files [skip ci] 2017-03-15 21:21:25 +01:00
computecullandlod Android build files 2017-03-12 13:40:50 +01:00
computenbody Android build files 2017-03-12 13:40:50 +01:00
computeparticles Android build files 2017-03-12 13:40:50 +01:00
computeshader Android build files 2017-03-12 13:40:50 +01:00
debugmarker Android build files [skip ci] 2017-03-15 21:21:25 +01:00
deferred Added ETC2 and ASTC texture variants (Refs #174) 2017-03-11 11:25:41 +01:00
deferredmultisampling Android build files for deferred multisampling 2017-03-11 12:13:42 +01:00
deferredshadows Added ETC2 and ASTC texture variants (Refs #174) 2017-03-11 11:39:05 +01:00
displacement Added ETC2 and ASTC texture variants (Refs #174), check device features 2017-03-17 18:21:15 +01:00
distancefieldfonts Android build files [skip ci] 2017-03-15 21:21:25 +01:00
dynamicuniformbuffer Updated android build files 2017-03-12 11:49:55 +01:00
gears Updated android build files 2017-03-12 11:49:55 +01:00
geometryshader Android build files [skip ci] 2017-03-15 21:21:25 +01:00
hdr Fallback to non-compressed format (Refs #174) 2017-03-17 20:36:23 +01:00
images
indirectdraw Added ETC2 and ASTC texture variants (Refs #174) 2017-03-12 12:07:56 +01:00
instancing Added ETC2 and ASTC texture variants (Refs #174) 2017-03-12 12:30:17 +01:00
mesh Added ETC2 and ASTC texture variants (Refs #174), only enable wireframe if non solid fillmode is supported by the device 2017-03-08 21:31:29 +01:00
multisampling Added ETC2 and ASTC texture variants (Refs #174) 2017-03-12 12:44:37 +01:00
multithreading Android build files 2017-03-12 12:50:19 +01:00
occlusionquery Android build files [skip ci] 2017-03-18 16:16:56 +01:00
offscreen Android build files and manifests [skip ci] 2017-03-14 20:50:37 +01:00
parallaxmapping Added ETC2 and ASTC texture variants (Refs #174) 2017-03-17 18:38:25 +01:00
particlefire Android build file [skip ci] 2017-03-18 16:30:07 +01:00
pbrbasic Android build files and manifests [skip ci] 2017-03-14 20:50:37 +01:00
pbribl Android build files [skip ci] 2017-03-18 16:16:56 +01:00
pipelines Check device features (only build non solid pipelines if feature available), use phyton script for Android build 2017-03-09 20:36:51 +01:00
pushconstants Android build files [skip ci] 2017-03-17 20:00:03 +01:00
radialblur Android build files [skip ci] 2017-03-15 21:21:25 +01:00
raytracing Android build files and manifests [skip ci] 2017-03-14 20:50:37 +01:00
scenerendering Fixed Android build file 2017-03-15 20:39:06 +01:00
shadowmapping Android build files [skip ci] 2017-03-15 21:21:25 +01:00
shadowmappingomni Android build files [skip ci] 2017-03-15 21:21:25 +01:00
skeletalanimation Added ETC2 and ASTC texture variants (Refs #174) 2017-03-17 20:18:53 +01:00
specializationconstants Android build files [skip ci] 2017-03-15 21:21:25 +01:00
sphericalenvmapping Android build files [skip ci] 2017-03-15 21:21:25 +01:00
ssao Android build files [skip ci] 2017-03-15 21:21:25 +01:00
subpasses Added ETC2 and ASTC texture variants (Refs #174) 2017-03-18 10:25:16 +01:00
terraintessellation 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
tessellation Added ETC2 and ASTC texture variants (Refs #174) 2017-03-17 21:43:41 +01:00
textoverlay Android build files [skip ci] 2017-03-17 20:00:03 +01:00
texture Updated Android manifest [skip ci] 2017-03-10 14:08:54 +01:00
texture3d Updated Android manifest and build files [skip ci] 2017-03-10 14:05:14 +01:00
texturearray Added ETC2 and ASTC texture variants (Refs #174) 2017-03-10 15:20:08 +01:00
texturecubemap Android build files 2017-03-15 20:09:26 +01:00
texturemipmapgen Android build files 2017-03-15 20:09:26 +01:00
triangle Updated android build files 2017-03-12 10:52:09 +01:00
vulkanscene Android build files 2017-03-15 20:09:26 +01:00
build-all.py Replaced windows batch files with (extended) python scripts (Refs #297) [skip ci] 2017-03-18 16:19:52 +01:00
build.py Replaced windows batch files with (extended) python scripts (Refs #297) [skip ci] 2017-03-18 16:19:52 +01:00
cleanup.bat Replaced windows batch files with (extended) python scripts (Refs #297) [skip ci] 2017-03-18 16:19:52 +01:00
install-all.py Replaced windows batch files with (extended) python scripts (Refs #297) [skip ci] 2017-03-18 16:19:52 +01:00
README.md Updated to Android API Level 23 2016-07-19 22:06:19 +02:00
uninstall-all.bat Android build files for deferred multisampling 2017-03-11 12:13:42 +01:00

Vulkan examples on Android

Vulkan on Android

Since Vulkan is not yet part of the Android OS (like OpenGL ES) the library and function pointers need to be dynamically loaded before using any of the Vulkan functions. See the vulkanandroid.h and vulkanandroid.cpp files in the base folder of the repositoy root for how this is done.

Device support

  • To run these examples you need a device with an Android image that suports Vulkan
  • Builds currently only support arm-v7, x86 may follow at a later point
  • Android TV leanback launcher is supported, so the examples will show up on the launcher
  • Basic gamepad support is available too (zoom and rotate)
  • Touch controls are not yet implemented, same for screen rotations

Building

Requirements

  • Android NDK r11b (or newer) - Somewhere in your search path
  • Examples are built against API level 23 (requires the SDK Platform installed)
  • Batch files for building are provided for windows only, with linux to be added at some point

Building the Examples

Complete set

Please note that building (and deploying) all examples may take a while

Build only

build-all

This will build all apks and puts them into the bin folder.

Build and deploy

install-all

This will build all apks and deploys them to the currently attached android device.

Single examples

These are for building and/or deploying a single example.

Build only

Call build(.bat) with the name of the example to build, e.g. :

build triangle

This will build the apk for the triangle example and puts it into the bin folder.

Build and deploy

build triangle -deploy

This will build the apk for the triangle example and deploys it to the currently attached android device.

Removing

A batch file for removing all installed examples is provided in case you installed all of them and don't want to remove them by hand (which is especially tedious on Android TV).

uninstall-all

This will remove any installed Android example from this repository from the attached device.