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

Unified Diff: cc/ipc/render_pass_struct_traits.cc

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Rebased to resolve conflict. 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
« no previous file with comments | « cc/ipc/render_pass_struct_traits.h ('k') | cc/ipc/struct_traits_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..779afce5e214d8c5e7eaf3113017ec42453a8997 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_pass = data.cache_render_pass();
+ (*out)->has_damage_from_contributing_content =
+ data.has_damage_from_contributing_content();
mojo::ArrayDataView<cc::mojom::DrawQuadDataView> quads;
data.GetQuadListDataView(&quads);
« no previous file with comments | « cc/ipc/render_pass_struct_traits.h ('k') | cc/ipc/struct_traits_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698