commit | 5b02c629bd8da951331e5e464fe78e03b3393a72 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Thu May 17 10:44:00 2018 -0700 |
committer | John Reck <jreck@google.com> | Thu May 31 12:56:28 2018 -0700 |
tree | 5b39981a81b63b59c179402635ace31fa4d0c88c | |
parent | 1031bf5f761304987e6a2c5bbb5743a65c3253bf [diff] [blame] |
Attempting to fix the black flicker Bug: 79231206 Test: Repro steps from bug Merged-In: I4c2810c42a7a4358f64584da3ab0cdf1499e71b6 Change-Id: I4c2810c42a7a4358f64584da3ab0cdf1499e71b6
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp index c6a9b55f..59048be 100644 --- a/libs/hwui/renderthread/RenderProxy.cpp +++ b/libs/hwui/renderthread/RenderProxy.cpp
@@ -274,6 +274,10 @@ mDrawFrameTask.setFrameCallback(std::move(callback)); } +void RenderProxy::setFrameCompleteCallback(std::function<void(int64_t)>&& callback) { + mDrawFrameTask.setFrameCompleteCallback(std::move(callback)); +} + void RenderProxy::serializeDisplayListTree() { mRenderThread.queue().post([=]() { mContext->serializeDisplayListTree(); }); }