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

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

Issue 11099037: Plumb through surface size for --enable-partial-swaps on OSX (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 #define IPC_MESSAGE_EXPORT 70 #define IPC_MESSAGE_EXPORT
71 71
72 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params) 72 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params)
73 IPC_STRUCT_MEMBER(int32, surface_id) 73 IPC_STRUCT_MEMBER(int32, surface_id)
74 IPC_STRUCT_MEMBER(uint64, surface_handle) 74 IPC_STRUCT_MEMBER(uint64, surface_handle)
75 IPC_STRUCT_MEMBER(int32, route_id) 75 IPC_STRUCT_MEMBER(int32, route_id)
76 IPC_STRUCT_MEMBER(int, x) 76 IPC_STRUCT_MEMBER(int, x)
77 IPC_STRUCT_MEMBER(int, y) 77 IPC_STRUCT_MEMBER(int, y)
78 IPC_STRUCT_MEMBER(int, width) 78 IPC_STRUCT_MEMBER(int, width)
79 IPC_STRUCT_MEMBER(int, height) 79 IPC_STRUCT_MEMBER(int, height)
80 IPC_STRUCT_MEMBER(gfx::Size, surface_size)
80 #if defined(OS_MACOSX) 81 #if defined(OS_MACOSX)
81 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) 82 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window)
82 #endif 83 #endif
83 IPC_STRUCT_MEMBER(uint32, protection_state_id) 84 IPC_STRUCT_MEMBER(uint32, protection_state_id)
84 IPC_STRUCT_END() 85 IPC_STRUCT_END()
85 86
86 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceRelease_Params) 87 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceRelease_Params)
87 IPC_STRUCT_MEMBER(int32, surface_id) 88 IPC_STRUCT_MEMBER(int32, surface_id)
88 IPC_STRUCT_MEMBER(uint64, identifier) 89 IPC_STRUCT_MEMBER(uint64, identifier)
89 IPC_STRUCT_MEMBER(int32, route_id) 90 IPC_STRUCT_MEMBER(int32, route_id)
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 632
632 // Confirm decoder has been flushed. 633 // Confirm decoder has been flushed.
633 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 634 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
634 635
635 // Confirm decoder has been reset. 636 // Confirm decoder has been reset.
636 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 637 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
637 638
638 // Video decoder has encountered an error. 639 // Video decoder has encountered an error.
639 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 640 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
640 uint32) /* Error ID */ 641 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/common/gpu/image_transport_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698