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

Side by Side Diff: cc/ipc/render_pass.mojom

Issue 2873593002: Force use of and cache render surface. (Closed)
Patch Set: Fix compile error. Created 3 years, 5 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 cc.mojom; 5 module cc.mojom;
6 6
7 import "cc/ipc/filter_operations.mojom"; 7 import "cc/ipc/filter_operations.mojom";
8 import "cc/ipc/quads.mojom"; 8 import "cc/ipc/quads.mojom";
9 import "ui/gfx/geometry/mojo/geometry.mojom"; 9 import "ui/gfx/geometry/mojo/geometry.mojom";
10 import "ui/gfx/mojo/color_space.mojom"; 10 import "ui/gfx/mojo/color_space.mojom";
11 import "ui/gfx/mojo/transform.mojom"; 11 import "ui/gfx/mojo/transform.mojom";
12 12
13 // See cc/quads/render_pass.h. 13 // See cc/quads/render_pass.h.
14 struct RenderPass { 14 struct RenderPass {
15 uint64 id; 15 uint64 id;
16 gfx.mojom.Rect output_rect; 16 gfx.mojom.Rect output_rect;
17 gfx.mojom.Rect damage_rect; 17 gfx.mojom.Rect damage_rect;
18 gfx.mojom.Transform transform_to_root_target; 18 gfx.mojom.Transform transform_to_root_target;
19 cc.mojom.FilterOperations filters; 19 cc.mojom.FilterOperations filters;
20 cc.mojom.FilterOperations background_filters; 20 cc.mojom.FilterOperations background_filters;
21 gfx.mojom.ColorSpace color_space; 21 gfx.mojom.ColorSpace color_space;
22 bool has_transparent_background; 22 bool has_transparent_background;
23 bool cache_render_surface = false;
24 bool has_damage_from_contributing_content = false;
23 array<DrawQuad> quad_list; 25 array<DrawQuad> quad_list;
24 }; 26 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698