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

Side by Side Diff: cc/ipc/quads.mojom

Issue 2173563002: Improve GL shader YUV adjustment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaseline cc tests Created 4 years, 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 module cc.mojom; 5 module cc.mojom;
6 6
7 import "cc/ipc/filter_operations.mojom"; 7 import "cc/ipc/filter_operations.mojom";
8 import "cc/ipc/render_pass_id.mojom"; 8 import "cc/ipc/render_pass_id.mojom";
9 import "cc/ipc/surface_id.mojom"; 9 import "cc/ipc/surface_id.mojom";
10 import "ui/gfx/geometry/mojo/geometry.mojom"; 10 import "ui/gfx/geometry/mojo/geometry.mojom";
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 gfx.mojom.RectF uv_tex_coord_rect; 86 gfx.mojom.RectF uv_tex_coord_rect;
87 gfx.mojom.Size ya_tex_size; 87 gfx.mojom.Size ya_tex_size;
88 gfx.mojom.Size uv_tex_size; 88 gfx.mojom.Size uv_tex_size;
89 uint32 y_plane_resource_id; 89 uint32 y_plane_resource_id;
90 uint32 u_plane_resource_id; 90 uint32 u_plane_resource_id;
91 uint32 v_plane_resource_id; 91 uint32 v_plane_resource_id;
92 uint32 a_plane_resource_id; 92 uint32 a_plane_resource_id;
93 YUVColorSpace color_space; 93 YUVColorSpace color_space;
94 float resource_offset; 94 float resource_offset;
95 float resource_multiplier; 95 float resource_multiplier;
96 uint32 bits_per_channel;
piman 2016/07/26 06:46:48 You also need to modify the ParamTraits for YUVVid
96 }; 97 };
97 98
98 enum Material { 99 enum Material {
99 INVALID, 100 INVALID,
100 DEBUG_BORDER, 101 DEBUG_BORDER,
101 PICTURE_CONTENT, 102 PICTURE_CONTENT,
102 RENDER_PASS, 103 RENDER_PASS,
103 SOLID_COLOR, 104 SOLID_COLOR,
104 STREAM_VIDEO_CONTENT, 105 STREAM_VIDEO_CONTENT,
105 SURFACE_CONTENT, 106 SURFACE_CONTENT,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 TileQuadState? tile_quad_state; 145 TileQuadState? tile_quad_state;
145 StreamVideoQuadState? stream_video_quad_state; 146 StreamVideoQuadState? stream_video_quad_state;
146 YUVVideoQuadState? yuv_video_quad_state; 147 YUVVideoQuadState? yuv_video_quad_state;
147 }; 148 };
148 149
149 struct QuadList { 150 struct QuadList {
150 array<Material> quad_types; 151 array<Material> quad_types;
151 array<DrawQuad> quads; 152 array<DrawQuad> quads;
152 }; 153 };
153 154
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698