diff options
| author | John Reck <jreck@google.com> | 2016-04-11 20:54:35 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2016-04-11 20:54:36 +0000 |
| commit | 825fa4d5ae7b2907ee1769d09e6333306de2a92e (patch) | |
| tree | 26385820dbc923e739d059f9c47197b88634ae22 /core/java/android/view/ThreadedRenderer.java | |
| parent | cf0cc881ebf2c2f00129dd9e045e23f6bf970d54 (diff) | |
| parent | eab3f2658aa41d37c3b05d49a2ce4e3f4ed85399 (diff) | |
Merge "Revert "Make stopped state a first-class thing"" into nyc-dev
Diffstat (limited to 'core/java/android/view/ThreadedRenderer.java')
| -rw-r--r-- | core/java/android/view/ThreadedRenderer.java | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/core/java/android/view/ThreadedRenderer.java b/core/java/android/view/ThreadedRenderer.java index f44d4c1ac9df..c97247656540 100644 --- a/core/java/android/view/ThreadedRenderer.java +++ b/core/java/android/view/ThreadedRenderer.java @@ -485,25 +485,15 @@ public final class ThreadedRenderer { } /** - * Halts any current rendering into the surface. Use this if it is unclear whether + * Stops any rendering into the surface. Use this if it is unclear whether * or not the surface used by the HardwareRenderer will be changing. It - * Suspends any rendering into the surface, but will not do any destruction. - * - * Any subsequent draws will override the pause, resuming normal operation. + * Suspends any rendering into the surface, but will not do any destruction */ boolean pauseSurface(Surface surface) { return nPauseSurface(mNativeProxy, surface); } /** - * Hard stops or resumes rendering into the surface. This flag is used to - * determine whether or not it is safe to use the given surface *at all* - */ - void setStopped(boolean stopped) { - nSetStopped(mNativeProxy, stopped); - } - - /** * Destroys all hardware rendering resources associated with the specified * view hierarchy. * @@ -998,7 +988,6 @@ public final class ThreadedRenderer { private static native void nInitialize(long nativeProxy, Surface window); private static native void nUpdateSurface(long nativeProxy, Surface window); private static native boolean nPauseSurface(long nativeProxy, Surface window); - private static native void nSetStopped(long nativeProxy, boolean stopped); private static native void nSetup(long nativeProxy, int width, int height, float lightRadius, int ambientShadowAlpha, int spotShadowAlpha); private static native void nSetLightCenter(long nativeProxy, |
