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

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

Issue 636003002: Clean up GPU back-pressure with remote CALayers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better variable names Created 6 years, 2 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 4375debb68194c51cec3ff9cf04ce6e5f4207411..18a979926c0f16263efb53f078eb95c0a10ffd0f 100644
--- a/content/common/gpu/gpu_messages.h
+++ b/content/common/gpu/gpu_messages.h
@@ -81,9 +81,17 @@ IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params)
IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info)
IPC_STRUCT_END()
+#if defined(OS_MACOSX)
IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params)
+ /* If the browser needs framerate throttling based on GPU back-pressure to be
Tom Sepez 2014/10/08 17:18:20 nit: use C++-style // comments.
ccameron 2014/10/08 18:44:00 Done.
+ disabled (e.g, because the NSView isn't visible but tab capture is active),
+ then this is set to true. */
+ IPC_STRUCT_MEMBER(bool, disable_throttling)
+ /* 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)
IPC_STRUCT_END()
+#endif
IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage)
IPC_STRUCT_MEMBER(int32, id)

Powered by Google App Engine
This is Rietveld 408576698