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/RenderEngine/RenderEngine.h b/services/surfaceflinger/RenderEngine/RenderEngine.h index 9cc1ed7..0259881 100644 --- a/services/surfaceflinger/RenderEngine/RenderEngine.h +++ b/services/surfaceflinger/RenderEngine/RenderEngine.h
@@ -63,6 +63,8 @@ static EGLConfig chooseEglConfig(EGLDisplay display, int format); + void primeCache() const; + // dump the extension strings. always call the base class. virtual void dump(String8& result);