OSDN Git Service

Zygote: Restore GL preload
authorJesse Hall <jessehall@google.com>
Thu, 9 Feb 2017 22:43:14 +0000 (14:43 -0800)
committerJesse Hall <jessehall@google.com>
Fri, 10 Feb 2017 20:59:10 +0000 (12:59 -0800)
commitb3a1417663d64fe003b03c97e2f24b6eeba3f9dc
tree721d19030febd6147bff3ec185f6173b58d42386
parent41023417e7b9b0e79947fd36880e7726902fb1d1
Zygote: Restore GL preload

Preloading GLES drivers in Zygote was removed previously since it is
incompatible with updatable drivers. That caused some app startup
latency and system memory use regressions. This change re-adds GLES
driver preloading, but only on devices that don't support driver
updates.

Bug: 34611670
Bug: 35052548
Test: boot angler, systrace of Calculator app startup
Change-Id: Ibdc6b3c0ba4473574722641d4bfad4b375f908a3
(cherry picked from commit ba0370eef3d17baa70d43723e96eb135c8e4ed58)
core/java/com/android/internal/os/ZygoteInit.java