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

Side by Side Diff: content/common/cc_messages.h

Issue 21159007: cc: Adding support for RGBA_4444 tile textures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed a signed vs. unsigned comparison in video_resource_updater.cc Created 7 years, 3 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 | « cc/trees/layer_tree_settings.cc ('k') | content/common/cc_messages_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 (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 // IPC Messages sent between compositor instances. 5 // IPC Messages sent between compositor instances.
6 6
7 #include "cc/output/begin_frame_args.h" 7 #include "cc/output/begin_frame_args.h"
8 #include "cc/output/compositor_frame.h" 8 #include "cc/output/compositor_frame.h"
9 #include "cc/output/compositor_frame_ack.h" 9 #include "cc/output/compositor_frame_ack.h"
10 #include "cc/output/filter_operation.h" 10 #include "cc/output/filter_operation.h"
11 #include "cc/quads/checkerboard_draw_quad.h" 11 #include "cc/quads/checkerboard_draw_quad.h"
12 #include "cc/quads/debug_border_draw_quad.h" 12 #include "cc/quads/debug_border_draw_quad.h"
13 #include "cc/quads/draw_quad.h" 13 #include "cc/quads/draw_quad.h"
14 #include "cc/quads/io_surface_draw_quad.h" 14 #include "cc/quads/io_surface_draw_quad.h"
15 #include "cc/quads/picture_draw_quad.h" 15 #include "cc/quads/picture_draw_quad.h"
16 #include "cc/quads/render_pass.h" 16 #include "cc/quads/render_pass.h"
17 #include "cc/quads/render_pass_draw_quad.h" 17 #include "cc/quads/render_pass_draw_quad.h"
18 #include "cc/quads/shared_quad_state.h" 18 #include "cc/quads/shared_quad_state.h"
19 #include "cc/quads/solid_color_draw_quad.h" 19 #include "cc/quads/solid_color_draw_quad.h"
20 #include "cc/quads/stream_video_draw_quad.h" 20 #include "cc/quads/stream_video_draw_quad.h"
21 #include "cc/quads/texture_draw_quad.h" 21 #include "cc/quads/texture_draw_quad.h"
22 #include "cc/quads/tile_draw_quad.h" 22 #include "cc/quads/tile_draw_quad.h"
23 #include "cc/quads/yuv_video_draw_quad.h" 23 #include "cc/quads/yuv_video_draw_quad.h"
24 #include "cc/resources/resource_format.h"
24 #include "cc/resources/returned_resource.h" 25 #include "cc/resources/returned_resource.h"
25 #include "cc/resources/transferable_resource.h" 26 #include "cc/resources/transferable_resource.h"
26 #include "content/common/content_export.h" 27 #include "content/common/content_export.h"
27 #include "gpu/ipc/gpu_command_buffer_traits.h" 28 #include "gpu/ipc/gpu_command_buffer_traits.h"
28 #include "ipc/ipc_message_macros.h" 29 #include "ipc/ipc_message_macros.h"
29 30
30 #ifndef CONTENT_COMMON_CC_MESSAGES_H_ 31 #ifndef CONTENT_COMMON_CC_MESSAGES_H_
31 #define CONTENT_COMMON_CC_MESSAGES_H_ 32 #define CONTENT_COMMON_CC_MESSAGES_H_
32 33
33 namespace gfx { 34 namespace gfx {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 111
111 // Multiply-included message file, hence no include guard. 112 // Multiply-included message file, hence no include guard.
112 113
113 #define IPC_MESSAGE_START CCMsgStart 114 #define IPC_MESSAGE_START CCMsgStart
114 #undef IPC_MESSAGE_EXPORT 115 #undef IPC_MESSAGE_EXPORT
115 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 116 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
116 117
117 IPC_ENUM_TRAITS(cc::DrawQuad::Material) 118 IPC_ENUM_TRAITS(cc::DrawQuad::Material)
118 IPC_ENUM_TRAITS(cc::IOSurfaceDrawQuad::Orientation) 119 IPC_ENUM_TRAITS(cc::IOSurfaceDrawQuad::Orientation)
119 IPC_ENUM_TRAITS(cc::FilterOperation::FilterType) 120 IPC_ENUM_TRAITS(cc::FilterOperation::FilterType)
121 IPC_ENUM_TRAITS_MAX_VALUE(cc::ResourceFormat, cc::RESOURCE_FORMAT_MAX)
120 122
121 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPass::Id) 123 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPass::Id)
122 IPC_STRUCT_TRAITS_MEMBER(layer_id) 124 IPC_STRUCT_TRAITS_MEMBER(layer_id)
123 IPC_STRUCT_TRAITS_MEMBER(index) 125 IPC_STRUCT_TRAITS_MEMBER(index)
124 IPC_STRUCT_TRAITS_END() 126 IPC_STRUCT_TRAITS_END()
125 127
126 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad) 128 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad)
127 IPC_STRUCT_TRAITS_MEMBER(material) 129 IPC_STRUCT_TRAITS_MEMBER(material)
128 IPC_STRUCT_TRAITS_MEMBER(rect) 130 IPC_STRUCT_TRAITS_MEMBER(rect)
129 IPC_STRUCT_TRAITS_MEMBER(opaque_rect) 131 IPC_STRUCT_TRAITS_MEMBER(opaque_rect)
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 IPC_STRUCT_TRAITS_MEMBER(size) 256 IPC_STRUCT_TRAITS_MEMBER(size)
255 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) 257 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect)
256 IPC_STRUCT_TRAITS_END() 258 IPC_STRUCT_TRAITS_END()
257 259
258 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData) 260 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData)
259 IPC_STRUCT_TRAITS_MEMBER(id) 261 IPC_STRUCT_TRAITS_MEMBER(id)
260 IPC_STRUCT_TRAITS_MEMBER(size) 262 IPC_STRUCT_TRAITS_MEMBER(size)
261 IPC_STRUCT_TRAITS_MEMBER(damage_rect) 263 IPC_STRUCT_TRAITS_MEMBER(damage_rect)
262 IPC_STRUCT_TRAITS_MEMBER(handle) 264 IPC_STRUCT_TRAITS_MEMBER(handle)
263 IPC_STRUCT_TRAITS_END() 265 IPC_STRUCT_TRAITS_END()
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698