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

Unified Diff: cc/ipc/render_pass_struct_traits.cc

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Calculate damage of |force_render_surface|. Created 3 years, 7 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..504f9c6e0f8b871ed66de89331de00aa5fb611ad 100644
--- a/cc/ipc/render_pass_struct_traits.cc
+++ b/cc/ipc/render_pass_struct_traits.cc
@@ -28,6 +28,10 @@ bool StructTraits<cc::mojom::RenderPassDataView,
if (!(*out)->id)
return false;
(*out)->has_transparent_background = data.has_transparent_background();
+ (*out)->force_render_surface = data.force_render_surface();
+ (*out)->has_property_change_on_contributing_render_surface =
+ data.has_property_change_on_contributing_render_surface();
+ (*out)->has_damage_on_surface_quad = data.has_damage_on_surface_quad();
mojo::ArrayDataView<cc::mojom::DrawQuadDataView> quads;
data.GetQuadListDataView(&quads);
« no previous file with comments | « cc/ipc/render_pass_struct_traits.h ('k') | cc/layers/layer.h » ('j') | cc/layers/layer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698