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

Unified Diff: content/common/android/sync_compositor_messages.h

Issue 1769913003: sync compositor: Add output_surface_id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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/android/sync_compositor_messages.h
diff --git a/content/common/android/sync_compositor_messages.h b/content/common/android/sync_compositor_messages.h
index 0ad1cf1a2e70f8719747099fdab32a89fadb671c..2e9af1a9c768725949ee63e37c298c3291518f9c 100644
--- a/content/common/android/sync_compositor_messages.h
+++ b/content/common/android/sync_compositor_messages.h
@@ -26,6 +26,7 @@ struct SyncCompositorCommonBrowserParams {
~SyncCompositorCommonBrowserParams();
uint32_t bytes_limit;
+ uint32_t output_surface_id_for_returned_resources;
cc::CompositorFrameAck ack;
gfx::ScrollOffset root_scroll_offset;
bool update_root_scroll_offset;
@@ -96,6 +97,7 @@ struct SyncCompositorCommonRendererParams {
IPC_STRUCT_TRAITS_BEGIN(content::SyncCompositorCommonBrowserParams)
IPC_STRUCT_TRAITS_MEMBER(bytes_limit)
+ IPC_STRUCT_TRAITS_MEMBER(output_surface_id_for_returned_resources)
IPC_STRUCT_TRAITS_MEMBER(ack)
IPC_STRUCT_TRAITS_MEMBER(root_scroll_offset)
IPC_STRUCT_TRAITS_MEMBER(update_root_scroll_offset)
@@ -153,10 +155,11 @@ IPC_MESSAGE_ROUTED2(SyncCompositorMsg_ComputeScroll,
content::SyncCompositorCommonBrowserParams,
base::TimeTicks);
-IPC_SYNC_MESSAGE_ROUTED2_2(SyncCompositorMsg_DemandDrawHw,
+IPC_SYNC_MESSAGE_ROUTED2_3(SyncCompositorMsg_DemandDrawHw,
content::SyncCompositorCommonBrowserParams,
content::SyncCompositorDemandDrawHwParams,
content::SyncCompositorCommonRendererParams,
+ uint32_t /* output_surface_id */,
cc::CompositorFrame)
IPC_SYNC_MESSAGE_ROUTED2_2(SyncCompositorMsg_SetSharedMemory,

Powered by Google App Engine
This is Rietveld 408576698