From a5761b164a27d2894f8abc0652dd8cda7326f564 Mon Sep 17 00:00:00 2001 From: Arne Coucheron Date: Wed, 20 Jul 2016 00:46:07 +0200 Subject: sf: Fix blending mode for legacy BSP * After 0c5f3af, glitches when blending is observed on A family devices. Modify ifdef to not include QCOM_BSP_LEGACY. Change-Id: Ibb53df5709abbb0e7132065aec23a14f7accf4b3 --- services/surfaceflinger/Layer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index 69e5c6858..14bd312a2 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -467,7 +467,7 @@ void Layer::setGeometry( // this gives us only the "orientation" component of the transform const State& s(getDrawingState()); -#ifdef QTI_BSP +#if defined(QCOM_BSP) && !defined(QCOM_BSP_LEGACY) if (!isOpaque(s)) { #else if (!isOpaque(s) || s.alpha != 0xFF) { -- cgit v1.2.3