diff options
author | Sean Paul <seanpaul@chromium.org> | 2015-07-09 17:22:22 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2015-07-13 11:57:56 -0400 |
commit | 2e46fbd90b1aae158ec0437f564dd610e7392f7a (patch) | |
tree | 6268d4171507fb2e962976473a2ba7ac4b708202 /drmdisplaycomposition.h | |
parent | 9099aa5e280c094154fd312f415336c1aabb4b8e (diff) |
drm_hwcomposer: Disable unused planes
Right before queuing up a composition, go through the
list of unused planes and add disable markers such
that they don't remain active when the new frame is
posted.
BUG=chrome-os-parter:42311
TEST=Tested on smaug, turned on/off bunch of times, no dup icons
Change-Id: Ic2e5e210873efb6dc41fd43682fe00db33c2a28e
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'drmdisplaycomposition.h')
-rw-r--r-- | drmdisplaycomposition.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drmdisplaycomposition.h b/drmdisplaycomposition.h index 2ae696f..09ad3ff 100644 --- a/drmdisplaycomposition.h +++ b/drmdisplaycomposition.h @@ -56,6 +56,7 @@ class DrmDisplayComposition { int AddLayer(hwc_layer_1_t *layer, hwc_drm_bo_t *bo, DrmCrtc *crtc, DrmPlane *plane); + int AddPlaneDisable(DrmPlane *plane); int AddDpmsMode(uint32_t dpms_mode); int FinishComposition(); |