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

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

Issue 2748903002: cc: Add gfx::BufferFormat to cc::ResourceProvider::Resource. (Closed)
Patch Set: Always initialize buffer_format. Created 3 years, 9 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/struct_traits_unittest.cc » ('j') | no next file with comments »
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 IPC_STRUCT_TRAITS_MEMBER(clip_rect) 131 IPC_STRUCT_TRAITS_MEMBER(clip_rect)
132 IPC_STRUCT_TRAITS_MEMBER(is_clipped) 132 IPC_STRUCT_TRAITS_MEMBER(is_clipped)
133 IPC_STRUCT_TRAITS_MEMBER(opacity) 133 IPC_STRUCT_TRAITS_MEMBER(opacity)
134 IPC_STRUCT_TRAITS_MEMBER(blend_mode) 134 IPC_STRUCT_TRAITS_MEMBER(blend_mode)
135 IPC_STRUCT_TRAITS_MEMBER(sorting_context_id) 135 IPC_STRUCT_TRAITS_MEMBER(sorting_context_id)
136 IPC_STRUCT_TRAITS_END() 136 IPC_STRUCT_TRAITS_END()
137 137
138 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource) 138 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource)
139 IPC_STRUCT_TRAITS_MEMBER(id) 139 IPC_STRUCT_TRAITS_MEMBER(id)
140 IPC_STRUCT_TRAITS_MEMBER(format) 140 IPC_STRUCT_TRAITS_MEMBER(format)
141 IPC_STRUCT_TRAITS_MEMBER(buffer_format)
141 IPC_STRUCT_TRAITS_MEMBER(filter) 142 IPC_STRUCT_TRAITS_MEMBER(filter)
142 IPC_STRUCT_TRAITS_MEMBER(size) 143 IPC_STRUCT_TRAITS_MEMBER(size)
143 IPC_STRUCT_TRAITS_MEMBER(mailbox_holder) 144 IPC_STRUCT_TRAITS_MEMBER(mailbox_holder)
144 IPC_STRUCT_TRAITS_MEMBER(read_lock_fences_enabled) 145 IPC_STRUCT_TRAITS_MEMBER(read_lock_fences_enabled)
145 IPC_STRUCT_TRAITS_MEMBER(is_software) 146 IPC_STRUCT_TRAITS_MEMBER(is_software)
146 IPC_STRUCT_TRAITS_MEMBER(is_overlay_candidate) 147 IPC_STRUCT_TRAITS_MEMBER(is_overlay_candidate)
147 IPC_STRUCT_TRAITS_MEMBER(color_space) 148 IPC_STRUCT_TRAITS_MEMBER(color_space)
148 #if defined(OS_ANDROID) 149 #if defined(OS_ANDROID)
149 IPC_STRUCT_TRAITS_MEMBER(is_backed_by_surface_texture) 150 IPC_STRUCT_TRAITS_MEMBER(is_backed_by_surface_texture)
150 IPC_STRUCT_TRAITS_MEMBER(wants_promotion_hint) 151 IPC_STRUCT_TRAITS_MEMBER(wants_promotion_hint)
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) 195 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height)
195 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio) 196 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_shown_ratio)
196 IPC_STRUCT_TRAITS_MEMBER(root_background_color) 197 IPC_STRUCT_TRAITS_MEMBER(root_background_color)
197 IPC_STRUCT_TRAITS_MEMBER(selection) 198 IPC_STRUCT_TRAITS_MEMBER(selection)
198 IPC_STRUCT_TRAITS_MEMBER(latency_info) 199 IPC_STRUCT_TRAITS_MEMBER(latency_info)
199 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) 200 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces)
200 IPC_STRUCT_TRAITS_MEMBER(content_source_id) 201 IPC_STRUCT_TRAITS_MEMBER(content_source_id)
201 IPC_STRUCT_TRAITS_END() 202 IPC_STRUCT_TRAITS_END()
202 203
203 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_ 204 #endif // CC_IPC_CC_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « no previous file | cc/ipc/struct_traits_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698