procedural-3d-engine/android
2016-05-15 12:13:38 +02:00
..
bloom New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
computeparticles New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
computeshader New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
deferred New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
displacement New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
distancefieldfonts New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
gears New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
geometryshader New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
images Removed old android images, small change to build.bat (#97) 2016-03-25 21:14:00 +01:00
instancing New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
mesh New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
multisampling New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
multithreading New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
occlusionquery New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
offscreen New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
parallaxmapping New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
particlefire New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
pipelines New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
pushconstants New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
radialblur New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
raytracing New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
shadowmapping New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
shadowmappingomni New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
skeletalanimation New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
sphericalenvmapping New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
tessellation New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
textoverlay New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
texture New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
texturearray New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
texturecubemap New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
triangle New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
vulkanscene New Android NDK treats linker warnings as errors and fails on all projects using ASSIMP. Set LOCAL_DISABLE_FATAL_LINKER_WARNINGS to disable this behaviour. 2016-05-15 12:13:38 +02:00
_build.bat Added multi threading example to cmake and android build 2016-04-02 12:08:19 +02:00
_setup.bat Removed deprecated separate triangle and texture demos, replaced with android build files (wip) (#97) 2016-03-21 23:33:33 +01:00
build-all.bat Added text overlay example to cmake and android build 2016-05-07 15:59:08 +02:00
build.bat Added android support for gears, geometryshader, instancing and occlusion query examples (#97) 2016-03-25 19:43:01 +01:00
install-all.bat Streamlined Android build process and install/uninstall batch files (#97) 2016-03-26 11:49:37 +01:00
README.md Streamlined Android build process and install/uninstall batch files (#97) 2016-03-26 11:49:37 +01:00
uninstall-all.bat Added text overlay example to cmake and android build 2016-05-07 15:59:08 +02: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)

Imporant note

The Android part of the Vulkan example base is not yet finished, and while the examples run fine they might encounter some problems as most of the resources are not yet correctly released when closing the app.

Building

Requirements

  • Android NDK r11b - Somewhere in your sarch path
  • 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.