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

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

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 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/cc_param_traits_macros.h ('k') | cc/ipc/filter_operation.typemap » ('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 "skia/public/interfaces/image_filter.mojom"; 7 import "skia/public/interfaces/image_filter.mojom";
8 import "ui/gfx/geometry/mojo/geometry.mojom"; 8 import "ui/gfx/geometry/mojo/geometry.mojom";
9 9
10 enum FilterType { 10 enum FilterType {
11 GRAYSCALE, 11 GRAYSCALE,
12 SEPIA, 12 SEPIA,
13 SATURATE, 13 SATURATE,
14 HUE_ROTATE, 14 HUE_ROTATE,
15 INVERT, 15 INVERT,
16 BRIGHTNESS, 16 BRIGHTNESS,
17 CONTRAST, 17 CONTRAST,
18 OPACITY, 18 OPACITY,
19 BLUR, 19 BLUR,
20 DROP_SHADOW, 20 DROP_SHADOW,
21 COLOR_MATRIX, 21 COLOR_MATRIX,
22 ZOOM, 22 ZOOM,
23 REFERENCE, 23 REFERENCE,
24 SATURATING_BRIGHTNESS, 24 SATURATING_BRIGHTNESS,
25 ALPHA_THRESHOLD, 25 ALPHA_THRESHOLD,
26 FILTER_TYPE_LAST = ALPHA_THRESHOLD 26 FILTER_TYPE_LAST = ALPHA_THRESHOLD
27 }; 27 };
28 28
29 // See cc/output/filter_operation.h. 29 // See cc/base/filter_operation.h.
30 struct FilterOperation { 30 struct FilterOperation {
31 FilterType type; 31 FilterType type;
32 float amount; 32 float amount;
33 gfx.mojom.Point drop_shadow_offset; 33 gfx.mojom.Point drop_shadow_offset;
34 uint32 drop_shadow_color; 34 uint32 drop_shadow_color;
35 skia.mojom.ImageFilter image_filter; 35 skia.mojom.ImageFilter image_filter;
36 array<float, 20>? matrix; 36 array<float, 20>? matrix;
37 int32 zoom_inset; 37 int32 zoom_inset;
38 // Note: SkRegion is currently not needed for serialization. 38 // Note: SkRegion is currently not needed for serialization.
39 }; 39 };
40 40
OLDNEW
« no previous file with comments | « cc/ipc/cc_param_traits_macros.h ('k') | cc/ipc/filter_operation.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698