summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/ThreadedRenderer.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2014-05-07 13:45:54 -0700
committerJohn Reck <jreck@google.com>2014-05-07 13:45:54 -0700
commit63a06673253914510bbeebd500655008682dade1 (patch)
tree0a1c5d17edc4f5be610d4e252f24e7bc18c1bd53 /core/java/android/view/ThreadedRenderer.java
parentebb9e69513b690881a5bad7bf45c6f32e0fc7062 (diff)
downloadframeworks_base-63a06673253914510bbeebd500655008682dade1.zip
frameworks_base-63a06673253914510bbeebd500655008682dade1.tar.gz
frameworks_base-63a06673253914510bbeebd500655008682dade1.tar.bz2
Implement TODO(romainguy)
Bug: 14277445 Change-Id: Id52d6f7fcc023000adcc440bd4da67d9a673536b
Diffstat (limited to 'core/java/android/view/ThreadedRenderer.java')
-rw-r--r--core/java/android/view/ThreadedRenderer.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/view/ThreadedRenderer.java b/core/java/android/view/ThreadedRenderer.java
index 0bf99d3..2ba1b8d 100644
--- a/core/java/android/view/ThreadedRenderer.java
+++ b/core/java/android/view/ThreadedRenderer.java
@@ -148,6 +148,11 @@ public class ThreadedRenderer extends HardwareRenderer {
}
@Override
+ void setOpaque(boolean opaque) {
+ nSetOpaque(mNativeProxy, opaque);
+ }
+
+ @Override
int getWidth() {
return mWidth;
}
@@ -312,6 +317,7 @@ public class ThreadedRenderer extends HardwareRenderer {
private static native void nUpdateSurface(long nativeProxy, Surface window);
private static native void nPauseSurface(long nativeProxy, Surface window);
private static native void nSetup(long nativeProxy, int width, int height);
+ private static native void nSetOpaque(long nativeProxy, boolean opaque);
private static native void nSetDisplayListData(long nativeProxy, long displayList,
long newData);
private static native int nSyncAndDrawFrame(long nativeProxy, long frameTimeNanos,