Home
last modified time | relevance | path

Searched refs:bufferSurfaceFrameTX (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionSurfaceFrameTest.cpp77 ASSERT_TRUE(layer->mDrawingState.bufferSurfaceFrameTX == nullptr); in PresentedSurfaceFrameForBufferlessTransaction()
107 ASSERT_NE(nullptr, layer->mDrawingState.bufferSurfaceFrameTX); in PresentedSurfaceFrameForBufferTransaction()
108 const auto surfaceFrame = layer->mDrawingState.bufferSurfaceFrameTX; in PresentedSurfaceFrameForBufferTransaction()
139 ASSERT_NE(nullptr, layer->mDrawingState.bufferSurfaceFrameTX); in DroppedSurfaceFrameForBufferTransaction()
140 const auto droppedSurfaceFrame = layer->mDrawingState.bufferSurfaceFrameTX; in DroppedSurfaceFrameForBufferTransaction()
159 ASSERT_NE(nullptr, layer->mDrawingState.bufferSurfaceFrameTX); in DroppedSurfaceFrameForBufferTransaction()
160 const auto presentedSurfaceFrame = layer->mDrawingState.bufferSurfaceFrameTX; in DroppedSurfaceFrameForBufferTransaction()
186 ASSERT_EQ(nullptr, layer->mDrawingState.bufferSurfaceFrameTX); in BufferlessSurfaceFramePromotedToBufferSurfaceFrame()
204 ASSERT_NE(nullptr, layer->mDrawingState.bufferSurfaceFrameTX); in BufferlessSurfaceFramePromotedToBufferSurfaceFrame()
205 const auto surfaceFrame = layer->mDrawingState.bufferSurfaceFrameTX; in BufferlessSurfaceFramePromotedToBufferSurfaceFrame()
[all …]
/frameworks/native/services/surfaceflinger/
DLayer.cpp1363 mDrawingState.bufferSurfaceFrameTX = it->second; in setFrameTimelineVsyncForBufferTransaction()
1365 mDrawingState.bufferSurfaceFrameTX->promoteToBuffer(); in setFrameTimelineVsyncForBufferTransaction()
1366 mDrawingState.bufferSurfaceFrameTX->setActualQueueTime(postTime); in setFrameTimelineVsyncForBufferTransaction()
1368 mDrawingState.bufferSurfaceFrameTX = in setFrameTimelineVsyncForBufferTransaction()
1382 if (const auto& bufferSurfaceFrameTX = mDrawingState.bufferSurfaceFrameTX; in setFrameTimelineVsyncForBufferlessTransaction() local
1383 bufferSurfaceFrameTX != nullptr) { in setFrameTimelineVsyncForBufferlessTransaction()
1384 if (bufferSurfaceFrameTX->getToken() == info.vsyncId) { in setFrameTimelineVsyncForBufferlessTransaction()
3125 if (mDrawingState.bufferSurfaceFrameTX != nullptr && in releasePreviousBuffer()
3126 mDrawingState.bufferSurfaceFrameTX->getPresentState() != PresentState::Presented) { in releasePreviousBuffer()
3127 addSurfaceFrameDroppedForBuffer(mDrawingState.bufferSurfaceFrameTX, systemTime()); in releasePreviousBuffer()
[all …]
DLayer.h213 std::shared_ptr<frametimeline::SurfaceFrame> bufferSurfaceFrameTX; member