questzdoom/java/com/drbeef/qzdoom/GLES3JNILib.java
Simon 31386f35b5 Initial commit..
doesn't even build at this stage..
2020-02-22 16:10:48 +00:00

25 lines
763 B
Java

package com.drbeef.qzdoom;
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 );
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 );
}