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

Unified Diff: cc/output/direct_renderer.cc

Issue 1380653003: Mac Overlays: Allow SolidColor and Tile quads to be candidates for overlays. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@AllOrNothing2
Patch Set: Created 5 years, 2 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 | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/direct_renderer.cc
diff --git a/cc/output/direct_renderer.cc b/cc/output/direct_renderer.cc
index 1be41e9216244f7695506283ce4779778e768c79..d1003b6fb278376883b26da0c86db11f5924d005 100644
--- a/cc/output/direct_renderer.cc
+++ b/cc/output/direct_renderer.cc
@@ -231,7 +231,7 @@ void DirectRenderer::DrawFrame(RenderPassList* render_passes_in_draw_order,
gfx::RectF(root_render_pass->output_rect);
output_surface_plane.quad_rect_in_target_space =
root_render_pass->output_rect;
- output_surface_plane.use_output_surface_for_resource = true;
+ output_surface_plane.resource_type = OverlayCandidate::USE_OUTPUT_SURFACE;
output_surface_plane.overlay_handled = true;
frame.overlay_list.push_back(output_surface_plane);
}
« no previous file with comments | « no previous file | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698