summaryrefslogtreecommitdiffstats
path: root/include
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
commit245e4d78c5fb304fe153c36303ec69bf8a907f65 (patch)
tree9663613ba57dbd7a2b9721f08c86419d3a349c1e /include
parentef69d8b0c9ef205b0ca867ecf66e0e9a20cd187a (diff)
downloadframeworks_native-245e4d78c5fb304fe153c36303ec69bf8a907f65.zip
frameworks_native-245e4d78c5fb304fe153c36303ec69bf8a907f65.tar.gz
frameworks_native-245e4d78c5fb304fe153c36303ec69bf8a907f65.tar.bz2
better fix for [2420565] Surface.lockCanvas() updates the dirty region too often
Change-Id: I83438b40effd21538f1c74396dc665254b9d5ab6
Diffstat (limited to 'include')
-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;