summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-04-15 14:48:17 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-04-15 14:48:19 +0000
commitf7a61483bc2a763145b0f1b6e6809c44cdc97187 (patch)
tree81eb425828851d3d725b93fd64fd342860f8c465 /core/java/android
parent50d9509c34a48cfc4d076195f8c9a23a703dfd8f (diff)
parentc294d128d03bc9a9982b273a82516c04583438cc (diff)
downloadframeworks_base-f7a61483bc2a763145b0f1b6e6809c44cdc97187.zip
frameworks_base-f7a61483bc2a763145b0f1b6e6809c44cdc97187.tar.gz
frameworks_base-f7a61483bc2a763145b0f1b6e6809c44cdc97187.tar.bz2
Merge "A bunch more cleanups"
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/view/ThreadedRenderer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/view/ThreadedRenderer.java b/core/java/android/view/ThreadedRenderer.java
index 87d5d9a..5017a38 100644
--- a/core/java/android/view/ThreadedRenderer.java
+++ b/core/java/android/view/ThreadedRenderer.java
@@ -360,7 +360,7 @@ public class ThreadedRenderer extends HardwareRenderer {
@Override
boolean copyLayerInto(final HardwareLayer layer, final Bitmap bitmap) {
return nCopyLayerInto(mNativeProxy,
- layer.getDeferredLayerUpdater(), bitmap.getSkBitmap());
+ layer.getDeferredLayerUpdater(), bitmap);
}
@Override
@@ -531,7 +531,7 @@ public class ThreadedRenderer extends HardwareRenderer {
private static native long nCreateTextureLayer(long nativeProxy);
private static native void nBuildLayer(long nativeProxy, long node);
- private static native boolean nCopyLayerInto(long nativeProxy, long layer, long bitmap);
+ private static native boolean nCopyLayerInto(long nativeProxy, long layer, Bitmap bitmap);
private static native void nPushLayerUpdate(long nativeProxy, long layer);
private static native void nCancelLayerUpdate(long nativeProxy, long layer);
private static native void nDetachSurfaceTexture(long nativeProxy, long layer);