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

Unified Diff: cc/ipc/cc_param_traits_macros.h

Issue 2508203004: Add hints for potential overlay promotion on android. (Closed)
Patch Set: replaced AVDA changes with TODO Created 4 years 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/cc_param_traits_macros.h
diff --git a/cc/ipc/cc_param_traits_macros.h b/cc/ipc/cc_param_traits_macros.h
index 2df89c324c8fc816c5b8a9513bea8b9d4d7ff39a..9080335837df92d96ed3ff160a7e41b394d181af 100644
--- a/cc/ipc/cc_param_traits_macros.h
+++ b/cc/ipc/cc_param_traits_macros.h
@@ -140,6 +140,10 @@ IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource)
IPC_STRUCT_TRAITS_MEMBER(is_software)
IPC_STRUCT_TRAITS_MEMBER(is_overlay_candidate)
IPC_STRUCT_TRAITS_MEMBER(color_space)
+#if defined(OS_ANDROID)
+ IPC_STRUCT_TRAITS_MEMBER(is_backed_by_surface_texture)
+ IPC_STRUCT_TRAITS_MEMBER(wants_promotion_hint)
+#endif
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(cc::ReturnedResource)

Powered by Google App Engine
This is Rietveld 408576698