Draw screen from NDK

Put problems with the Android NDK in this forum.

Draw screen from NDK

Postby Kcm » Tue Feb 08, 2011 10:50 am

Hi,
In a test project I have a native library generates bitmaps that
should be blitted to the screen.
Currently I do this by passing the buffer as an integer array from the
native code to Java which will blit it through Canvas.drawBitmap().
The integer array is accessed through GetPrimitiveArrayCritical().
I assume this is not the fastest way to draw screens from a native
library.

Any suggestions on how to improve this?

Is it possible with OpenGL ?

Thanks in advance
Kcm
Junior Developer
Junior Developer
 
Posts: 11
Joined: Fri Oct 15, 2010 9:43 am

Top

Return to NDK Problems

Who is online

Users browsing this forum: No registered users and 2 guests