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

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

Issue 2174843003: cc mojo: Use ArrayDataViews in RenderPasses (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix RenderPassId Created 4 years, 4 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
« no previous file with comments | « cc/ipc/render_pass_struct_traits.cc ('k') | cc/ipc/shared_quad_state_struct_traits.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ui/gfx/geometry/mojo/geometry.mojom"; 7 import "ui/gfx/geometry/mojo/geometry.mojom";
8 import "ui/gfx/mojo/transform.mojom"; 8 import "ui/gfx/mojo/transform.mojom";
9 9
10 struct SharedQuadState { 10 struct SharedQuadState {
(...skipping 10 matching lines...) Expand all
21 // This rect lives in the target content space. 21 // This rect lives in the target content space.
22 gfx.mojom.Rect clip_rect; 22 gfx.mojom.Rect clip_rect;
23 23
24 bool is_clipped; 24 bool is_clipped;
25 float opacity; 25 float opacity;
26 // TODO(fsamuel): Change this to an SkXfermode enum once native enums are 26 // TODO(fsamuel): Change this to an SkXfermode enum once native enums are
27 // supported. 27 // supported.
28 uint32 blend_mode; 28 uint32 blend_mode;
29 int32 sorting_context_id; 29 int32 sorting_context_id;
30 }; 30 };
31
32 struct SharedQuadStateList {
33 array<SharedQuadState> shared_quad_states;
34 };
OLDNEW
« no previous file with comments | « cc/ipc/render_pass_struct_traits.cc ('k') | cc/ipc/shared_quad_state_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698