Chromium Code Reviews| 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) |