| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 IPC_STRUCT_MEMBER(gfx::BufferFormat, format) | 113 IPC_STRUCT_MEMBER(gfx::BufferFormat, format) |
| 114 IPC_STRUCT_MEMBER(int32, client_id) | 114 IPC_STRUCT_MEMBER(int32, client_id) |
| 115 IPC_STRUCT_END() | 115 IPC_STRUCT_END() |
| 116 | 116 |
| 117 #if defined(OS_MACOSX) | 117 #if defined(OS_MACOSX) |
| 118 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) | 118 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
| 119 IPC_STRUCT_MEMBER(int32, surface_id) | 119 IPC_STRUCT_MEMBER(int32, surface_id) |
| 120 IPC_STRUCT_MEMBER(uint64, surface_handle) | 120 IPC_STRUCT_MEMBER(uint64, surface_handle) |
| 121 IPC_STRUCT_MEMBER(int32, route_id) | 121 IPC_STRUCT_MEMBER(int32, route_id) |
| 122 IPC_STRUCT_MEMBER(gfx::Size, size) | 122 IPC_STRUCT_MEMBER(gfx::Size, size) |
| 123 IPC_STRUCT_MEMBER(gfx::Rect, damage_rect) | |
| 124 IPC_STRUCT_MEMBER(float, scale_factor) | 123 IPC_STRUCT_MEMBER(float, scale_factor) |
| 125 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | 124 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) |
| 126 IPC_STRUCT_END() | 125 IPC_STRUCT_END() |
| 127 | 126 |
| 128 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) | 127 IPC_STRUCT_BEGIN(AcceleratedSurfaceMsg_BufferPresented_Params) |
| 129 // If the browser needs framerate throttling based on GPU back-pressure to be | |
| 130 // disabled (e.g, because the NSView isn't visible but tab capture is active), | |
| 131 // then this is set to true. | |
| 132 IPC_STRUCT_MEMBER(bool, disable_throttling) | |
| 133 // If the browser is drawing to the screen, this is the CGL renderer ID of | |
| 134 // the GL context that the brower is using. | |
| 135 IPC_STRUCT_MEMBER(int32, renderer_id) | |
| 136 // The vsync parameters, to synchronize presentation with the display. | 128 // The vsync parameters, to synchronize presentation with the display. |
| 137 IPC_STRUCT_MEMBER(base::TimeTicks, vsync_timebase) | 129 IPC_STRUCT_MEMBER(base::TimeTicks, vsync_timebase) |
| 138 IPC_STRUCT_MEMBER(base::TimeDelta, vsync_interval) | 130 IPC_STRUCT_MEMBER(base::TimeDelta, vsync_interval) |
| 139 IPC_STRUCT_END() | 131 IPC_STRUCT_END() |
| 140 #endif | 132 #endif |
| 141 | 133 |
| 142 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params) | 134 IPC_STRUCT_BEGIN(AcceleratedJpegDecoderMsg_Decode_Params) |
| 143 IPC_STRUCT_MEMBER(int32, input_buffer_id) | 135 IPC_STRUCT_MEMBER(int32, input_buffer_id) |
| 144 IPC_STRUCT_MEMBER(gfx::Size, coded_size) | 136 IPC_STRUCT_MEMBER(gfx::Size, coded_size) |
| 145 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, input_buffer_handle) | 137 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, input_buffer_handle) |
| (...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 799 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 791 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
| 800 | 792 |
| 801 //------------------------------------------------------------------------------ | 793 //------------------------------------------------------------------------------ |
| 802 // Accelerated JPEG Decoder Host Messages | 794 // Accelerated JPEG Decoder Host Messages |
| 803 // These messages are sent from the GPU process to Browser process. | 795 // These messages are sent from the GPU process to Browser process. |
| 804 // | 796 // |
| 805 // Report decode status. | 797 // Report decode status. |
| 806 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 798 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
| 807 int32, /* bitstream_buffer_id */ | 799 int32, /* bitstream_buffer_id */ |
| 808 media::JpegDecodeAccelerator::Error /* error */) | 800 media::JpegDecodeAccelerator::Error /* error */) |
| OLD | NEW |