diff options
author | Robert Phillips <robertphillips@google.com> | 2018-03-27 10:46:00 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-27 16:02:44 +0000 |
commit | cc47335dede2b40f90ba37e5486270b9acbce38b (patch) | |
tree | fe2fed801256a46319b1c9115e3e2a332b00da4b /dm/DMSrcSink.cpp | |
parent | 8dfc70f7e2549929f86c06138e5ac6ade6154502 (diff) |
Fix flushing of context in ViaDDL
Change-Id: I9f84f4081861e2789b45787405e0f1a5aa87824d
Reviewed-on: https://skia-review.googlesource.com/116546
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'dm/DMSrcSink.cpp')
-rw-r--r-- | dm/DMSrcSink.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp index 4e1e31d8f0..8650a5dd2a 100644 --- a/dm/DMSrcSink.cpp +++ b/dm/DMSrcSink.cpp @@ -2669,6 +2669,7 @@ Error ViaDDL::draw(const Src& src, SkBitmap* bitmap, SkWStream* stream, SkString // DDL TODO: remove the cleanUpVRAM method and use the release & done // callbacks. GrGpu* gpu = context->contextPriv().getGpu(); + context->flush(); gpu->testingOnly_flushGpuAndSync(); helper.cleanUpVRAM(context); |