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
|
## <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.
|
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).
|
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
|
# Examples
|
||||||
|
|
||||||
## [Triangle](triangle/)
|
## [Triangle](triangle/)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Vulkan examples on Android
|
# 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.
|
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
|
- 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
|
- Android TV leanback launcher is supported, so the examples will show up on the launcher
|
||||||
- Basic gamepad support is available too (zoom and rotate)
|
- Basic gamepad support is available too (zoom and rotate)
|
||||||
|
- Touch controls are not yet implemented, same for screen rotations
|
||||||
## 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
|
## Building
|
||||||
|
|
||||||
### Requirements
|
### 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
|
- Batch files for building are provided for windows only, with linux to be added at some point
|
||||||
|
|
||||||
### Building the Examples
|
### Building the Examples
|
||||||
|
|
|
||||||
|
|
@ -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