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

Unified Diff: content/common/gpu/gpu_messages.h

Issue 1366473002: Move WakeUpGpu logic to GpuChannelManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 5 years, 3 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/common/gpu/gpu_command_buffer_stub.cc ('k') | content/common/gpu/image_transport_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_messages.h
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h
index 59b89fc4e6568e0b44fc740bea5cfe158d3e0403..008beee69566ae1fcad4ce0c4dad2ba5d82cbca5 100644
--- a/content/common/gpu/gpu_messages.h
+++ b/content/common/gpu/gpu_messages.h
@@ -331,8 +331,10 @@ IPC_MESSAGE_ROUTED1(AcceleratedSurfaceMsg_BufferPresented,
AcceleratedSurfaceMsg_BufferPresented_Params)
#endif
+#if defined(OS_ANDROID)
// Tells the GPU process to wake up the GPU because we're about to draw.
-IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_WakeUpGpu)
+IPC_MESSAGE_CONTROL0(GpuMsg_WakeUpGpu)
+#endif
// Tells the GPU process to remove all contexts.
IPC_MESSAGE_CONTROL0(GpuMsg_Clean)
@@ -426,11 +428,6 @@ IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage,
std::string /* header */,
std::string /* message */)
-// Tells the browser that a new accelerated surface was initialized.
-IPC_MESSAGE_CONTROL2(GpuHostMsg_AcceleratedSurfaceInitialized,
- int32 /* surface_id */,
- int32 /* route_id */)
-
#if defined(OS_MACOSX)
// Tells the browser that an accelerated surface has swapped.
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | content/common/gpu/image_transport_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698