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

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

Issue 1968363002: SurfaceAggregator should check whether output is secure when drawin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 mus.mojom; 5 module mus.mojom;
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 struct TextureQuadState { 72 struct TextureQuadState {
73 uint32 resource_id; 73 uint32 resource_id;
74 bool premultiplied_alpha; 74 bool premultiplied_alpha;
75 mojo.PointF uv_top_left; 75 mojo.PointF uv_top_left;
76 mojo.PointF uv_bottom_right; 76 mojo.PointF uv_bottom_right;
77 Color background_color; 77 Color background_color;
78 array<float, 4> vertex_opacity; 78 array<float, 4> vertex_opacity;
79 bool y_flipped; 79 bool y_flipped;
80 bool nearest_neighbor; 80 bool nearest_neighbor;
81 bool secure_output_only;
81 }; 82 };
82 83
83 struct TileQuadState { 84 struct TileQuadState {
84 mojo.RectF tex_coord_rect; 85 mojo.RectF tex_coord_rect;
85 mojo.Size texture_size; 86 mojo.Size texture_size;
86 bool swizzle_contents; 87 bool swizzle_contents;
87 uint32 resource_id; 88 uint32 resource_id;
88 bool nearest_neighbor; 89 bool nearest_neighbor;
89 }; 90 };
90 91
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 222
222 struct Pass { 223 struct Pass {
223 RenderPassId id; 224 RenderPassId id;
224 mojo.Rect output_rect; 225 mojo.Rect output_rect;
225 mojo.Rect damage_rect; 226 mojo.Rect damage_rect;
226 mojo.Transform transform_to_root_target; 227 mojo.Transform transform_to_root_target;
227 bool has_transparent_background; 228 bool has_transparent_background;
228 array<Quad> quads; 229 array<Quad> quads;
229 array<SharedQuadState> shared_quad_states; 230 array<SharedQuadState> shared_quad_states;
230 }; 231 };
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | content/browser/compositor/gpu_process_transport_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698