Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: content/common/gpu/gpu_messages.h

Issue 11519045: Remove unused gpu message fields. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 26 matching lines...) Expand all
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_END() 43 IPC_STRUCT_END()
44 44
45 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceNew_Params) 45 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceNew_Params)
46 IPC_STRUCT_MEMBER(int32, surface_id) 46 IPC_STRUCT_MEMBER(int32, surface_id)
47 IPC_STRUCT_MEMBER(int32, width)
48 IPC_STRUCT_MEMBER(int32, height)
49 IPC_STRUCT_MEMBER(uint64, surface_handle) 47 IPC_STRUCT_MEMBER(uint64, surface_handle)
50 IPC_STRUCT_MEMBER(std::string, mailbox_name) 48 IPC_STRUCT_MEMBER(std::string, mailbox_name)
51 IPC_STRUCT_MEMBER(int32, route_id) 49 IPC_STRUCT_MEMBER(int32, route_id)
52 #if defined(OS_MACOSX) 50 #if defined(OS_MACOSX)
53 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) 51 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window)
54 IPC_STRUCT_MEMBER(bool, create_transport_dib)
55 #endif 52 #endif
56 IPC_STRUCT_END() 53 IPC_STRUCT_END()
57 54
58 #undef IPC_MESSAGE_EXPORT 55 #undef IPC_MESSAGE_EXPORT
59 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 56 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
60 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) 57 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params)
61 IPC_STRUCT_MEMBER(int32, surface_id) 58 IPC_STRUCT_MEMBER(int32, surface_id)
62 IPC_STRUCT_MEMBER(uint64, surface_handle) 59 IPC_STRUCT_MEMBER(uint64, surface_handle)
63 IPC_STRUCT_MEMBER(int32, route_id) 60 IPC_STRUCT_MEMBER(int32, route_id)
64 IPC_STRUCT_MEMBER(gfx::Size, size) 61 IPC_STRUCT_MEMBER(gfx::Size, size)
(...skipping 14 matching lines...) Expand all
79 IPC_STRUCT_MEMBER(int, height) 76 IPC_STRUCT_MEMBER(int, height)
80 IPC_STRUCT_MEMBER(gfx::Size, surface_size) 77 IPC_STRUCT_MEMBER(gfx::Size, surface_size)
81 #if defined(OS_MACOSX) 78 #if defined(OS_MACOSX)
82 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) 79 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window)
83 #endif 80 #endif
84 IPC_STRUCT_END() 81 IPC_STRUCT_END()
85 82
86 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceRelease_Params) 83 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceRelease_Params)
87 IPC_STRUCT_MEMBER(int32, surface_id) 84 IPC_STRUCT_MEMBER(int32, surface_id)
88 IPC_STRUCT_MEMBER(int32, route_id) 85 IPC_STRUCT_MEMBER(int32, route_id)
89 #if defined(OS_MACOSX)
90 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window)
91 #endif
92 IPC_STRUCT_END() 86 IPC_STRUCT_END()
93 87
94 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage) 88 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage)
95 IPC_STRUCT_MEMBER(int32, id) 89 IPC_STRUCT_MEMBER(int32, id)
96 IPC_STRUCT_MEMBER(std::string, message) 90 IPC_STRUCT_MEMBER(std::string, message)
97 IPC_STRUCT_END() 91 IPC_STRUCT_END()
98 92
99 #if defined(OS_ANDROID) 93 #if defined(OS_ANDROID)
100 IPC_STRUCT_BEGIN(GpuStreamTextureMsg_MatrixChanged_Params) 94 IPC_STRUCT_BEGIN(GpuStreamTextureMsg_MatrixChanged_Params)
101 IPC_STRUCT_MEMBER(float, m00) 95 IPC_STRUCT_MEMBER(float, m00)
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 696
703 // Confirm decoder has been flushed. 697 // Confirm decoder has been flushed.
704 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 698 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
705 699
706 // Confirm decoder has been reset. 700 // Confirm decoder has been reset.
707 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 701 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
708 702
709 // Video decoder has encountered an error. 703 // Video decoder has encountered an error.
710 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 704 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
711 uint32) /* Error ID */ 705 uint32) /* Error ID */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698