summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayEventReceiver.cpp
diff options
context:
space:
mode:
author David Reveman <reveman@google.com> 2017-03-03 11:32:44 -0500
committer David Reveman <reveman@google.com> 2017-03-03 16:42:47 +0000
commitecf0fa5340c54757870881c5d24eb331c517d78c (patch)
tree36a193da453cf6448c6bdcb4f9a84fb9b0bee439 /libs/gui/DisplayEventReceiver.cpp
parent297b306128550b037d6907a84db49cbb9d8e8b12 (diff)
[surfaceflinger] Set blend mode correctly when using HWC2.
HWC1 code will reset blend mode to None using setDefaultState() but HWC2 just leaves the layer in the previous state. The result is that once blend mode is set to something other than HWC2::BlendMode::None we can never go back to HWC2::BlendMode::None and HWC2 implementations are forced to use blending when not necessary. Bug: 35915184 Test: manually verified using overdraw feedback on arc enabled chromebook Change-Id: I86957439bad0a1be9faa56df491d8415c4cdd2c2
Diffstat (limited to 'libs/gui/DisplayEventReceiver.cpp')
0 files changed, 0 insertions, 0 deletions