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

Unified Diff: cc/resources/gpu_rasterizer.cc

Issue 885883002: cc: fix for Ganesh in MSAA mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/gpu_rasterizer.cc
diff --git a/cc/resources/gpu_rasterizer.cc b/cc/resources/gpu_rasterizer.cc
index 2937f75c2432b4bc24deaf3dbe22426f7da60c11..3fdc8bbbbc744273a3c3b9cf5a78b909a11dda17 100644
--- a/cc/resources/gpu_rasterizer.cc
+++ b/cc/resources/gpu_rasterizer.cc
@@ -83,7 +83,8 @@ void GpuRasterizer::RasterizeTiles(
update_tile_draw_info.Run(tile, resource.Pass(), analysis);
}
- multi_picture_draw_.draw();
+ // If MSAA is enabled, tell Skia to resolve each render target after draw.
+ multi_picture_draw_.draw(msaa_sample_count_ > 0);
}
void GpuRasterizer::PerformSolidColorAnalysis(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698