diff options
author | Jesse Hall <jessehall@google.com> | 2013-03-15 21:34:30 -0700 |
---|---|---|
committer | Jesse Hall <jessehall@google.com> | 2013-03-18 14:16:02 -0700 |
commit | 4c00cc11141da7d159eb2323b186ed344115c0f1 (patch) | |
tree | 8cf078166a025e35286fe995afe0887ba9abffdf /libs/gui/tests/BufferQueue_test.cpp | |
parent | 7adb0f8a9fdb961692ffd2f0c65cacb155143f64 (diff) | |
download | frameworks_native-4c00cc11141da7d159eb2323b186ed344115c0f1.zip frameworks_native-4c00cc11141da7d159eb2323b186ed344115c0f1.tar.gz frameworks_native-4c00cc11141da7d159eb2323b186ed344115c0f1.tar.bz2 |
Fix argument types in IGraphicBufferProducer methods
Bug: 8384764
Change-Id: I7a3f1e1a0584a70af04f9eafef900505389d2202
Diffstat (limited to 'libs/gui/tests/BufferQueue_test.cpp')
-rw-r--r-- | libs/gui/tests/BufferQueue_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gui/tests/BufferQueue_test.cpp b/libs/gui/tests/BufferQueue_test.cpp index 93f8faf..62d215b 100644 --- a/libs/gui/tests/BufferQueue_test.cpp +++ b/libs/gui/tests/BufferQueue_test.cpp @@ -76,7 +76,7 @@ TEST_F(BufferQueueTest, AcquireBuffer_ExceedsMaxAcquireCount_Fails) { for (int i = 0; i < 2; i++) { ASSERT_EQ(IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION, - mBQ->dequeueBuffer(&slot, fence, 1, 1, 0, + mBQ->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN)); ASSERT_EQ(OK, mBQ->requestBuffer(slot, &buf)); ASSERT_EQ(OK, mBQ->queueBuffer(slot, qbi, &qbo)); @@ -84,7 +84,7 @@ TEST_F(BufferQueueTest, AcquireBuffer_ExceedsMaxAcquireCount_Fails) { } ASSERT_EQ(IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION, - mBQ->dequeueBuffer(&slot, fence, 1, 1, 0, + mBQ->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN)); ASSERT_EQ(OK, mBQ->requestBuffer(slot, &buf)); ASSERT_EQ(OK, mBQ->queueBuffer(slot, qbi, &qbo)); |