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

Side by Side Diff: cc/ipc/cc_param_traits_macros.h

Issue 2683763003: cc: make resource keep video buffer format for hardware overlay.
Patch Set: plumbing video format to ozone Created 3 years, 10 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
« no previous file with comments | « no previous file | cc/ipc/cc_param_traits_unittest.cc » ('j') | cc/output/overlay_candidate.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CC_IPC_CC_PARAM_TRAITS_MACROS_H_ 5 #ifndef CC_IPC_CC_PARAM_TRAITS_MACROS_H_
6 #define CC_IPC_CC_PARAM_TRAITS_MACROS_H_ 6 #define CC_IPC_CC_PARAM_TRAITS_MACROS_H_
7 7
8 #include "cc/output/begin_frame_args.h" 8 #include "cc/output/begin_frame_args.h"
9 #include "cc/output/compositor_frame.h" 9 #include "cc/output/compositor_frame.h"
10 #include "cc/output/filter_operation.h" 10 #include "cc/output/filter_operation.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 IPC_STRUCT_TRAITS_BEGIN(cc::SolidColorDrawQuad) 74 IPC_STRUCT_TRAITS_BEGIN(cc::SolidColorDrawQuad)
75 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) 75 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
76 IPC_STRUCT_TRAITS_MEMBER(color) 76 IPC_STRUCT_TRAITS_MEMBER(color)
77 IPC_STRUCT_TRAITS_MEMBER(force_anti_aliasing_off) 77 IPC_STRUCT_TRAITS_MEMBER(force_anti_aliasing_off)
78 IPC_STRUCT_TRAITS_END() 78 IPC_STRUCT_TRAITS_END()
79 79
80 IPC_STRUCT_TRAITS_BEGIN(cc::StreamVideoDrawQuad) 80 IPC_STRUCT_TRAITS_BEGIN(cc::StreamVideoDrawQuad)
81 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) 81 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
82 IPC_STRUCT_TRAITS_MEMBER(overlay_resources) 82 IPC_STRUCT_TRAITS_MEMBER(overlay_resources)
83 IPC_STRUCT_TRAITS_MEMBER(format)
83 IPC_STRUCT_TRAITS_MEMBER(matrix) 84 IPC_STRUCT_TRAITS_MEMBER(matrix)
84 IPC_STRUCT_TRAITS_END() 85 IPC_STRUCT_TRAITS_END()
85 86
86 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceDrawQuad) 87 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceDrawQuad)
87 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) 88 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
88 IPC_STRUCT_TRAITS_MEMBER(surface_id) 89 IPC_STRUCT_TRAITS_MEMBER(surface_id)
89 IPC_STRUCT_TRAITS_END() 90 IPC_STRUCT_TRAITS_END()
90 91
91 IPC_STRUCT_TRAITS_BEGIN(cc::TextureDrawQuad) 92 IPC_STRUCT_TRAITS_BEGIN(cc::TextureDrawQuad)
92 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) 93 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) 190 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces)
190 IPC_STRUCT_TRAITS_END() 191 IPC_STRUCT_TRAITS_END()
191 192
192 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceInfo) 193 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceInfo)
193 IPC_STRUCT_TRAITS_MEMBER(id_) 194 IPC_STRUCT_TRAITS_MEMBER(id_)
194 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor_) 195 IPC_STRUCT_TRAITS_MEMBER(device_scale_factor_)
195 IPC_STRUCT_TRAITS_MEMBER(size_in_pixels_) 196 IPC_STRUCT_TRAITS_MEMBER(size_in_pixels_)
196 IPC_STRUCT_TRAITS_END() 197 IPC_STRUCT_TRAITS_END()
197 198
198 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ 199 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « no previous file | cc/ipc/cc_param_traits_unittest.cc » ('j') | cc/output/overlay_candidate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698