MCPcopy Create free account
hub / github.com/android/ndk-samples / GL2JNILib

Class GL2JNILib

hello-gl2/app/src/main/java/com/android/gl2jni/GL2JNILib.java:21–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19// Wrapper for native library
20
21public class GL2JNILib {
22
23 static {
24 System.loadLibrary("gl2jni");
25 }
26
27 /**
28 * @param width the current view width
29 * @param height the current view height
30 */
31 public static native void init(int width, int height);
32 public static native void step();
33}

Callers

nothing calls this directly

Calls 1

loadLibraryMethod · 0.45

Tested by

no test coverage detected