diff options
author | John Reck <jreck@google.com> | 2015-07-21 10:23:59 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-07-21 10:46:54 -0700 |
commit | 00e79c9947b741194ff6c0d08ede9b3befbf9c9d (patch) | |
tree | 26098cf607eaef09a94855aec4ccdd9d8789fd55 /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | 29cf9aea5490c42b85aaaa98b6784daff82629f8 (diff) |
Mark isInUse per-window
Bug: 22509159
Change-Id: I0ae0f1fa582ee38dcb9f24ca20f0b4d0c57ccb32
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
-rw-r--r-- | libs/hwui/renderthread/DrawFrameTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/DrawFrameTask.cpp b/libs/hwui/renderthread/DrawFrameTask.cpp index 6507ce824e03..a4ac13bb95a1 100644 --- a/libs/hwui/renderthread/DrawFrameTask.cpp +++ b/libs/hwui/renderthread/DrawFrameTask.cpp @@ -114,7 +114,7 @@ bool DrawFrameTask::syncFrameState(TreeInfo& info) { int64_t vsync = mFrameInfo[static_cast<int>(FrameInfoIndex::Vsync)]; mRenderThread->timeLord().vsyncReceived(vsync); mContext->makeCurrent(); - Caches::getInstance().textureCache.resetMarkInUse(); + Caches::getInstance().textureCache.resetMarkInUse(mContext); for (size_t i = 0; i < mLayers.size(); i++) { mContext->processLayerUpdate(mLayers[i].get()); |