summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2017-07-20 18:49:46 -0700
committer Romain Guy <romainguy@google.com> 2017-07-21 12:09:26 -0700
commitc53d3558d55dfd1d1c424b0d632fea693113e83e (patch)
tree550645c9773a0fa4142292b8d22f4593818ef4d7 /libs/gui/SurfaceControl.cpp
parent349abaf55fe201a99f75eff5060d81b783819951 (diff)
Postpone color mode change until after boot animation
sRGB is only set by SurfaceFlinger when the default display is wide color capable. Since we compute the best color mode on every frame anyway for wide color capable displays, we can simply move the sRGB set to the end of the boot animation. Bug: 63823274 Test: Manual Change-Id: I11bb6095acb63e66bcf7dff9e3f7b36588e371c1
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions