summaryrefslogtreecommitdiff
path: root/include/gui/BufferQueue.h
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2012-04-23 14:28:58 -0700
committer Mathias Agopian <mathias@google.com> 2012-04-23 20:06:02 -0700
commit24202f5676c32edeef6544cf36e06b9fc970dbde (patch)
treebfeaa065a551e9b4fedd8357c83da1b9b469b206 /include/gui/BufferQueue.h
parenta0db308c3d62301ae41b2e2bcf295c4ee4c7b08e (diff)
update the binder protocol for connect to match that of queueBuffer
indeed, connect and queueBuffer return the same data, so it's easier to have them use the same protocol. Change-Id: I4f9fa3be0a80c9ab0a7a4039b282ae843aab02e1
Diffstat (limited to 'include/gui/BufferQueue.h')
-rw-r--r--include/gui/BufferQueue.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/gui/BufferQueue.h b/include/gui/BufferQueue.h
index 008df35ce0..6c38cde396 100644
--- a/include/gui/BufferQueue.h
+++ b/include/gui/BufferQueue.h
@@ -143,8 +143,7 @@ public:
//
// This method will fail if the connect was previously called on the
// BufferQueue and no corresponding disconnect call was made.
- virtual status_t connect(int api,
- uint32_t* outWidth, uint32_t* outHeight, uint32_t* outTransform);
+ virtual status_t connect(int api, QueueBufferOutput* output);
// disconnect attempts to disconnect a producer client API from the
// BufferQueue. Calling this method will cause any subsequent calls to other