Index: ppapi/proxy/ppapi_messages.h |
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h |
index 33d182fadcdf0ad3e45c04b869ee737d61bfd05e..c0b3e75c97e27a7d156db8fbbcee7638802156eb 100644 |
--- a/ppapi/proxy/ppapi_messages.h |
+++ b/ppapi/proxy/ppapi_messages.h |
@@ -1043,6 +1043,13 @@ IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_CreateTransferBuffer, |
IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, |
ppapi::HostResource /* context */, |
int32_t /* id */) |
+// The receiver of this message takes ownership of the front buffer of the GL |
+// context. Each call to PpapiHostMsg_PPBGraphics3D_SwapBuffers must be preceded |
+// by exactly one call to PpapiHostMsg_PPBGraphics3D_TakeFrontBuffer. The |
+// SyncToken passed to PpapiHostMsg_PPBGraphics3D_SwapBuffers must be generated |
+// after this message is sent. |
+IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_TakeFrontBuffer, |
+ ppapi::HostResource /* graphics_3d */) |
IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_SwapBuffers, |
ppapi::HostResource /* graphics_3d */, |
gpu::SyncToken /* sync_token */) |