commit | acba14be77a39f6a1336f5751e99ff83f2df8ec1 | [log] [tgz] |
---|---|---|
author | Zach Reizner <zachr@google.com> | Tue Oct 13 18:19:26 2015 -0700 |
committer | Zach Reizner <zachr@google.com> | Tue Oct 13 18:23:45 2015 -0700 |
tree | cf87e643349db99597f4397846fe2f38b159430c | |
parent | 647781f69641f85b080b1f649a01b4dae59938f2 [diff] [blame] |
drm_hwcomposer: set the composition map's display field Change-Id: I67842cdfd0afab67a81448c1b64da47d2f933db3
diff --git a/hwcomposer.cpp b/hwcomposer.cpp index 0a7be52..6a0f4cd 100644 --- a/hwcomposer.cpp +++ b/hwcomposer.cpp
@@ -501,6 +501,7 @@ layers_map.emplace_back(); DrmCompositionDisplayLayersMap &map = layers_map.back(); + map.display = i; std::vector<size_t> &indices_to_composite = layers_indices[i]; for (size_t j : indices_to_composite) { hwc_layer_1_t *sf_layer = &dc->hwLayers[j];