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

Unified Diff: content/common/cc_messages.h

Issue 1142343008: cc: Rework overlays to not use the ResourceProvider and pass texture size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: content/common/cc_messages.h
diff --git a/content/common/cc_messages.h b/content/common/cc_messages.h
index f6e907da04fe951e96adc4ad2d60145f7bcf6625..9f266b3ef2ebd1b0ec97cd28b86fe8ab5c229b03 100644
--- a/content/common/cc_messages.h
+++ b/content/common/cc_messages.h
@@ -194,6 +194,8 @@ IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(cc::StreamVideoDrawQuad)
IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
IPC_STRUCT_TRAITS_MEMBER(resource_id)
+ IPC_STRUCT_TRAITS_MEMBER(resource_size_in_pixels)
+ IPC_STRUCT_TRAITS_MEMBER(allow_overlay)
IPC_STRUCT_TRAITS_MEMBER(matrix)
IPC_STRUCT_TRAITS_END()
@@ -205,6 +207,8 @@ IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(cc::TextureDrawQuad)
IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
IPC_STRUCT_TRAITS_MEMBER(resource_id)
+ IPC_STRUCT_TRAITS_MEMBER(resource_size_in_pixels)
danakj 2015/06/01 17:31:30 can you add them to the cc_messages_unittests also
achaulk 2015/06/02 19:06:50 Done.
+ IPC_STRUCT_TRAITS_MEMBER(allow_overlay)
IPC_STRUCT_TRAITS_MEMBER(premultiplied_alpha)
IPC_STRUCT_TRAITS_MEMBER(uv_top_left)
IPC_STRUCT_TRAITS_MEMBER(uv_bottom_right)

Powered by Google App Engine
This is Rietveld 408576698