Skip to content

Add Android Studio project for OpenGL renderer integration#79

Merged
mrpollo merged 1 commit intomainfrom
claude/merge-diego-pr-main-DLxEy
Apr 15, 2026
Merged

Add Android Studio project for OpenGL renderer integration#79
mrpollo merged 1 commit intomainfrom
claude/merge-diego-pr-main-DLxEy

Conversation

@mrpollo
Copy link
Copy Markdown
Contributor

@mrpollo mrpollo commented Apr 15, 2026

Brings the Android Studio project work from #78 into main. The original PR by @diegurrio was merged into feature/android_integration instead of main, so this re-targets the same change against main.

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.so
  • android/app/src/main/cpp/android_main.c: entry point — static quadrotor scene with grid ground plane and lighting shader
  • android/app/src/main/assets/shaders/: OpenGL ES 3.0 shader variants (#version 300 es) of the desktop grid and lighting shaders
  • android/app/src/main/assets/{models,fonts,themes}: relative symlinks to repo-root asset directories (portable across clones)
  • ANativeActivity_onCreate exported via -Wl,-u linker flag

Original PR: #78
Author: @diegurrio

@mrpollo mrpollo force-pushed the claude/merge-diego-pr-main-DLxEy branch from 3519d9f to bfe8d79 Compare April 15, 2026 05:43
@mrpollo mrpollo merged commit 6a67735 into main Apr 15, 2026
7 checks passed
@diegurrio
Copy link
Copy Markdown
Collaborator

🔥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants