diff options
author | Sean Paul <seanpaul@chromium.org> | 2016-05-10 04:17:31 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2016-05-12 14:27:06 -0400 |
commit | 3960cddcd115201392efc6ada9a939e20769732d (patch) | |
tree | 25213b231939e3732dc62c3bb93fa383bfa8a861 /drmdisplaycomposition.h | |
parent | bbe39db91385424991ce86f333cc6c2ebe871a66 (diff) |
drm_hwcomposer: Move SeparateLayers into a member function
Instead of passing a bunch of member data to a static function, make
SeparateLayers a member of DrmDisplayComposition. This will be simplified
further once the Planner interface is implemented.
BUG=b/28117135
TEST=Tested on ryu
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Change-Id: Ia4e15aa20b6dc14b044ee1dec7b5fce514278be7
Diffstat (limited to 'drmdisplaycomposition.h')
-rw-r--r-- | drmdisplaycomposition.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drmdisplaycomposition.h b/drmdisplaycomposition.h index b2cfb9c..2b24231 100644 --- a/drmdisplaycomposition.h +++ b/drmdisplaycomposition.h @@ -184,6 +184,8 @@ class DrmDisplayComposition { void EmplaceCompositionPlane(size_t source_layer, std::vector<DrmPlane *> *primary_planes, std::vector<DrmPlane *> *overlay_planes); + void SeparateLayers(size_t *used_layers, size_t num_used_layers, + DrmHwcRect<int> *exclude_rects, size_t num_exclude_rects); int CreateAndAssignReleaseFences(); DrmResources *drm_ = NULL; |