This patch disables composition to fall back to single plane when
system is idle instead of using multiple planes. We want to eventually
enable this but this is causing flicker and background disappears
which need to be investigated. However, with the changes we are able
to get rid of an extra thread and hence we can merge the remaining
bits now while fixing the remaining issues.
Jira: None.
Test: No regressions on Linux and Android.
Signed-off-by: Kalyan Kondapally <kalyan.kondapally@intel.com>
}
idle_tracker_.idle_frames_++;
+#if 0
DisplayPlaneStateList current_composition_planes;
bool render_layers;
std::tie(render_layers, current_composition_planes) =
}
display_plane_manager_->ReleaseFreeOffScreenTargets();
+#endif
idle_tracker_.idle_lock_.unlock();
}