diff options
author | Rob Herring <robh@kernel.org> | 2018-05-03 14:38:46 -0500 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2018-05-30 13:31:41 -0400 |
commit | 6493b8cc6b2f69f4c629bf7910d1455912506220 (patch) | |
tree | 3110393db50957517dd03b1960a7943c89c14fa8 | |
parent | c660b3d685745c370434003e4f29d9d7eeb17eed (diff) |
Revert "drm_hwcomposer: Fall back to client compositon if the gl precompostior fails"
This reverts commit acc4dcf1787b9fc43c5748ce06e79f045e07a3ff.
-rw-r--r-- | drmhwctwo.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drmhwctwo.cpp b/drmhwctwo.cpp index dee7401..617467a 100644 --- a/drmhwctwo.cpp +++ b/drmhwctwo.cpp @@ -682,13 +682,6 @@ HWC2::Error DrmHwcTwo::HwcDisplay::ValidateDisplay(uint32_t *num_types, layer.set_validated_type(HWC2::Composition::Client); ++*num_types; break; - case HWC2::Composition::Device: - if (!compositor_.uses_GL()) { - layer.set_validated_type(HWC2::Composition::Client); - ++*num_types; - break; - } - /* fall through */ default: layer.set_validated_type(layer.sf_type()); break; |