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

Side by Side Diff: mojo/services/surfaces/public/interfaces/quads.mojom

Issue 951673002: Revert "Pull chromium at 2c3ffb2355a27c32f45e508ef861416b820c823b" (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
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 mojo; 5 module mojo;
6 6
7 import "geometry/public/interfaces/geometry.mojom"; 7 import "geometry/public/interfaces/geometry.mojom";
8 import "surfaces/public/interfaces/surface_id.mojom"; 8 import "surfaces/public/interfaces/surface_id.mojom";
9 9
10 struct Color { 10 struct Color {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 Size texture_size; 72 Size texture_size;
73 bool swizzle_contents; 73 bool swizzle_contents;
74 uint32 resource_id; 74 uint32 resource_id;
75 bool nearest_neighbor; 75 bool nearest_neighbor;
76 }; 76 };
77 77
78 struct StreamVideoQuadState {}; 78 struct StreamVideoQuadState {};
79 79
80 enum YUVColorSpace { 80 enum YUVColorSpace {
81 REC_601, // SDTV standard with restricted "studio swing" color range. 81 REC_601, // SDTV standard with restricted "studio swing" color range.
82 REC_709, // HDTV standard with restricted "studio swing" color range. 82 REC_601_JPEG, // Full color range [0, 255] variant of the above.
83 JPEG, // Full color range [0, 255] JPEG color space.
84 }; 83 };
85 84
86 struct YUVVideoQuadState { 85 struct YUVVideoQuadState {
87 RectF tex_coord_rect; 86 RectF tex_coord_rect;
88 uint32 y_plane_resource_id; 87 uint32 y_plane_resource_id;
89 uint32 u_plane_resource_id; 88 uint32 u_plane_resource_id;
90 uint32 v_plane_resource_id; 89 uint32 v_plane_resource_id;
91 uint32 a_plane_resource_id; 90 uint32 a_plane_resource_id;
92 YUVColorSpace color_space; 91 YUVColorSpace color_space;
93 }; 92 };
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 202
204 struct Pass { 203 struct Pass {
205 int32 id; 204 int32 id;
206 Rect output_rect; 205 Rect output_rect;
207 Rect damage_rect; 206 Rect damage_rect;
208 Transform transform_to_root_target; 207 Transform transform_to_root_target;
209 bool has_transparent_background; 208 bool has_transparent_background;
210 array<Quad> quads; 209 array<Quad> quads;
211 array<SharedQuadState> shared_quad_states; 210 array<SharedQuadState> shared_quad_states;
212 }; 211 };
OLDNEW
« no previous file with comments | « mojo/converters/surfaces/surfaces_type_converters.cc ('k') | mojo/tools/roll/cc_strip_video.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698