Searched refs:oldest (Results 1 – 3 of 3) sorted by relevance
123 int oldest = mAvailableFrames.firstKey(); in dropOldestFrame() local124 Frame frame = mAvailableFrames.get(oldest); in dropOldestFrame()127 mAvailableFrames.remove(oldest); in dropOldestFrame()
140 Texture* oldest = mCache.peekOldestValue(); in getCachedTexture() local141 if (oldest && !oldest->isInUse) { in getCachedTexture()
1529 BufferInfo *oldest = NULL; in dequeueBufferFromNativeWindow() local1535 (oldest == NULL || in dequeueBufferFromNativeWindow()1538 mDequeueCounter - oldest->mDequeuedAt)) { in dequeueBufferFromNativeWindow()1539 oldest = info; in dequeueBufferFromNativeWindow()1544 CHECK(oldest != NULL); in dequeueBufferFromNativeWindow()1550 oldest->mGraphicBuffer = GraphicBuffer::from(buf); in dequeueBufferFromNativeWindow()1551 oldest->mNewGraphicBuffer = true; in dequeueBufferFromNativeWindow()1552 oldest->mStatus = BufferInfo::OWNED_BY_US; in dequeueBufferFromNativeWindow()1553 oldest->setWriteFence(fenceFd, "dequeueBufferFromNativeWindow for oldest"); in dequeueBufferFromNativeWindow()1554 mRenderTracker.untrackFrame(oldest->mRenderInfo); in dequeueBufferFromNativeWindow()[all …]