diff options
author | Rob Herring <robh@kernel.org> | 2018-05-17 14:33:02 -0500 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2018-05-30 13:31:41 -0400 |
commit | 4f6c62e978a02c78c6ae4e9707f0cb0a174f5721 (patch) | |
tree | cb55d34a7d41d5ed1bad2ab0f0371b1fe9a40046 /drmhwctwo.h | |
parent | cff7b1e829c3ee3608146144148b6602e218fbae (diff) | |
download | drm_hwcomposer-4f6c62e978a02c78c6ae4e9707f0cb0a174f5721.tar.gz |
drm_hwcomposer: Support assigning planes in ValidateDisplay
In order to assign planes to layers in ValidateDisplay, testing
compositing with a DRM atomic modeset test is needed as PresentDisplay
is too late. This means most of PresentDisplay needs to be run from
ValidateDisplay, so refactor PresentDisplay to a common function adding
a test only option.
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drmhwctwo.h')
-rw-r--r-- | drmhwctwo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drmhwctwo.h b/drmhwctwo.h index aa9de3f..82a9768 100644 --- a/drmhwctwo.h +++ b/drmhwctwo.h @@ -185,6 +185,7 @@ class DrmHwcTwo : public hwc2_device_t { } private: + HWC2::Error CreateComposition(bool test); void AddFenceToRetireFence(int fd); DrmResources *drm_; |