Revert "Cleanup Bitmap JNI"
This reverts commit b2915245b7
.
Change-Id: Idd7d7f33eec4ea5024c83de6b10d3d1a6ab2b17a
This commit is contained in:
@ -29,6 +29,14 @@ import javax.microedition.khronos.egl.EGL11;
|
||||
|
||||
public final class GLUtils {
|
||||
|
||||
/*
|
||||
* We use a class initializer to allow the native code to cache some
|
||||
* field offsets.
|
||||
*/
|
||||
static {
|
||||
nativeClassInit();
|
||||
}
|
||||
|
||||
private GLUtils() {
|
||||
}
|
||||
|
||||
@ -267,6 +275,8 @@ public final class GLUtils {
|
||||
*/
|
||||
native public static void setTracingLevel(int level);
|
||||
|
||||
native private static void nativeClassInit();
|
||||
|
||||
native private static int native_getInternalFormat(Bitmap bitmap);
|
||||
native private static int native_getType(Bitmap bitmap);
|
||||
native private static int native_texImage2D(int target, int level, int internalformat,
|
||||
|
Reference in New Issue
Block a user