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

Unified Diff: cc/output/direct_renderer.cc

Issue 2693023002: Use SwapBuffersWithBounds on Chromecast (Closed)
Patch Set: Address danakj comments on PS1 Created 3 years, 10 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
Index: cc/output/direct_renderer.cc
diff --git a/cc/output/direct_renderer.cc b/cc/output/direct_renderer.cc
index 0273c4b85e103e0af1066720229062426fc4f892..c0f06a9647bccda5eb5c5cf6c988a2158dac096e 100644
--- a/cc/output/direct_renderer.cc
+++ b/cc/output/direct_renderer.cc
@@ -310,7 +310,8 @@ void DirectRenderer::DrawFrame(RenderPassList* render_passes_in_draw_order,
resource_provider_, root_render_pass, render_pass_filters_,
render_pass_background_filters_, &current_frame()->overlay_list,
&current_frame()->ca_layer_overlay_list,
- &current_frame()->root_damage_rect);
+ &current_frame()->root_damage_rect,
+ &current_frame()->root_content_bounds);
// We can skip all drawing if the damage rect is now empty.
bool skip_drawing_root_render_pass =
« no previous file with comments | « cc/output/direct_renderer.h ('k') | cc/output/gl_renderer.h » ('j') | cc/output/gl_renderer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698