mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-24 21:11:03 +00:00
72ba9972d8
Rename JKQuest -> JKXR Renaming JKQuest to JKXR Renaming JKQuest to JKXR Renaming JKQuest to JKXR
25 lines
773 B
Java
25 lines
773 B
Java
|
|
package com.drbeef.jkxr;
|
|
|
|
import android.app.Activity;
|
|
import android.view.Surface;
|
|
|
|
import java.nio.ByteBuffer;
|
|
|
|
// 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, Object obj );
|
|
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 );
|
|
}
|