Lines Matching defs:buffers
943 // and GPU-read buffers.
1511 // This test requires 3 buffers to avoid deadlock because we're
1563 // This test requires 3 buffers to complete run on a single thread.
1633 sp<GraphicBuffer> buffers[2];
1656 buffers[i] = mST->getCurrentBuffer();
1659 // Destroy the GL texture object to release its ref on buffers[2].
1669 EXPECT_EQ(1, buffers[0]->getStrongCount());
1674 EXPECT_EQ(2, buffers[1]->getStrongCount());
1678 sp<GraphicBuffer> buffers[3];
1702 buffers[i] = mST->getCurrentBuffer();
1706 // on buffers[2].
1709 // Destroy the GL texture object to release its ref on buffers[2].
1718 EXPECT_EQ(1, buffers[0]->getStrongCount());
1719 EXPECT_EQ(1, buffers[1]->getStrongCount());
1721 // Depending on how lazily the GL driver dequeues buffers, we may end up
1722 // with either two or three total buffers. If there are three, make sure
1724 if (buffers[2] != buffers[0]) {
1725 EXPECT_EQ(1, buffers[2]->getStrongCount());
1807 // This test requires 3 buffers to complete run on a single thread.
1864 // This test requires 3 buffers to complete run on a single thread.
1925 // This test requires 3 buffers to complete run on a single thread.
2287 // Consume the two pending buffers to unblock the producer thread.
2291 // Consume the remaining buffers from the producer thread.