Updated to Android API Level 23
This commit is contained in:
parent
d47d6a126a
commit
ec800e3496
3 changed files with 9 additions and 14 deletions
|
|
@ -15,7 +15,7 @@ If you're using a different IDE or compiler you can use the provided CMakeLists.
|
|||
|
||||
## <img src="./images/linuxlogo.png" alt="" height="32px"> Linux
|
||||
|
||||
Use the provided the provided CMakeLists.txt for use with [CMake](https://cmake.org) to generate a build configuration for your favorite IDE or compiler.
|
||||
Use the provided CMakeLists.txt with [CMake](https://cmake.org) to generate a build configuration for your favorite IDE or compiler.
|
||||
|
||||
Note that you need [assimp](https://github.com/assimp/assimp) in order to compile the examples for Linux. Either compile and install from the repository, or install libassimp-dev. The examples require at least version 3.2.
|
||||
|
||||
|
|
@ -33,9 +33,6 @@ Note that these only contain the binaries, you still need the repository for the
|
|||
|
||||
Additional documentation for several base classes and some Presentations can be found [in this directory](./documentation/additionaldocs.md).
|
||||
|
||||
### Presentations
|
||||
- [From OpenGL to Vulkan (Khronos Meetup Munich, 2016-04-08)](./documentation/Khronos_meetup_munich_fromGLtoVulkan.pdf)
|
||||
|
||||
# Examples
|
||||
|
||||
## [Triangle](triangle/)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Vulkan examples on Android
|
||||
|
||||
## Vulkan on Android
|
||||
## <img src="./../images/androidlogo.png" alt="" height="32px"> 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.
|
||||
|
||||
|
|
@ -9,15 +9,13 @@ Since Vulkan is not yet part of the Android OS (like OpenGL ES) the library and
|
|||
- 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.
|
||||
- Touch controls are not yet implemented, same for screen rotations
|
||||
|
||||
## Building
|
||||
|
||||
### Requirements
|
||||
- [Android NDK r11b](http://developer.android.com/ndk/downloads/index.html) - Somewhere in your sarch path
|
||||
- [Android NDK r11b](http://developer.android.com/ndk/downloads/index.html) (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
|
||||
|
|
@ -40,7 +38,7 @@ This will build all apks and puts them into the **bin** folder.
|
|||
install-all
|
||||
```
|
||||
|
||||
This will build all apks and deploys them to the currently attached android device.
|
||||
This will build all apks and deploys them to the currently attached android device.
|
||||
|
||||
### Single examples
|
||||
|
||||
|
|
@ -62,7 +60,7 @@ This will build the apk for the triangle example and puts it into the **bin** fo
|
|||
build triangle -deploy
|
||||
```
|
||||
|
||||
This will build the apk for the triangle example and deploys it to the currently attached android device.
|
||||
This will build the apk for the triangle example and deploys it to the currently attached android device.
|
||||
|
||||
## Removing
|
||||
|
||||
|
|
@ -72,5 +70,5 @@ A batch file for removing all installed examples is provided in case you install
|
|||
```
|
||||
uninstall-all
|
||||
```
|
||||
|
||||
|
||||
This will remove any installed Android example from this repository from the attached device.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
call android.bat update project -p . -t android-19
|
||||
call android.bat update project -p . -t android-23
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue