commit | c7ad4080ba147d85f9fdbe3ca42ed4856fd8ebe6 | [log] [tgz] |
---|---|---|
author | Greg Daniel <egdaniel@google.com> | Thu May 14 15:38:26 2020 -0400 |
committer | Greg Daniel <egdaniel@google.com> | Thu May 14 15:38:26 2020 -0400 |
tree | 220ecc3f303060ecc7b2e9818331610977e88820 | |
parent | 938f1c115db331d6f9ca44db0a527d6b687a9e20 [diff] [blame] |
Update skia flush call APIs. Test: manual Change-Id: I72fa57b04f1b4ea594063ddb4ce6af9507b1fcdb
diff --git a/libs/hwui/tests/unit/CacheManagerTests.cpp b/libs/hwui/tests/unit/CacheManagerTests.cpp index c83a3c8..a4d7b82 100644 --- a/libs/hwui/tests/unit/CacheManagerTests.cpp +++ b/libs/hwui/tests/unit/CacheManagerTests.cpp
@@ -47,7 +47,7 @@ sk_sp<SkSurface> surface = SkSurface::MakeRenderTarget(grContext, SkBudgeted::kYes, info); surface->getCanvas()->drawColor(SK_AlphaTRANSPARENT); - grContext->flush(); + grContext->flushAndSubmit(); surfaces.push_back(surface); }