From cc47335dede2b40f90ba37e5486270b9acbce38b Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Tue, 27 Mar 2018 10:46:00 -0400 Subject: Fix flushing of context in ViaDDL Change-Id: I9f84f4081861e2789b45787405e0f1a5aa87824d Reviewed-on: https://skia-review.googlesource.com/116546 Reviewed-by: Greg Daniel Commit-Queue: Robert Phillips --- dm/DMSrcSink.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'dm/DMSrcSink.cpp') 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); -- cgit v1.2.3