Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Multiply-included message file, hence no include guard here, but see below | 5 // Multiply-included message file, hence no include guard here, but see below |
| 6 // for a much smaller-than-usual include guard section. | 6 // for a much smaller-than-usual include guard section. |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 74 | 74 |
| 75 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) | 75 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
| 76 IPC_STRUCT_MEMBER(int32, surface_id) | 76 IPC_STRUCT_MEMBER(int32, surface_id) |
| 77 IPC_STRUCT_MEMBER(uint64, surface_handle) | 77 IPC_STRUCT_MEMBER(uint64, surface_handle) |
| 78 IPC_STRUCT_MEMBER(int32, route_id) | 78 IPC_STRUCT_MEMBER(int32, route_id) |
| 79 IPC_STRUCT_MEMBER(gfx::Size, size) | 79 IPC_STRUCT_MEMBER(gfx::Size, size) |
| 80 IPC_STRUCT_MEMBER(float, scale_factor) | 80 IPC_STRUCT_MEMBER(float, scale_factor) |
| 81 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | 81 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) |
| 82 IPC_STRUCT_END() | 82 IPC_STRUCT_END() |
| 83 | 83 |
| 84 #if defined(OS_MACOSX) | |
| 84 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) | 85 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) |
| 86 /* 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.
| |
| 87 disabled (e.g, because the NSView isn't visible but tab capture is active), | |
| 88 then this is set to true. */ | |
| 89 IPC_STRUCT_MEMBER(bool, disable_throttling) | |
| 90 /* If the browser is drawing to the screen, this is the CGL renderer ID of | |
| 91 the GL context that the brower is using. */ | |
| 85 IPC_STRUCT_MEMBER(int32, renderer_id) | 92 IPC_STRUCT_MEMBER(int32, renderer_id) |
| 86 IPC_STRUCT_END() | 93 IPC_STRUCT_END() |
| 94 #endif | |
| 87 | 95 |
| 88 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage) | 96 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage) |
| 89 IPC_STRUCT_MEMBER(int32, id) | 97 IPC_STRUCT_MEMBER(int32, id) |
| 90 IPC_STRUCT_MEMBER(std::string, message) | 98 IPC_STRUCT_MEMBER(std::string, message) |
| 91 IPC_STRUCT_END() | 99 IPC_STRUCT_END() |
| 92 | 100 |
| 93 #if defined(OS_ANDROID) | 101 #if defined(OS_ANDROID) |
| 94 IPC_STRUCT_BEGIN(GpuStreamTextureMsg_MatrixChanged_Params) | 102 IPC_STRUCT_BEGIN(GpuStreamTextureMsg_MatrixChanged_Params) |
| 95 IPC_STRUCT_MEMBER(float, m00) | 103 IPC_STRUCT_MEMBER(float, m00) |
| 96 IPC_STRUCT_MEMBER(float, m01) | 104 IPC_STRUCT_MEMBER(float, m01) |
| (...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 716 int32 /* bitstream_buffer_id */, | 724 int32 /* bitstream_buffer_id */, |
| 717 uint32 /* payload_size */, | 725 uint32 /* payload_size */, |
| 718 bool /* key_frame */) | 726 bool /* key_frame */) |
| 719 | 727 |
| 720 // Report error condition. | 728 // Report error condition. |
| 721 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 729 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
| 722 media::VideoEncodeAccelerator::Error /* error */) | 730 media::VideoEncodeAccelerator::Error /* error */) |
| 723 | 731 |
| 724 // Send destroy request to the encoder. | 732 // Send destroy request to the encoder. |
| 725 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 733 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
| OLD | NEW |