diff options
author | Steve Kondik <steve@cyngn.com> | 2016-08-01 13:21:58 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-08-01 13:24:26 -0700 |
commit | 193a8c93342e0b0677540cc70850e43317c54992 (patch) | |
tree | ebd2803e720358615fd027f4b246dd1a99c3d094 /services/surfaceflinger/SurfaceFlinger.cpp | |
parent | 534f85743096c2ac853329ab239b204d96efe665 (diff) | |
download | frameworks_native-193a8c93342e0b0677540cc70850e43317c54992.zip frameworks_native-193a8c93342e0b0677540cc70850e43317c54992.tar.gz frameworks_native-193a8c93342e0b0677540cc70850e43317c54992.tar.bz2 |
surfaceflinger: Isolate S3D code to msm8996 only
Change-Id: Ie4b77b55eb306c795b452c59d8ae3383bd2804bc
Diffstat (limited to 'services/surfaceflinger/SurfaceFlinger.cpp')
-rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 693e9d9..3070e45 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -2004,7 +2004,7 @@ bool SurfaceFlinger::doComposeSurfaces(const sp<const DisplayDevice>& hw, const } // Never touch the framebuffer if we don't have any framebuffer layers -#ifdef QTI_BSP +#if defined(QTI_BSP) && defined(SDM_TARGET) const bool hasHwcComposition = hwc.hasHwcComposition(id) | (reinterpret_cast<ExHWComposer*>(&hwc))->getS3DFlag(id); #else |