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

Side by Side Diff: components/mus/public/interfaces/quads.mojom

Issue 1380653003: Mac Overlays: Allow SolidColor and Tile quads to be candidates for overlays. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@AllOrNothing2
Patch Set: Plumb allow_overlay Created 5 years, 2 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 "components/mus/public/interfaces/surface_id.mojom"; 7 import "components/mus/public/interfaces/surface_id.mojom";
8 import "ui/mojo/geometry/geometry.mojom"; 8 import "ui/mojo/geometry/geometry.mojom";
9 9
10 struct Color { 10 struct Color {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 bool y_flipped; 79 bool y_flipped;
80 bool nearest_neighbor; 80 bool nearest_neighbor;
81 }; 81 };
82 82
83 struct TileQuadState { 83 struct TileQuadState {
84 RectF tex_coord_rect; 84 RectF tex_coord_rect;
85 Size texture_size; 85 Size texture_size;
86 bool swizzle_contents; 86 bool swizzle_contents;
87 uint32 resource_id; 87 uint32 resource_id;
88 bool nearest_neighbor; 88 bool nearest_neighbor;
89 bool allow_overlay;
89 }; 90 };
90 91
91 struct StreamVideoQuadState {}; 92 struct StreamVideoQuadState {};
92 93
93 enum YUVColorSpace { 94 enum YUVColorSpace {
94 REC_601, // SDTV standard with restricted "studio swing" color range. 95 REC_601, // SDTV standard with restricted "studio swing" color range.
95 REC_709, // HDTV standard with restricted "studio swing" color range. 96 REC_709, // HDTV standard with restricted "studio swing" color range.
96 JPEG, // Full color range [0, 255] JPEG color space. 97 JPEG, // Full color range [0, 255] JPEG color space.
97 }; 98 };
98 99
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 220
220 struct Pass { 221 struct Pass {
221 RenderPassId id; 222 RenderPassId id;
222 Rect output_rect; 223 Rect output_rect;
223 Rect damage_rect; 224 Rect damage_rect;
224 Transform transform_to_root_target; 225 Transform transform_to_root_target;
225 bool has_transparent_background; 226 bool has_transparent_background;
226 array<Quad> quads; 227 array<Quad> quads;
227 array<SharedQuadState> shared_quad_states; 228 array<SharedQuadState> shared_quad_states;
228 }; 229 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698