From 1595d47acc7ee4841ea99bdf36db6af1cd2f1d91 Mon Sep 17 00:00:00 2001 From: "Christopher N. Hesse" Date: Sat, 11 Nov 2017 13:20:45 +0100 Subject: [PATCH] vppvirtualdisplay: Ifdef HWC_SCREENSHOT_ANIMATOR_LAYER Change-Id: Ia4bf7820b742739e39f2f183c9dd1de983601dc7 --- libvppvirtualdisplay/ExynosVirtualDisplay.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvppvirtualdisplay/ExynosVirtualDisplay.cpp b/libvppvirtualdisplay/ExynosVirtualDisplay.cpp index a2404b1..18d3065 100644 --- a/libvppvirtualdisplay/ExynosVirtualDisplay.cpp +++ b/libvppvirtualdisplay/ExynosVirtualDisplay.cpp @@ -604,6 +604,7 @@ void ExynosVirtualDisplay::determineYuvOverlay(hwc_display_contents_1_t *content } #endif +#ifdef HWC_SCREENSHOT_ANIMATOR_LAYER /* find rotation animation layer */ for (size_t i = 0; i < contents->numHwLayers; i++) { hwc_layer_1_t &layer = contents->hwLayers[i]; @@ -614,6 +615,7 @@ void ExynosVirtualDisplay::determineYuvOverlay(hwc_display_contents_1_t *content return; } } +#endif private_handle_t *outBufHandle = private_handle_t::dynamicCast(contents->outbuf); if (outBufHandle == NULL) { -- 2.20.1