summaryrefslogtreecommitdiffstats
path: root/content/browser/browser_plugin/browser_plugin_embedder.cc
diff options
context:
space:
mode:
authorsievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-21 01:42:32 +0000
committersievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-21 01:42:32 +0000
commitf027ca150193efb6b486ade12177d83636467d1a (patch)
tree3af2534aa293a61297117141447037fe211b6f3f /content/browser/browser_plugin/browser_plugin_embedder.cc
parentea28d1e2eeba04d53b65c2976b831200fa73a45b (diff)
downloadchromium_src-f027ca150193efb6b486ade12177d83636467d1a.zip
chromium_src-f027ca150193efb6b486ade12177d83636467d1a.tar.gz
chromium_src-f027ca150193efb6b486ade12177d83636467d1a.tar.bz2
Aura/Android: Send mailbox name with every Swap message.
This eliminates GpuHostMsg_AcceleratedSurfaceNew and instead of using a handle to identify textures being swapped and returned, it simply uses the mailbox name. This will make it simplifier to put textures in the mailbox from the client, i.e. renderer. Review URL: https://chromiumcodereview.appspot.com/11608005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174313 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/browser_plugin/browser_plugin_embedder.cc')
-rw-r--r--content/browser/browser_plugin/browser_plugin_embedder.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/browser_plugin/browser_plugin_embedder.cc b/content/browser/browser_plugin/browser_plugin_embedder.cc
index ade5081..3d60f39 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder.cc
+++ b/content/browser/browser_plugin/browser_plugin_embedder.cc
@@ -331,10 +331,10 @@ void BrowserPluginEmbedder::OnPluginDestroyed(int instance_id) {
void BrowserPluginEmbedder::OnSwapBuffersACK(int route_id,
int gpu_host_id,
- uint64 surface_handle,
+ const std::string& mailbox_name,
uint32 sync_point) {
AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
- ack_params.surface_handle = 0; // TODO
+ ack_params.mailbox_name = mailbox_name;
ack_params.sync_point = sync_point;
RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
gpu_host_id,