diff options
author | Tina Zhang <tina.zhang@intel.com> | 2014-05-13 16:30:54 +0800 |
---|---|---|
committer | Tina Zhang <tina.zhang@intel.com> | 2014-05-15 08:41:24 +0800 |
commit | cf85d6ee0f533b78925330d464bf98856f76bb8a (patch) | |
tree | 89f2eb427b77d7804a2209303f7587293952eb45 /core | |
parent | b7d7cbc9c3a9315a5c5ecd85e16f5916c4bc3f3a (diff) | |
download | frameworks_base-cf85d6ee0f533b78925330d464bf98856f76bb8a.zip frameworks_base-cf85d6ee0f533b78925330d464bf98856f76bb8a.tar.gz frameworks_base-cf85d6ee0f533b78925330d464bf98856f76bb8a.tar.bz2 |
Enable display list updates with zero delta time
It's better not to cancel display lists updates. In the emulator, if we use
low precision clock source like refined-jiffies, the display list which
should be updated with a new frame, won't be updated due to the delta time
is 0 . And this makes all the hardware accelerated GUI out of order.
Change-Id: I41dba8965c96b6ad1b6d326ad1d6fa4a0a49173f
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/view/HardwareRenderer.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/java/android/view/HardwareRenderer.java b/core/java/android/view/HardwareRenderer.java index f09a111..9097a6c 100644 --- a/core/java/android/view/HardwareRenderer.java +++ b/core/java/android/view/HardwareRenderer.java @@ -1555,10 +1555,6 @@ public abstract class HardwareRenderer { } private DisplayList buildDisplayList(View view, HardwareCanvas canvas) { - if (mDrawDelta <= 0) { - return view.mDisplayList; - } - view.mRecreateDisplayList = (view.mPrivateFlags & View.PFLAG_INVALIDATED) == View.PFLAG_INVALIDATED; view.mPrivateFlags &= ~View.PFLAG_INVALIDATED; |