diff options
author | Justin DeMartino <jjdemartino@google.com> | 2020-10-14 19:40:01 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-10-14 19:40:01 +0000 |
commit | 676f432ba770ca35cf9e726193d9ae194a899bde (patch) | |
tree | 1fbf7937246eec2fe1139015caebd3bac00711ce /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | 798208dbda8f7cb7fead314b1906eb7b62c31e33 (diff) | |
parent | e62f49bda9d0941f71f93c3481128ef19353bbb8 (diff) |
Merge changes from topic "SP1A.200921.001" into s-keystone-qcom-dev
* changes:
Add overload for getWifiIconResource
Merge SP1A.200921.001
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
-rw-r--r-- | libs/hwui/renderthread/DrawFrameTask.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/DrawFrameTask.cpp b/libs/hwui/renderthread/DrawFrameTask.cpp index 1e593388d063..1ea595d6a30a 100644 --- a/libs/hwui/renderthread/DrawFrameTask.cpp +++ b/libs/hwui/renderthread/DrawFrameTask.cpp @@ -128,7 +128,9 @@ void DrawFrameTask::run() { bool DrawFrameTask::syncFrameState(TreeInfo& info) { ATRACE_CALL(); int64_t vsync = mFrameInfo[static_cast<int>(FrameInfoIndex::Vsync)]; - mRenderThread->timeLord().vsyncReceived(vsync); + int64_t intendedVsync = mFrameInfo[static_cast<int>(FrameInfoIndex::IntendedVsync)]; + int64_t vsyncId = mFrameInfo[static_cast<int>(FrameInfoIndex::FrameTimelineVsyncId)]; + mRenderThread->timeLord().vsyncReceived(vsync, intendedVsync, vsyncId); bool canDraw = mContext->makeCurrent(); mContext->unpinImages(); |