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 22 matching lines...) Expand all Loading... |
33 #endif | 33 #endif |
34 | 34 |
35 #define IPC_MESSAGE_START GpuMsgStart | 35 #define IPC_MESSAGE_START GpuMsgStart |
36 | 36 |
37 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) | 37 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) |
38 IPC_STRUCT_MEMBER(int32, share_group_id) | 38 IPC_STRUCT_MEMBER(int32, share_group_id) |
39 IPC_STRUCT_MEMBER(std::string, allowed_extensions) | 39 IPC_STRUCT_MEMBER(std::string, allowed_extensions) |
40 IPC_STRUCT_MEMBER(std::vector<int>, attribs) | 40 IPC_STRUCT_MEMBER(std::vector<int>, attribs) |
41 IPC_STRUCT_MEMBER(GURL, active_url) | 41 IPC_STRUCT_MEMBER(GURL, active_url) |
42 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) | 42 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) |
| 43 IPC_STRUCT_MEMBER(bool, use_virtual_gl_context) |
43 IPC_STRUCT_END() | 44 IPC_STRUCT_END() |
44 | 45 |
45 #undef IPC_MESSAGE_EXPORT | 46 #undef IPC_MESSAGE_EXPORT |
46 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 47 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
47 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) | 48 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
48 IPC_STRUCT_MEMBER(int32, surface_id) | 49 IPC_STRUCT_MEMBER(int32, surface_id) |
49 IPC_STRUCT_MEMBER(uint64, surface_handle) | 50 IPC_STRUCT_MEMBER(uint64, surface_handle) |
50 IPC_STRUCT_MEMBER(int32, route_id) | 51 IPC_STRUCT_MEMBER(int32, route_id) |
51 IPC_STRUCT_MEMBER(std::string, mailbox_name) | 52 IPC_STRUCT_MEMBER(std::string, mailbox_name) |
52 IPC_STRUCT_MEMBER(gfx::Size, size) | 53 IPC_STRUCT_MEMBER(gfx::Size, size) |
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
656 | 657 |
657 // Confirm decoder has been flushed. | 658 // Confirm decoder has been flushed. |
658 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 659 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
659 | 660 |
660 // Confirm decoder has been reset. | 661 // Confirm decoder has been reset. |
661 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 662 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
662 | 663 |
663 // Video decoder has encountered an error. | 664 // Video decoder has encountered an error. |
664 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 665 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
665 uint32) /* Error ID */ | 666 uint32) /* Error ID */ |
OLD | NEW |