OSDN Git Service

Make updateSurface non-blocking
authorJohn Reck <jreck@google.com>
Tue, 9 Aug 2016 19:09:03 +0000 (12:09 -0700)
committerJohn Reck <jreck@google.com>
Tue, 9 Aug 2016 19:11:13 +0000 (12:11 -0700)
commitcd68212f0821e75081375a5af5ef5fce6e45e167
tree6613bd6e1c4077530c40ed63742c31b02dc4b987
parent0b26adbb8b42168d4fc5ef240b1e2730fcfd5c61
Make updateSurface non-blocking

Bug: 30442298

We already do this for initialize(), fix
it so that update() is parallel with the
UI thread as well.

Shaves ~7ms off of the 99th percentile on
NotificationShade open & close

Change-Id: I1791df495453fb9e1e12362c68e3d20e837e62be
core/java/android/view/ThreadedRenderer.java
libs/hwui/renderthread/RenderProxy.cpp