diff options
author | Jesse Hall <jessehall@google.com> | 2014-08-20 19:52:40 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-08-20 19:52:40 +0000 |
commit | 514e30a96cefad109509ce01622fa7f82f3f318c (patch) | |
tree | 256a554d3b92a7c09a723a8532df6d09e6a0a753 /services/surfaceflinger/DisplayDevice.cpp | |
parent | 2eaec5a833f69b3c460386e38aa6affe5e4b1772 (diff) | |
parent | c3d1889e508038efe240ed1974ed377a2e12835c (diff) | |
download | frameworks_native-514e30a96cefad109509ce01622fa7f82f3f318c.zip frameworks_native-514e30a96cefad109509ce01622fa7f82f3f318c.tar.gz frameworks_native-514e30a96cefad109509ce01622fa7f82f3f318c.tar.bz2 |
am c3d1889e: Merge "surfaceflinger: skip composition for empty frames" into klp-modular-dev
* commit 'c3d1889e508038efe240ed1974ed377a2e12835c':
surfaceflinger: skip composition for empty frames
Diffstat (limited to 'services/surfaceflinger/DisplayDevice.cpp')
-rw-r--r-- | services/surfaceflinger/DisplayDevice.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/surfaceflinger/DisplayDevice.cpp b/services/surfaceflinger/DisplayDevice.cpp index f9034a6..3d46d14 100644 --- a/services/surfaceflinger/DisplayDevice.cpp +++ b/services/surfaceflinger/DisplayDevice.cpp @@ -59,7 +59,8 @@ DisplayDevice::DisplayDevice( const sp<DisplaySurface>& displaySurface, const sp<IGraphicBufferProducer>& producer, EGLConfig config) - : mFlinger(flinger), + : lastCompositionHadVisibleLayers(false), + mFlinger(flinger), mType(type), mHwcDisplayId(hwcId), mDisplayToken(displayToken), mDisplaySurface(displaySurface), |