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

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

Issue 789433003: [cc] Add nearest neighbor filtering for PictureLayer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase Created 6 years 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 | « mojo/converters/surfaces/surfaces_type_converters.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/public/interfaces/geometry/geometry.mojom"; 7 import "mojo/services/public/interfaces/geometry/geometry.mojom";
8 import "mojo/services/public/interfaces/surfaces/surface_id.mojom"; 8 import "mojo/services/public/interfaces/surfaces/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 bool nearest_neighbor;
74 uint32 resource_id; 75 uint32 resource_id;
75 }; 76 };
76 77
77 struct StreamVideoQuadState {}; 78 struct StreamVideoQuadState {};
78 79
79 enum YUVColorSpace { 80 enum YUVColorSpace {
80 REC_601, // SDTV standard with restricted "studio swing" color range. 81 REC_601, // SDTV standard with restricted "studio swing" color range.
81 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.
82 }; 83 };
83 84
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 202
202 struct Pass { 203 struct Pass {
203 int32 id; 204 int32 id;
204 Rect output_rect; 205 Rect output_rect;
205 Rect damage_rect; 206 Rect damage_rect;
206 Transform transform_to_root_target; 207 Transform transform_to_root_target;
207 bool has_transparent_background; 208 bool has_transparent_background;
208 array<Quad> quads; 209 array<Quad> quads;
209 array<SharedQuadState> shared_quad_states; 210 array<SharedQuadState> shared_quad_states;
210 }; 211 };
OLDNEW
« no previous file with comments | « mojo/converters/surfaces/surfaces_type_converters.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698