mirror of
https://github.com/astromaddie/lambda1-vr.git
synced 2026-10-21 12:00:14 +02:00
First Commit
Probably a load of stuff I don't want in there
This commit is contained in:
1 parent
49864d4cc3
commit
7f1fb7a27e
1203 files changed
+477531
-11
No files matched your search
@@ -0,0 +1,23 @@
|
||||
|
||||
package com.drbeef.lambda1vr;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.view.Surface;
|
||||
|
||||
// Wrapper for native library
|
||||
|
||||
public class GLES3JNILib
|
||||
{
|
||||
// Activity lifecycle
|
||||
public static native long onCreate( Activity obj, String commandLineParams );
|
||||
public static native void onStart( long handle );
|
||||
public static native void onResume( long handle );
|
||||
public static native void onPause( long handle );
|
||||
public static native void onStop( long handle );
|
||||
public static native void onDestroy( long handle );
|
||||
|
||||
// Surface lifecycle
|
||||
public static native void onSurfaceCreated( long handle, Surface s );
|
||||
public static native void onSurfaceChanged( long handle, Surface s );
|
||||
public static native void onSurfaceDestroyed( long handle );
|
||||
}
|
||||
Reference in new issue
Block a user