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

Unified Diff: cc/ipc/render_pass_struct_traits.cc

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Reduce unneeded code in surface aggregator and add more test. Created 3 years, 5 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/ipc/render_pass_struct_traits.cc
diff --git a/cc/ipc/render_pass_struct_traits.cc b/cc/ipc/render_pass_struct_traits.cc
index 9b75e289553dbefc881268a60ffd265236f93fe2..8b336eb3d8a7a5c8c0aa9d4dc1407440dc9fd264 100644
--- a/cc/ipc/render_pass_struct_traits.cc
+++ b/cc/ipc/render_pass_struct_traits.cc
@@ -28,6 +28,9 @@ bool StructTraits<cc::mojom::RenderPassDataView,
if (!(*out)->id)
return false;
(*out)->has_transparent_background = data.has_transparent_background();
+ (*out)->cache_render_surface = data.cache_render_surface();
+ (*out)->has_damage_from_contributing_content =
+ data.has_damage_from_contributing_content();
mojo::ArrayDataView<cc::mojom::DrawQuadDataView> quads;
data.GetQuadListDataView(&quads);

Powered by Google App Engine
This is Rietveld 408576698