commit | f8441e65526cd1721f1ad77dad21b1a1e2743d76 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Mon Oct 23 13:10:41 2017 -0700 |
committer | John Reck <jreck@google.com> | Fri Oct 27 13:39:55 2017 -0700 |
tree | a783f7ce274943c1fc919ba746662b962738af42 | |
parent | 68533018e748ae7fa881cdb933ec18f9273cfc1e [diff] [blame] |
Switch to a fancy new queue Test: unit tests & benchmarks pass/faster Change-Id: I9521432172d6dd6039c5280b1265479a36a86247
diff --git a/libs/hwui/renderthread/DrawFrameTask.cpp b/libs/hwui/renderthread/DrawFrameTask.cpp index a097272..0a94678 100644 --- a/libs/hwui/renderthread/DrawFrameTask.cpp +++ b/libs/hwui/renderthread/DrawFrameTask.cpp
@@ -78,7 +78,7 @@ void DrawFrameTask::postAndWait() { AutoMutex _lock(mLock); - mRenderThread->queue(this); + mRenderThread->queue().post([this]() { run(); }); mSignal.wait(mLock); }