summaryrefslogtreecommitdiffstats
path: root/include/surfaceflinger
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-04-21 15:24:11 -0700
committerMathias Agopian <mathias@google.com>2010-04-21 22:25:35 -0700
commita8a0aa8b922c45fb4633f51610f264a19f9bd825 (patch)
tree367c5b004195a5dbdca46e5f4049b029d3e570c9 /include/surfaceflinger
parenta8624186a6f7a29697bf5a112e46a80ca796c9c5 (diff)
downloadframeworks_base-a8a0aa8b922c45fb4633f51610f264a19f9bd825.zip
frameworks_base-a8a0aa8b922c45fb4633f51610f264a19f9bd825.tar.gz
frameworks_base-a8a0aa8b922c45fb4633f51610f264a19f9bd825.tar.bz2
better fix for [2420565] Surface.lockCanvas() updates the dirty region too often
Change-Id: I83438b40effd21538f1c74396dc665254b9d5ab6
Diffstat (limited to 'include/surfaceflinger')
-rw-r--r--include/surfaceflinger/Surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/surfaceflinger/Surface.h b/include/surfaceflinger/Surface.h
index 68809a9..40dc467 100644
--- a/include/surfaceflinger/Surface.h
+++ b/include/surfaceflinger/Surface.h
@@ -250,7 +250,7 @@ private:
sp<GraphicBuffer> mLockedBuffer;
sp<GraphicBuffer> mPostedBuffer;
mutable Region mOldDirtyRegion;
- bool mNeedFullUpdate;
+ bool mReserved;
// query() must be called from dequeueBuffer() thread
uint32_t mWidth;