commit | 1bc4ee4506b0a113d447d54909e1f8f5c1205563 | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Fri Feb 19 15:57:45 2016 -0800 |
committer | Chris Craik <ccraik@google.com> | Fri Feb 19 15:57:45 2016 -0800 |
tree | 19b8c058c746aaef7255435fe6265be75807cc13 | |
parent | bc163f07ee77b6f2b6cee02156935eab476b19a8 [diff] |
Cleanup cached state in TestUtils::runOnRenderThread Change-Id: I097217c80db5c509d97ef050633946110fccbc80
diff --git a/libs/hwui/tests/common/TestUtils.cpp b/libs/hwui/tests/common/TestUtils.cpp index 3440d03..9595a85 100644 --- a/libs/hwui/tests/common/TestUtils.cpp +++ b/libs/hwui/tests/common/TestUtils.cpp
@@ -162,6 +162,7 @@ renderState.onGLContextCreated(); rtCallback(renderthread::RenderThread::getInstance()); + renderState.flush(Caches::FlushMode::Full); renderState.onGLContextDestroyed(); // Restore the previous signal handler