Re: LuaJIT for Android

  • From: Tim Caswell <tim@xxxxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 20 Aug 2012 11:29:12 -0500

I have my luvit library running on android as an cli program.  I'm
trying now to bring up a window with a gles 2.0 context using ffi.
Has anyone done this before?  I'm just looking for the smallest C
program to create a window and gl context that I can convert to luajit
ffi calls.

On Mon, Aug 20, 2012 at 2:35 AM, steve donovan
<steve.j.donovan@xxxxxxxxx> wrote:
> On Mon, Aug 20, 2012 at 1:59 AM, Fjölnir Ásgeirsson
> <fjolnir@xxxxxxxxxxxxx> wrote:
>> So yes, for a game you should definitely be using opensl/gl directly through 
>> NDK.
>> Its a lot faster than going through luajava/jni for everything.
> In fact, probably would be a good deal faster than doing it in Java...
> You can have the best of both worlds, in principle.  Use the JNI
> interface just for the high-level stuff which is not so time-critical.
> steve d.

Other related posts: