hwui: pass framenumber with FrameTimelineInfo
Test: TBD Bug: 255875655 Change-Id: I446c054db944ec54edd55452032a622d0a7a414e
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user