Add Android Studio project for OpenGL renderer integration#79
Merged
Conversation
platform: Android support
3519d9f to
bfe8d79
Compare
Collaborator
|
🔥 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the Android Studio project work from #78 into
main. The original PR by @diegurrio was merged intofeature/android_integrationinstead ofmain, so this re-targets the same change againstmain.Cherry-picks commit
8001740(squash-merge of #78) onto main — no code changes, same diff as the original PR.Original PR summary (#78)
Integrates Hawkeye's C/Raylib renderer into an Android NativeActivity app. Uses Raylib 5.5's Android backend (OpenGL ES 3.0) with the rendering subset of the Hawkeye engine (scene, vehicle, theme) — no MAVLink/ULog dependencies.
android/: Android Studio project (Gradle + NDK + CMake)android/app/src/main/cpp/CMakeLists.txt: fetches Raylib 5.5, compiles scene.c/vehicle.c/theme.c/asset_path.c/ortho_panel.c as libhawkeye.soandroid/app/src/main/cpp/android_main.c: entry point — static quadrotor scene with grid ground plane and lighting shaderandroid/app/src/main/assets/shaders/: OpenGL ES 3.0 shader variants (#version 300 es) of the desktop grid and lighting shadersandroid/app/src/main/assets/{models,fonts,themes}: relative symlinks to repo-root asset directories (portable across clones)ANativeActivity_onCreateexported via-Wl,-ulinker flagOriginal PR: #78
Author: @diegurrio