summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-06-15 15:34:55 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-06-15 15:34:55 -0700
commitd3076aca0f6106dbc6c5a1588f560c62567752a4 (patch)
treef8b5ef4959d8545e75500b1ec0d40851a55b5a85 /include
parentb6d00dcf3e0c65b1642ad0011c1b4605b80a56e1 (diff)
parent3e87601170141229d661df93e2f59e1ced73474b (diff)
downloadframeworks_native-d3076aca0f6106dbc6c5a1588f560c62567752a4.zip
frameworks_native-d3076aca0f6106dbc6c5a1588f560c62567752a4.tar.gz
frameworks_native-d3076aca0f6106dbc6c5a1588f560c62567752a4.tar.bz2
Merge "Implement SurfaceFlinger's ANW on top of BufferQueue"
Diffstat (limited to 'include')
-rw-r--r--include/gui/BufferQueue.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gui/BufferQueue.h b/include/gui/BufferQueue.h
index 0539a1b..04a2f52 100644
--- a/include/gui/BufferQueue.h
+++ b/include/gui/BufferQueue.h
@@ -96,7 +96,9 @@ public:
// allowSynchronousMode specifies whether or not synchronous mode can be
// enabled.
// bufferCount sets the minimum number of undequeued buffers for this queue
- BufferQueue( bool allowSynchronousMode = true, int bufferCount = MIN_UNDEQUEUED_BUFFERS);
+ BufferQueue(bool allowSynchronousMode = true,
+ int bufferCount = MIN_UNDEQUEUED_BUFFERS,
+ const sp<IGraphicBufferAlloc>& allocator = NULL);
virtual ~BufferQueue();
virtual int query(int what, int* value);