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

Unified Diff: content/common/browser_plugin_messages.h

Issue 11359024: Texture provider to feed data to the impl side thread for webview compositing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « no previous file | content/content_renderer.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/browser_plugin_messages.h
diff --git a/content/common/browser_plugin_messages.h b/content/common/browser_plugin_messages.h
index ea4d847559a79409f6bf0331cce79f92ad82a3a3..9efe37f67e0cd98cf6711f8c3b9b511687b34cde 100644
--- a/content/common/browser_plugin_messages.h
+++ b/content/common/browser_plugin_messages.h
@@ -108,6 +108,13 @@ IPC_STRUCT_BEGIN(BrowserPluginHostMsg_ResizeGuest_Params)
IPC_STRUCT_MEMBER(bool, resize_pending)
// Indicates the scale factor of the embedder WebView.
IPC_STRUCT_MEMBER(float, scale_factor)
+ // Hardware Accelerated Surface Params
+ IPC_STRUCT_MEMBER(int, gpu_process_id)
+ IPC_STRUCT_MEMBER(uint32, client_id)
+ IPC_STRUCT_MEMBER(uint32, context_id)
+ IPC_STRUCT_MEMBER(uint32, texture_id_0)
+ IPC_STRUCT_MEMBER(uint32, texture_id_1)
+ IPC_STRUCT_MEMBER(uint32, sync_point)
IPC_STRUCT_END()
// A BrowserPlugin sends this to BrowserPluginEmbedder (browser process) when it
@@ -120,6 +127,11 @@ IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_NavigateGuest,
std::string /* src */,
BrowserPluginHostMsg_ResizeGuest_Params /* resize_params */)
+IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_BuffersSwappedACK,
+ int /* route_id */,
+ int /* gpu_host_id */,
+ uint32 /* sync_point */)
+
// When a BrowserPlugin has been removed from the embedder's DOM, it informs
// the browser process to cleanup the guest.
IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_PluginDestroyed,
@@ -267,3 +279,13 @@ IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect,
int /* instance_id */,
int /* message_id */,
BrowserPluginMsg_UpdateRect_Params)
+
+IPC_MESSAGE_CONTROL4(BrowserPluginMsg_BuffersSwapped,
+ int /* instance_id */,
+ uint64 /* surface_handle */,
+ int /* route_id */,
+ int /* gpu_host_id */)
+
+IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SurfaceResize,
+ int /* instance_id */,
+ gfx::Size /* size */)
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698