summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Chia-I Wu <olv@google.com> 2018-05-03 14:27:39 -0700
committer Chia-I Wu <olv@google.com> 2018-05-04 15:29:33 -0700
commit5e9a43e006a185fa43409c7fdb6c32d5bb786e70 (patch)
tree973d58ea5fe5aed8271962386f86db8591300187 /opengl/libagl/array.cpp
parent1148147c4c06d9d5390c7b7c8b0ca5e0c245fc4a (diff)
surfaceflinger: remove hwcId < 0 path in doComposeSurfaces
Remove the check for hwcId and re-indent the code. hwcId is never less than zero. Even if it did, getCompositionType(DISPLAY_ID_INVALID) would return HWC2::Composition::Client and it would still work. The motivation is that the hwcId < 0 path has gone outdated since the introduction of legacy sRGB saturation matrix. Bug: 78891890 Test: virtual displays Change-Id: I6f3e779bc0f8ef21d33ce7de49ddbfa95757e473
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions