diff options
| author | 2012-06-25 13:54:23 -0700 | |
|---|---|---|
| committer | 2012-06-28 17:08:42 -0700 | |
| commit | f9783af225aa3b41ec0af36f90941a714269abb7 (patch) | |
| tree | 6d6ff4e211848dddf2314da20cf27548b2bf83c6 /libs/ui/Fence.cpp | |
| parent | b7c839b1103f72f8eb89fc0e19f7805969fc622f (diff) | |
Return fence to client in dequeuBuffer
Change-Id: Ic19750793ad993f0e85391f3cabd743ba565d4c9
Diffstat (limited to 'libs/ui/Fence.cpp')
| -rw-r--r-- | libs/ui/Fence.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ui/Fence.cpp b/libs/ui/Fence.cpp index 5c17d10e78..08340f24b5 100644 --- a/libs/ui/Fence.cpp +++ b/libs/ui/Fence.cpp @@ -62,6 +62,10 @@ sp<Fence> Fence::merge(const String8& name, const sp<Fence>& f1, return sp<Fence>(new Fence(result)); } +int Fence::dup() const { + return ::dup(mFenceFd); +} + size_t Fence::getFlattenedSize() const { return 0; } |