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

Unified Diff: content/common/child_process_messages.h

Issue 2383753002: gpu: Add GpuFence framework.
Patch Set: rebase Created 4 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/common/child_process_messages.h
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h
index c74214a181ac64ef60d1d4b30666f8cc51badce9..041ee25ce39089eb0d305de5727496735dee306a 100644
--- a/content/common/child_process_messages.h
+++ b/content/common/child_process_messages.h
@@ -23,6 +23,7 @@
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_platform_file.h"
+#include "ui/gfx/gpu_fence.h"
#include "ui/gfx/gpu_memory_buffer.h"
#include "ui/gfx/ipc/gfx_param_traits.h"
#include "ui/gfx/ipc/skia/gfx_skia_param_traits.h"
@@ -230,3 +231,7 @@ IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_SetThreadPriority,
base::PlatformThreadId,
base::ThreadPriority)
#endif
+
+// Asks the browser to create a gpu fence.
+IPC_SYNC_MESSAGE_CONTROL0_1(ChildProcessHostMsg_SyncCreateGpuFence,
+ gfx::GpuFenceHandle)

Powered by Google App Engine
This is Rietveld 408576698