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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats) | 165 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats) |
166 IPC_STRUCT_TRAITS_MEMBER(process_map) | 166 IPC_STRUCT_TRAITS_MEMBER(process_map) |
167 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated) | 167 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated) |
168 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_historical_max) | 168 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_historical_max) |
169 IPC_STRUCT_TRAITS_END() | 169 IPC_STRUCT_TRAITS_END() |
170 | 170 |
171 IPC_STRUCT_TRAITS_BEGIN(content::GPUMemoryUmaStats) | 171 IPC_STRUCT_TRAITS_BEGIN(content::GPUMemoryUmaStats) |
172 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current) | 172 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current) |
173 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max) | 173 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max) |
174 IPC_STRUCT_TRAITS_MEMBER(bytes_limit) | 174 IPC_STRUCT_TRAITS_MEMBER(bytes_limit) |
175 IPC_STRUCT_TRAITS_MEMBER(window_count) | |
176 IPC_STRUCT_TRAITS_END() | 175 IPC_STRUCT_TRAITS_END() |
177 | 176 |
178 IPC_STRUCT_TRAITS_BEGIN(content::GpuMemoryAllocationForRenderer) | 177 IPC_STRUCT_TRAITS_BEGIN(content::GpuMemoryAllocationForRenderer) |
179 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible) | 178 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible) |
180 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible) | 179 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible) |
181 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_not_visible) | 180 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_not_visible) |
182 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_not_visible) | 181 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_not_visible) |
183 IPC_STRUCT_TRAITS_MEMBER(have_backbuffer_when_not_visible) | 182 IPC_STRUCT_TRAITS_MEMBER(have_backbuffer_when_not_visible) |
184 IPC_STRUCT_TRAITS_MEMBER(enforce_but_do_not_keep_as_policy) | 183 IPC_STRUCT_TRAITS_MEMBER(enforce_but_do_not_keep_as_policy) |
185 IPC_STRUCT_TRAITS_END() | 184 IPC_STRUCT_TRAITS_END() |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 int32, /* image_id */ | 260 int32, /* image_id */ |
262 int32 /* sync_point */) | 261 int32 /* sync_point */) |
263 | 262 |
264 // Tells the GPU process to create a context for collecting graphics card | 263 // Tells the GPU process to create a context for collecting graphics card |
265 // information. | 264 // information. |
266 IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo) | 265 IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo) |
267 | 266 |
268 // Tells the GPU process to report video_memory information for the task manager | 267 // Tells the GPU process to report video_memory information for the task manager |
269 IPC_MESSAGE_CONTROL0(GpuMsg_GetVideoMemoryUsageStats) | 268 IPC_MESSAGE_CONTROL0(GpuMsg_GetVideoMemoryUsageStats) |
270 | 269 |
271 // Tells the GPU process' memory manager how many visible windows there are, so | |
272 // it can partition memory amongst them. | |
273 IPC_MESSAGE_CONTROL1(GpuMsg_SetVideoMemoryWindowCount, | |
274 uint32 /* window_count */) | |
275 | |
276 // Tells the GPU process that the browser process has finished resizing the | 270 // Tells the GPU process that the browser process has finished resizing the |
277 // view. | 271 // view. |
278 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_ResizeViewACK) | 272 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_ResizeViewACK) |
279 | 273 |
280 // Tells the GPU process that the browser process has handled the swap | 274 // Tells the GPU process that the browser process has handled the swap |
281 // buffers or post sub-buffer request. A non-zero sync point means | 275 // buffers or post sub-buffer request. A non-zero sync point means |
282 // that we should wait for the sync point. The surface_handle identifies | 276 // that we should wait for the sync point. The surface_handle identifies |
283 // that buffer that has finished presented, i.e. the buffer being returned. | 277 // that buffer that has finished presented, i.e. the buffer being returned. |
284 IPC_MESSAGE_ROUTED1(AcceleratedSurfaceMsg_BufferPresented, | 278 IPC_MESSAGE_ROUTED1(AcceleratedSurfaceMsg_BufferPresented, |
285 AcceleratedSurfaceMsg_BufferPresented_Params) | 279 AcceleratedSurfaceMsg_BufferPresented_Params) |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 | 647 |
654 // Confirm decoder has been flushed. | 648 // Confirm decoder has been flushed. |
655 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 649 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
656 | 650 |
657 // Confirm decoder has been reset. | 651 // Confirm decoder has been reset. |
658 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 652 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
659 | 653 |
660 // Video decoder has encountered an error. | 654 // Video decoder has encountered an error. |
661 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 655 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
662 uint32) /* Error ID */ | 656 uint32) /* Error ID */ |
OLD | NEW |