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

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

Issue 795593004: Update mojo sdk to rev cc531b32182099a5a034a99daff35ed5d38a61c8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More workarounds for MSVC Created 5 years, 11 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 "mojo/services/geometry/public/interfaces/geometry.mojom"; 7 import "mojo/services/geometry/public/interfaces/geometry.mojom";
8 import "mojo/services/surfaces/public/interfaces/surface_id.mojom"; 8 import "mojo/services/surfaces/public/interfaces/surface_id.mojom";
9 9
10 struct Color { 10 struct Color {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 Color background_color; 64 Color background_color;
65 array<float, 4> vertex_opacity; 65 array<float, 4> vertex_opacity;
66 bool flipped; 66 bool flipped;
67 bool nearest_neighbor; 67 bool nearest_neighbor;
68 }; 68 };
69 69
70 struct TileQuadState { 70 struct TileQuadState {
71 RectF tex_coord_rect; 71 RectF tex_coord_rect;
72 Size texture_size; 72 Size texture_size;
73 bool swizzle_contents; 73 bool swizzle_contents;
74 uint32 resource_id;
74 bool nearest_neighbor; 75 bool nearest_neighbor;
75 uint32 resource_id;
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_601_JPEG, // Full color range [0, 255] variant of the above. 82 REC_601_JPEG, // Full color range [0, 255] variant of the above.
83 }; 83 };
84 84
85 struct YUVVideoQuadState { 85 struct YUVVideoQuadState {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 202
203 struct Pass { 203 struct Pass {
204 int32 id; 204 int32 id;
205 Rect output_rect; 205 Rect output_rect;
206 Rect damage_rect; 206 Rect damage_rect;
207 Transform transform_to_root_target; 207 Transform transform_to_root_target;
208 bool has_transparent_background; 208 bool has_transparent_background;
209 array<Quad> quads; 209 array<Quad> quads;
210 array<SharedQuadState> shared_quad_states; 210 array<SharedQuadState> shared_quad_states;
211 }; 211 };
OLDNEW
« no previous file with comments | « mojo/services/public/js/shell.js ('k') | mojo/services/surfaces/public/interfaces/surface_id.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698