diff options
author | Dan Stoza <stoza@google.com> | 2015-03-12 15:12:44 -0700 |
---|---|---|
committer | Dan Stoza <stoza@google.com> | 2015-03-19 13:59:12 -0700 |
commit | 11611f9be590480d7ea27bf0153558573ddcded2 (patch) | |
tree | 3a2f8e42db6d2a526ae5d5a96fab1e19be0de210 /services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp | |
parent | cf3834db104e0b052056e3a06d46e3f222f0d372 (diff) | |
download | frameworks_native-11611f9be590480d7ea27bf0153558573ddcded2.zip frameworks_native-11611f9be590480d7ea27bf0153558573ddcded2.tar.gz frameworks_native-11611f9be590480d7ea27bf0153558573ddcded2.tar.bz2 |
DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem
Switches all uses of IGraphicBufferConsumer::BufferItem (and
BufferQueue::BufferItem) to the BufferItem in libgui. Depends on
frameworks/native I699ed0a6837076867ca756b28d1ffb2238f7a0d9.
Cherry pick of I187b3a7d05196b6289596afac8fb9a9d4aebff76
Change-Id: I5bc79fb96b6cba6021af64b20890967aa3b7fcbf
Diffstat (limited to 'services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp')
-rw-r--r-- | services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp b/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp index aefa8fd..0e94f0d 100644 --- a/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp +++ b/services/surfaceflinger/DisplayHardware/VirtualDisplaySurface.cpp @@ -18,6 +18,8 @@ #include "VirtualDisplaySurface.h" #include "HWComposer.h" +#include <gui/BufferItem.h> + // --------------------------------------------------------------------------- namespace android { // --------------------------------------------------------------------------- @@ -436,7 +438,7 @@ status_t VirtualDisplaySurface::queueBuffer(int pslot, // Now acquire the buffer from the scratch pool -- should be the same // slot and fence as we just queued. Mutex::Autolock lock(mMutex); - BufferQueue::BufferItem item; + BufferItem item; result = acquireBufferLocked(&item, 0); if (result != NO_ERROR) return result; |