Searched refs:releasedItems (Results 1 – 1 of 1) sorted by relevance
174 std::vector<BufferItem> releasedItems; in testSurfaceListener() local175 releasedItems.resize(1+extraDiscardedBuffers); in testSurfaceListener()176 for (size_t i = 0; i < releasedItems.size(); i++) { in testSurfaceListener()177 ASSERT_EQ(NO_ERROR, consumer->acquireBuffer(&releasedItems[i], 0)); in testSurfaceListener()178 ASSERT_EQ(NO_ERROR, consumer->releaseBuffer(releasedItems[i].mSlot, in testSurfaceListener()179 releasedItems[i].mFrameNumber, EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, in testSurfaceListener()182 int32_t expectedReleaseCb = (enableReleasedCb ? releasedItems.size() : 0); in testSurfaceListener()199 ASSERT_EQ(discardedBuffers.size(), releasedItems.size()); in testSurfaceListener()200 for (size_t i = 0; i < releasedItems.size(); i++) { in testSurfaceListener()201 ASSERT_EQ(discardedBuffers[i], releasedItems[i].mGraphicBuffer); in testSurfaceListener()