diff options
author | Sean Paul <seanpaul@chromium.org> | 2016-05-10 04:19:24 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2016-05-16 17:04:44 -0400 |
commit | 4c4646e7b8a5cffdc8a2d53374b5340c07d14012 (patch) | |
tree | 51d19599c6bba8326ed6d30069e842dd87edcef5 /drmdisplaycomposition.h | |
parent | 4f4ef69e539c8f0c7352f12247b7551936736d04 (diff) |
drm_hwcomposer: Introduce Planner interface
This patch introduces a new Planner interface to the platform specific
code. This new interface will allow for platform-specific plane provisioning
decisions to cover various hardware quirks.
Each platform must provide a Planner with one or more PlanStage steps. These
stages are run in order and are used to move the given layers onto composition
planes.
There are two generic stages provided by the platform:
- Protected: Places layers on dedicated planes
- Greedy: Provisions as many layers to planes and sticks the rest in precomp
There is also one platform-specific stage included:
- ProtectedRotated: Places any protected & rotated layer on the primary plane
BUG=b/28117135
TEST=Tested on ryu with a variety of window layouts
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Change-Id: Ib6062ab4779166753afaf122450bb63126bf9161
Diffstat (limited to 'drmdisplaycomposition.h')
-rw-r--r-- | drmdisplaycomposition.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drmdisplaycomposition.h b/drmdisplaycomposition.h index 6c52664..4f48b52 100644 --- a/drmdisplaycomposition.h +++ b/drmdisplaycomposition.h @@ -21,7 +21,6 @@ #include "drmhwcomposer.h" #include "drmplane.h" #include "glworker.h" -#include "platform.h" #include <sstream> #include <vector> @@ -32,6 +31,7 @@ namespace android { +class Importer; class SquashState; enum DrmCompositionType { |