summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2016-01-12 21:00:51 -0600
committerRobert Foss <robert.foss@collabora.com>2016-09-02 16:12:06 -0400
commitabd72c0b1ab51666e3ffc79fa8f296b23d350fa6 (patch)
treefaaa2e35e67495765817f405195d164474b5e62d
parent64befb6cddb06b998a8b4fb07323c78d7eebeda5 (diff)
downloaddrm_hwcomposer-patch_robher_libdrm_hack.tar.gz
drm_hwcomposer-patch_robher_libdrm_hack.tar.xz
Force framebuffer targetpatch_robher_libdrm_hack
GL compositing doesn't want to work, so force disable it. Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r--hwcomposer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwcomposer.cpp b/hwcomposer.cpp
index 25d7b69..df774df 100644
--- a/hwcomposer.cpp
+++ b/hwcomposer.cpp
@@ -387,7 +387,7 @@ static int hwc_prepare(hwc_composer_device_1_t *dev, size_t num_displays,
if (!display_contents[i])
continue;
- bool use_framebuffer_target = false;
+ bool use_framebuffer_target = true;
DrmMode mode;
if (i == HWC_DISPLAY_VIRTUAL) {
use_framebuffer_target = true;