summaryrefslogtreecommitdiffstats
path: root/opengl
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-03-04 08:36:12 -0800
committerJohn Reck <jreck@google.com>2015-03-05 09:55:02 -0800
commitb2915245b74b3b5541b123e38403f8e26426b4b7 (patch)
tree295bee60e89bba1ae2221bf40833a80e6d2c41ef /opengl
parentf855b0d2d0c0c157d657668fcb98097e2aca097e (diff)
downloadframeworks_base-b2915245b74b3b5541b123e38403f8e26426b4b7.zip
frameworks_base-b2915245b74b3b5541b123e38403f8e26426b4b7.tar.gz
frameworks_base-b2915245b74b3b5541b123e38403f8e26426b4b7.tar.bz2
Cleanup Bitmap JNI
Fix a bunch of places where mNativeBitmap was being poked at directly, switch them either to the NDK API or to GraphicsJNI where it made sense Change-Id: I6b3df3712d6497cba828c2d3012e725cb4ebb64d
Diffstat (limited to 'opengl')
-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,