Skip to content

Feature/android#42

Open
daniele-NA wants to merge 3 commits intotsoding:masterfrom
daniele-NA:feature/android
Open

Feature/android#42
daniele-NA wants to merge 3 commits intotsoding:masterfrom
daniele-NA:feature/android

Conversation

@daniele-NA
Copy link

Android integration of Olive.c.

This fork shows how to use Olive.c as a software renderer and draw directly into an Android Bitmap using JNI.

The bitmap memory is treated as the render target:

  • lock pixels
  • pass pointer to Olivec_Canvas
  • render
  • unlock
  • display

No copies, no extra buffers, no return values.

The frame is refreshed about every 10 ms with a changing rotation to demonstrate animation.

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.

1 participant