diff options
| author | Alan Viverette <alanv@google.com> | 2014-05-17 16:34:09 -0700 |
|---|---|---|
| committer | Alan Viverette <alanv@google.com> | 2014-05-17 16:34:09 -0700 |
| commit | d5b2ec4ff15f828298290534c9d322c82f8d130c (patch) | |
| tree | ac8883465d2c1fa8f1f29a770abe728ef74d20bc /core | |
| parent | 62cb534edb2cef23bdc71254294bd63fa03b38b3 (diff) | |
| download | frameworks_base-d5b2ec4ff15f828298290534c9d322c82f8d130c.zip frameworks_base-d5b2ec4ff15f828298290534c9d322c82f8d130c.tar.gz frameworks_base-d5b2ec4ff15f828298290534c9d322c82f8d130c.tar.bz2 | |
Fix onHardwarePreDraw call in ThreadedRenderer
Change-Id: Ia3852cbd7afc21e9f57824e9f207ba02acae12a7
Diffstat (limited to 'core')
| -rw-r--r-- | core/java/android/view/ThreadedRenderer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/ThreadedRenderer.java b/core/java/android/view/ThreadedRenderer.java index 17035b1..74972c2 100644 --- a/core/java/android/view/ThreadedRenderer.java +++ b/core/java/android/view/ThreadedRenderer.java @@ -193,7 +193,7 @@ public class ThreadedRenderer extends HardwareRenderer { Trace.traceBegin(Trace.TRACE_TAG_VIEW, "getDisplayList"); HardwareCanvas canvas = mRootNode.start(mWidth, mHeight); try { - callbacks.onHardwarePostDraw(canvas); + callbacks.onHardwarePreDraw(canvas); canvas.drawDisplayList(view.getDisplayList()); callbacks.onHardwarePostDraw(canvas); } finally { |
