hwui: pass framenumber with FrameTimelineInfo

Test: TBD
Bug: 255875655
Change-Id: I446c054db944ec54edd55452032a622d0a7a414e
This commit is contained in:
Ady Abraham
2023-01-19 17:06:32 -08:00
parent 332070ab9e
commit 2cf5053eac

View File

@@ -563,7 +563,7 @@ void CanvasContext::draw() {
const auto inputEventId = const auto inputEventId =
static_cast<int32_t>(mCurrentFrameInfo->get(FrameInfoIndex::InputEventId)); static_cast<int32_t>(mCurrentFrameInfo->get(FrameInfoIndex::InputEventId));
native_window_set_frame_timeline_info( native_window_set_frame_timeline_info(
mNativeSurface->getNativeWindow(), vsyncId, inputEventId, mNativeSurface->getNativeWindow(), frameCompleteNr, vsyncId, inputEventId,
mCurrentFrameInfo->get(FrameInfoIndex::FrameStartTime)); mCurrentFrameInfo->get(FrameInfoIndex::FrameStartTime));
} }
} }