From 245e4d78c5fb304fe153c36303ec69bf8a907f65 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Wed, 21 Apr 2010 15:24:11 -0700 Subject: better fix for [2420565] Surface.lockCanvas() updates the dirty region too often Change-Id: I83438b40effd21538f1c74396dc665254b9d5ab6 --- include/surfaceflinger/Surface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 mLockedBuffer; sp mPostedBuffer; mutable Region mOldDirtyRegion; - bool mNeedFullUpdate; + bool mReserved; // query() must be called from dequeueBuffer() thread uint32_t mWidth; -- cgit v1.1