commit | 4e63777f75e9756c74352e62e79dfa8a994de2b3 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Thu Jul 28 13:31:51 2016 -0700 |
committer | Dan Stoza <stoza@google.com> | Thu Jul 28 13:31:51 2016 -0700 |
tree | 4395c04f22475253fe937ed19924fb096e60a06a | |
parent | 98650f0e33f39627d66feee73f03346e1055157a [diff] [blame] |
SF: Prime shader cache before boot animation Primes the shader cache before launching boot animation to avoid janking when we eventually fall into GLES composition. Bug: 30040263 Change-Id: I76ba66e92c5e6bb05930c325f384f3b774e91101
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index e2bd19f..5a0f706 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -509,6 +509,8 @@ // set initial conditions (e.g. unblank default device) initializeDisplays(); + mRenderEngine->primeCache(); + // start boot animation startBootAnim();