Commit 41a787b1 authored by senorblanco's avatar senorblanco Committed by Commit bot

cc: fix for Ganesh in MSAA mode.

When rendering in Ganesh with MSAA enabled, request that skia flush each
canvas after drawing a tile. This will cause the MSAA render targets
to be resolved to the shared texture which CC subsequently draws.

BUG=

Review URL: https://codereview.chromium.org/885883002

Cr-Commit-Position: refs/heads/master@{#313761}
parent 63b9b361
......@@ -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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment