Home
last modified time | relevance | path

Searched refs:snapshotIndex (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.cpp758 for (size_t snapshotIndex = 0; snapshotIndex < 4; ++snapshotIndex) { in flatten() local
760 *(tSnapshot[snapshotIndex]), in flatten()
761 &((*nh)[snapshotIndex]), in flatten()
764 while (snapshotIndex > 0) { in flatten()
765 --snapshotIndex; in flatten()
766 native_handle_close((*nh)[snapshotIndex]); in flatten()
767 native_handle_delete((*nh)[snapshotIndex]); in flatten()
768 (*nh)[snapshotIndex] = nullptr; in flatten()
850 for (size_t snapshotIndex = 0; in flatten() local
851 snapshotIndex < 4; ++snapshotIndex) { in flatten()
[all …]
DConversion.cpp755 for (size_t snapshotIndex = 0; snapshotIndex < 4; ++snapshotIndex) { in unflatten() local
757 tSnapshot[snapshotIndex], &((*nh)[snapshotIndex]), in unflatten()
760 while (snapshotIndex > 0) { in unflatten()
761 --snapshotIndex; in unflatten()
762 if ((*nh)[snapshotIndex] != nullptr) { in unflatten()
763 native_handle_delete((*nh)[snapshotIndex]); in unflatten()
818 for (size_t snapshotIndex = 0; snapshotIndex < 4; ++snapshotIndex) { in flatten() local
820 *(tSnapshot[snapshotIndex]), buffer, size, fds, numFds); in flatten()