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

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

Issue 1273563002: Mac Overlays: Add GPU back-pressure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use default fences Created 5 years, 4 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 2b3a732115713d2bed9943ff048c7997a39a4c8b..16ca26253bc0ba14b032b7ffe1b7267af34b6124 100644
--- a/content/common/gpu/gpu_messages.h
+++ b/content/common/gpu/gpu_messages.h
@@ -110,6 +110,9 @@ IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params)
// If the browser is drawing to the screen, this is the CGL renderer ID of
// the GL context that the brower is using.
IPC_STRUCT_MEMBER(int32, renderer_id)
+ // The CGDirectDisplayID on which the content was displayed, to be used for
+ // computing vsync. If vsync is not enabled, this is zero.
+ IPC_STRUCT_MEMBER(uint32, display_id_for_vsync)
IPC_STRUCT_END()
#endif

Powered by Google App Engine
This is Rietveld 408576698