diff options
author | Jamie Gennis <jgennis@google.com> | 2010-11-11 13:49:38 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-11-11 13:49:38 -0800 |
commit | 7869c52370c2fa72244944aea9fade05a0c0da2a (patch) | |
tree | 89e194797473341f1c953bce2ec96fb70a93ab06 /services | |
parent | a61cc93199b90870f7a7dce0610c8c6a785e7090 (diff) | |
parent | d267d2a2f11e0dd8a14ad05180114c656b73d483 (diff) | |
download | frameworks_base-7869c52370c2fa72244944aea9fade05a0c0da2a.zip frameworks_base-7869c52370c2fa72244944aea9fade05a0c0da2a.tar.gz frameworks_base-7869c52370c2fa72244944aea9fade05a0c0da2a.tar.bz2 |
Merge "Remove a problematic empty update optimization."
Diffstat (limited to 'services')
-rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index c59f2fd..2e785aa 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -786,10 +786,6 @@ void SurfaceFlinger::handleRepaint() { // compute the invalid region mInvalidRegion.orSelf(mDirtyRegion); - if (mInvalidRegion.isEmpty()) { - // nothing to do - return; - } if (UNLIKELY(mDebugRegion)) { debugFlashRegions(); |