diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-09-10 22:59:12 -0400 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-09-10 22:59:12 -0400 |
commit | 63a85fc420537d6bf2b8717d35c578806056b9e7 (patch) | |
tree | 4950e2b4554dd1eaa6cff08724001530a5f0c7b7 /include | |
parent | 879a56313038bb296ba901aa5461c7cb57b26f8f (diff) | |
parent | 48d819a1315f7d1b5abfec9d4fd34fb5aed27b1d (diff) | |
download | frameworks_native-63a85fc420537d6bf2b8717d35c578806056b9e7.zip frameworks_native-63a85fc420537d6bf2b8717d35c578806056b9e7.tar.gz frameworks_native-63a85fc420537d6bf2b8717d35c578806056b9e7.tar.bz2 |
Merge change 24643 into eclair
* changes:
fix [2112575] stuck on DequeueCondition for a surface that doesn't exist anymore
Diffstat (limited to 'include')
-rw-r--r-- | include/private/ui/SharedBufferStack.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/private/ui/SharedBufferStack.h b/include/private/ui/SharedBufferStack.h index e56b8b2..6181f55 100644 --- a/include/private/ui/SharedBufferStack.h +++ b/include/private/ui/SharedBufferStack.h @@ -85,6 +85,7 @@ class SharedBufferStack public: SharedBufferStack(); + void init(int32_t identity); status_t setDirtyRegion(int buffer, const Region& reg); Region getDirtyRegion(int buffer) const; @@ -114,7 +115,6 @@ public: status_t validate(size_t token) const; uint32_t getIdentity(size_t token) const; - status_t setIdentity(size_t token, uint32_t identity); private: friend class SharedBufferBase; @@ -262,7 +262,8 @@ private: class SharedBufferServer : public SharedBufferBase { public: - SharedBufferServer(SharedClient* sharedClient, int surface, int num); + SharedBufferServer(SharedClient* sharedClient, int surface, int num, + int32_t identity); ssize_t retireAndLock(); status_t unlock(int buffer); |