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

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

Issue 1249313004: Remove GPU relinquish resources infrastructure and stop GPU process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use const ref Created 5 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
Index: content/common/gpu/gpu_messages.h
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h
index 9b7224c82112ad06cf038835000a9acf9da9c950..dcb05d8530b8d7288ea1478e4aa24a6553a2ddf7 100644
--- a/content/common/gpu/gpu_messages.h
+++ b/content/common/gpu/gpu_messages.h
@@ -260,6 +260,9 @@ IPC_STRUCT_TRAITS_END()
// exiting abruptly is predicated on having the IPC channel set up.
IPC_MESSAGE_CONTROL0(GpuMsg_Initialize)
+// Tells the GPU process to shutdown itself.
+IPC_MESSAGE_CONTROL0(GpuMsg_Finalize)
+
// Tells the GPU process to create a new channel for communication with a
// given client. The channel name is returned in a
// GpuHostMsg_ChannelEstablished message. The client ID is passed so that
@@ -333,11 +336,6 @@ IPC_MESSAGE_CONTROL0(GpuMsg_DisableWatchdog)
// Tells the GPU process that the browser has seen a GPU switch.
IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched)
-// Tells the GPU process to delete the default_offscreen surface. It will also
-// close the display and any other resources when the last GL surface is
-// deleted. GPU process will respond with GphHosMsg_ResourcesRelinquished.
-IPC_MESSAGE_CONTROL0(GpuMsg_RelinquishResources)
-
// Sends an input event to the gpu service.
IPC_MESSAGE_CONTROL3(GpuMsg_UpdateValueState,
int, /* client_id */
@@ -442,9 +440,6 @@ IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext,
IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats,
content::GPUMemoryUmaStats /* GPU memory UMA stats */)
-// Response to GpuMsg_RelinquishResources.
-IPC_MESSAGE_CONTROL0(GpuHostMsg_ResourcesRelinquished)
-
// Tells the browser that a context has subscribed to a new target and
// the browser should start sending the corresponding information
IPC_MESSAGE_CONTROL2(GpuHostMsg_AddSubscription,

Powered by Google App Engine
This is Rietveld 408576698