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

Unified Diff: content/browser/gpu/gpu_process_host_ui_shim.cc

Issue 7395020: Create new GLSurface for cross process image transport. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years, 5 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
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/common/gpu/gpu_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host_ui_shim.cc
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc
index 2bd04f1f44faed4d62c378f5c6a0f9bdee514136..365aa248e38e80af0d6470ea99bf4e20ef2963aa 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
@@ -243,8 +243,8 @@ void GpuProcessHostUIShim::OnAcceleratedSurfaceSetIOSurface(
#elif defined(TOUCH_UI)
view->AcceleratedSurfaceSetIOSurface(
params.width, params.height, params.identifier);
- Send(new GpuMsg_AcceleratedSurfaceSetIOSurfaceACK(
- params.renderer_id, params.route_id, params.identifier));
+ Send(new AcceleratedSurfaceMsg_SetSurfaceACK(
+ params.route_id, params.identifier));
#endif
}
@@ -271,8 +271,7 @@ void GpuProcessHostUIShim::OnAcceleratedSurfaceBuffersSwapped(
params.swap_buffers_count);
#elif defined(TOUCH_UI)
view->AcceleratedSurfaceBuffersSwapped(params.surface_id);
- Send(new GpuMsg_AcceleratedSurfaceBuffersSwappedACK(
- params.renderer_id, params.route_id, params.swap_buffers_count));
+ Send(new AcceleratedSurfaceMsg_BuffersSwappedACK(params.route_id));
#endif
}
@@ -290,9 +289,6 @@ void GpuProcessHostUIShim::OnAcceleratedSurfaceRelease(
if (!view)
return;
view->AcceleratedSurfaceRelease(params.identifier);
-
- Send(new GpuMsg_AcceleratedSurfaceReleaseACK(
- params.renderer_id, params.route_id, params.identifier));
}
#endif
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/common/gpu/gpu_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698