summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwyau <wyau@google.com>2017-02-07 04:07:15 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-02-07 04:07:15 +0000
commit6560727f3702b04c1c78a019d94600dbc0054da2 (patch)
tree014feb7061d3ac85e4b83c408dccfff6a701be83
parent909ef30a63032f4cada67303ab022be9b7a458da (diff)
parent267ab79b22f9d0b995ff787e36aca9c39497c489 (diff)
downloadnative-6560727f3702b04c1c78a019d94600dbc0054da2.tar.gz
Merge "SurfaceFlinger supports ClearClientTarget for Sideband"
-rw-r--r--services/surfaceflinger/SurfaceFlinger.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index dabece2f22..5eea3d9750 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -2143,6 +2143,7 @@ bool SurfaceFlinger::doComposeSurfaces(
switch (layer->getCompositionType(hwcId)) {
case HWC2::Composition::Cursor:
case HWC2::Composition::Device:
+ case HWC2::Composition::Sideband:
case HWC2::Composition::SolidColor: {
const Layer::State& state(layer->getDrawingState());
if (layer->getClearClientTarget(hwcId) && !firstLayer &&