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

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

Issue 8558008: Revert 110626 - Reland 110355 - Use shared D3D9 texture to transport the compositor's backing buf... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
Index: content/browser/gpu/gpu_process_host_ui_shim.h
===================================================================
--- content/browser/gpu/gpu_process_host_ui_shim.h (revision 110637)
+++ content/browser/gpu/gpu_process_host_ui_shim.h (working copy)
@@ -74,7 +74,12 @@
// actually received on the IO thread.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
+#if defined(OS_MACOSX) || defined(UI_COMPOSITOR_IMAGE_TRANSPORT)
+ // TODO(apatrick): Remove this when mac does not use AcceleratedSurfaces for
+ // when running the GPU thread in the browser process.
+ // This is now also used in TOUCH_UI builds.
static void SendToGpuHost(int host_id, IPC::Message* msg);
+#endif
private:
explicit GpuProcessHostUIShim(int host_id);
@@ -89,16 +94,15 @@
defined(OS_WIN)
void OnResizeView(int32 renderer_id,
int32 render_view_id,
- int32 route_id,
+ int32 command_buffer_route_id,
gfx::Size size);
#endif
- void OnAcceleratedSurfaceBuffersSwapped(
- const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params);
-
#if defined(OS_MACOSX) || defined(UI_COMPOSITOR_IMAGE_TRANSPORT)
void OnAcceleratedSurfaceNew(
const GpuHostMsg_AcceleratedSurfaceNew_Params& params);
+ void OnAcceleratedSurfaceBuffersSwapped(
+ const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params);
#endif
#if defined(UI_COMPOSITOR_IMAGE_TRANSPORT)
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_views.cc ('k') | content/browser/gpu/gpu_process_host_ui_shim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698