summaryrefslogtreecommitdiffstats
path: root/opengl/java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-03-05 13:50:31 -0800
committerJohn Reck <jreck@google.com>2015-03-05 13:56:16 -0800
commitf4faeac3525fe1ce3707ab785a1651aec367589d (patch)
treeb49502dc2381517f3314d16fae1eef7414314a8f /opengl/java
parentcd4ed96d10d49cb182e66aa1735f2de7596707ee (diff)
downloadframeworks_base-f4faeac3525fe1ce3707ab785a1651aec367589d.zip
frameworks_base-f4faeac3525fe1ce3707ab785a1651aec367589d.tar.gz
frameworks_base-f4faeac3525fe1ce3707ab785a1651aec367589d.tar.bz2
Cleanup Bitmap JNI attempt #2
Original version missed a spot This reverts commit c02977e3bbfaaedcb1b1d67e1692becc7dddd59b. Change-Id: I56244ce10d709fcdef42a001fe4c6ba7b6bbb04d
Diffstat (limited to 'opengl/java')
-rw-r--r--opengl/java/android/opengl/GLUtils.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/opengl/java/android/opengl/GLUtils.java b/opengl/java/android/opengl/GLUtils.java
index a9d33dd..4d890c9 100644
--- a/opengl/java/android/opengl/GLUtils.java
+++ b/opengl/java/android/opengl/GLUtils.java
@@ -29,14 +29,6 @@ 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() {
}
@@ -275,8 +267,6 @@ 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,