diff options
author | Mathias Agopian <mathias@google.com> | 2010-04-21 15:24:11 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-04-21 22:25:35 -0700 |
commit | 245e4d78c5fb304fe153c36303ec69bf8a907f65 (patch) | |
tree | 9663613ba57dbd7a2b9721f08c86419d3a349c1e /include | |
parent | ef69d8b0c9ef205b0ca867ecf66e0e9a20cd187a (diff) | |
download | frameworks_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.h | 2 |
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; |