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

Side by Side Diff: cc/layers/compositing_reasons.h

Issue 16023024: Add CompositingReasons to compositor layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « cc/cc.gyp ('k') | cc/layers/layer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CC_LAYERS_COMPOSITING_REASONS_H_
6 #define CC_LAYERS_COMPOSITING_REASONS_H_
7
8 namespace cc {
9
10 // This is a clone of CompositingReasons and WebCompositingReasons from Blink.
11 enum {
12 kCompositingReasonUnknown = 0,
13 kCompositingReason3DTransform = 1 << 0,
14 kCompositingReasonVideo = 1 << 1,
15 kCompositingReasonCanvas = 1 << 2,
16 kCompositingReasonPlugin = 1 << 3,
17 kCompositingReasonIFrame = 1 << 4,
18 kCompositingReasonBackfaceVisibilityHidden = 1 << 5,
19 kCompositingReasonAnimation = 1 << 6,
20 kCompositingReasonFilters = 1 << 7,
21 kCompositingReasonPositionFixed = 1 << 8,
22 kCompositingReasonPositionSticky = 1 << 9,
23 kCompositingReasonOverflowScrollingTouch = 1 << 10,
24 kCompositingReasonBlending = 1 << 11,
25 kCompositingReasonAssumedOverlap = 1 << 12,
26 kCompositingReasonOverlap = 1 << 13,
27 kCompositingReasonNegativeZIndexChildren = 1 << 14,
28 kCompositingReasonTransformWithCompositedDescendants = 1 << 15,
29 kCompositingReasonOpacityWithCompositedDescendants = 1 << 16,
30 kCompositingReasonMaskWithCompositedDescendants = 1 << 17,
31 kCompositingReasonReflectionWithCompositedDescendants = 1 << 18,
32 kCompositingReasonFilterWithCompositedDescendants = 1 << 19,
33 kCompositingReasonBlendingWithCompositedDescendants = 1 << 20,
34 kCompositingReasonClipsCompositingDescendants = 1 << 21,
35 kCompositingReasonPerspective = 1 << 22,
36 kCompositingReasonPreserve3D = 1 << 23,
37 kCompositingReasonReflectionOfCompositedParent = 1 << 24,
38 kCompositingReasonRoot = 1 << 25,
39 kCompositingReasonLayerForClip = 1 << 26,
40 kCompositingReasonLayerForScrollbar = 1 << 27,
41 kCompositingReasonLayerForScrollingContainer = 1 << 28,
42 kCompositingReasonLayerForForeground = 1 << 29,
43 kCompositingReasonLayerForBackground = 1 << 30,
44 kCompositingReasonLayerForMask = 1 << 31,
45 };
46
47 typedef uint32 CompositingReasons;
48
49 } // namespace cc
50
51 #endif // CC_LAYERS_COMPOSITING_REASONS_H_
OLDNEW
« no previous file with comments | « cc/cc.gyp ('k') | cc/layers/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698