Searched refs:releasedItems (Results 1 – 1 of 1) sorted by relevance
165 std::vector<BufferItem> releasedItems; in testSurfaceListener() local166 releasedItems.resize(1+extraDiscardedBuffers); in testSurfaceListener()167 for (int i = 0; i < releasedItems.size(); i++) { in testSurfaceListener()168 ASSERT_EQ(NO_ERROR, consumer->acquireBuffer(&releasedItems[i], 0)); in testSurfaceListener()169 ASSERT_EQ(NO_ERROR, consumer->releaseBuffer(releasedItems[i].mSlot, in testSurfaceListener()170 releasedItems[i].mFrameNumber, EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, in testSurfaceListener()173 int32_t expectedReleaseCb = (enableReleasedCb ? releasedItems.size() : 0); in testSurfaceListener()190 ASSERT_EQ(discardedBuffers.size(), releasedItems.size()); in testSurfaceListener()191 for (int i = 0; i < releasedItems.size(); i++) { in testSurfaceListener()192 ASSERT_EQ(discardedBuffers[i], releasedItems[i].mGraphicBuffer); in testSurfaceListener()