diff options
| author | 2009-09-15 22:26:26 -0400 | |
|---|---|---|
| committer | 2009-09-15 22:26:26 -0400 | |
| commit | f86558451ebeb0827eaf3bb6fcff59b37dcd33e6 (patch) | |
| tree | 104c9977c9b68c512ad3b63a77043043bd62dcaa /include | |
| parent | 1c90feaee147c82295424543eb893f46e98816a5 (diff) | |
| parent | 68a6afeb26002961387573dd64dd0ea3816bdc91 (diff) | |
Merge change 25207 into eclair
* changes:
fix [2122448] android_native_window_t::setUsage() only reallocates the first buffer
Diffstat (limited to 'include')
| -rw-r--r-- | include/ui/Surface.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/ui/Surface.h b/include/ui/Surface.h index 118fb8317b..2cedeb6d1a 100644 --- a/include/ui/Surface.h +++ b/include/ui/Surface.h @@ -212,7 +212,7 @@ private: void setUsage(uint32_t reqUsage); - bool getUsage(uint32_t* usage); + uint32_t getUsage() const; // constants sp<SurfaceComposerClient> mClient; @@ -227,7 +227,6 @@ private: // protected by mSurfaceLock Rect mSwapRectangle; uint32_t mUsage; - int32_t mUsageChanged; // protected by mSurfaceLock. These are also used from lock/unlock // but in that case, they must be called form the same thread. |