commit | 0a2464f51f173c6c5ea94a9c4ffe2c1948812685 | [log] [tgz] |
---|---|---|
author | Greg Daniel <egdaniel@google.com> | Thu May 14 15:45:44 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu May 14 20:26:44 2020 +0000 |
tree | e222dbd256ecdd69800e3c2558efbb2a3dfc8444 | |
parent | e5865f6f10d969aefbec2dcb6975fbe5c3c6059e [diff] [blame] |
Update internal skia uses to use flushAndSubmit and submit calls. Bug: skia:10118 Change-Id: Ieb7c0eece56d3d9df56ecb52e00e76c01f038de8 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/289888 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
diff --git a/src/gpu/GrContextPriv.cpp b/src/gpu/GrContextPriv.cpp index 702d82d..7c27463 100644 --- a/src/gpu/GrContextPriv.cpp +++ b/src/gpu/GrContextPriv.cpp
@@ -182,7 +182,7 @@ } void GrContextPriv::testingOnly_flushAndRemoveOnFlushCallbackObject(GrOnFlushCallbackObject* cb) { - fContext->flush(); + fContext->flushAndSubmit(); fContext->drawingManager()->testingOnly_removeOnFlushCallbackObject(cb); } #endif