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

Unified Diff: content/common/gpu_host_messages.h

Issue 1878103002: Plumb a Browser->GPU surface destruction message for Android VDAs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing ifdefs Created 4 years, 8 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_host_messages.h
diff --git a/content/common/gpu_host_messages.h b/content/common/gpu_host_messages.h
index 0705be089559c4d4ff9cdd15650d3e92b9fbcdbd..dc5d81dfc25fd11a9f5da868a0545101aacabca3 100644
--- a/content/common/gpu_host_messages.h
+++ b/content/common/gpu_host_messages.h
@@ -196,6 +196,8 @@ IPC_MESSAGE_CONTROL1(AcceleratedSurfaceMsg_BufferPresented,
#if defined(OS_ANDROID)
// Tells the GPU process to wake up the GPU because we're about to draw.
IPC_MESSAGE_CONTROL0(GpuMsg_WakeUpGpu)
no sievers 2016/04/19 23:30:17 nit: newline
watk 2016/04/22 02:48:55 Done.
+// Tells the GPU process to release the surface because it's being destroyed.
+IPC_MESSAGE_CONTROL1(GpuMsg_DestroyingVideoSurface, int /* surface_id */)
#endif
// Tells the GPU process to remove all contexts.
@@ -268,6 +270,13 @@ IPC_MESSAGE_CONTROL2(GpuHostMsg_AcceleratedSurfaceCreatedChildWindow,
gpu::SurfaceHandle /* child_window */)
#endif
+#if defined(OS_ANDROID)
+// Reponse to a GpuMsg_DestroyingVideoSurface message.
+IPC_MESSAGE_CONTROL1(GpuHostMsg_DestroyingVideoSurfaceHandled,
no sievers 2016/04/19 23:30:17 nit: how about DestroyingVideoSurfaceAck? We use t
watk 2016/04/22 02:48:55 Done.
+ int /* surface_id */)
+#endif
+
+
IPC_MESSAGE_CONTROL1(GpuHostMsg_DidCreateOffscreenContext, GURL /* url */)
IPC_MESSAGE_CONTROL3(GpuHostMsg_DidLoseContext,

Powered by Google App Engine
This is Rietveld 408576698