Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(667)

Unified Diff: cc/raster/gpu_rasterizer.cc

Issue 1653983002: cc: Avoid extra flush calls to Skia GrContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/raster/scoped_gpu_raster.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/gpu_rasterizer.cc
diff --git a/cc/raster/gpu_rasterizer.cc b/cc/raster/gpu_rasterizer.cc
index 9525d8f9f2220e8e5085b17f9ddb7d30bb848f29..4b385a55450595492213fa479f5208ba8c41c916 100644
--- a/cc/raster/gpu_rasterizer.cc
+++ b/cc/raster/gpu_rasterizer.cc
@@ -79,7 +79,7 @@ void GpuRasterizer::RasterizeSource(
SkMultiPictureDraw multi_picture_draw;
multi_picture_draw.add(sk_surface->getCanvas(), picture.get());
- multi_picture_draw.draw(msaa_sample_count_ > 0);
+ multi_picture_draw.draw(true);
Stephen White 2016/02/02 17:00:01 This means we'll be calling SkCanvas::flush() on e
ericrk 2016/02/08 18:08:19 We were already flushing due to the ScopedGpuRaste
write_lock->ReleaseSkSurface();
}
}
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/raster/scoped_gpu_raster.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698