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: Source/core/rendering/CompositingReasons.h

Issue 23511004: mix-blend-mode implementation for accelerated layers - blink part (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: adding the rendering part Created 7 years, 3 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 2013 The Chromium Authors. All rights reserved. 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 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 #ifndef CompositingReasons_h 5 #ifndef CompositingReasons_h
6 #define CompositingReasons_h 6 #define CompositingReasons_h
7 7
8 #include "wtf/MathExtras.h" 8 #include "wtf/MathExtras.h"
9 9
10 namespace WebCore { 10 namespace WebCore {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 const uint64_t CompositingReasonLayerForForeground = UINT64_ C(1) << 29; 53 const uint64_t CompositingReasonLayerForForeground = UINT64_ C(1) << 29;
54 const uint64_t CompositingReasonLayerForBackground = UINT64_ C(1) << 30; 54 const uint64_t CompositingReasonLayerForBackground = UINT64_ C(1) << 30;
55 const uint64_t CompositingReasonLayerForMask = UINT64_ C(1) << 31; 55 const uint64_t CompositingReasonLayerForMask = UINT64_ C(1) << 31;
56 56
57 // FIXME: the following compositing reasons need to be re-organized to fit with categories 57 // FIXME: the following compositing reasons need to be re-organized to fit with categories
58 // used in all the other reasons above. 58 // used in all the other reasons above.
59 const uint64_t CompositingReasonOverflowScrollingParent = UINT64_ C(1) << 32; 59 const uint64_t CompositingReasonOverflowScrollingParent = UINT64_ C(1) << 32;
60 const uint64_t CompositingReasonOutOfFlowClipping = UINT64_ C(1) << 33; 60 const uint64_t CompositingReasonOutOfFlowClipping = UINT64_ C(1) << 33;
61 61
62 const uint64_t CompositingReasonLayerForVideoOverlay = UINT64_ C(1) << 34; 62 const uint64_t CompositingReasonLayerForVideoOverlay = UINT64_ C(1) << 34;
63 const uint64_t CompositingReasonIsolateCompositedDescendants = UINT64_ C(1) << 35;
63 64
64 // Note: if you add more reasons here, you will need to update WebCompositingRea sons as well. 65 // Note: if you add more reasons here, you will need to update WebCompositingRea sons as well.
65 typedef uint64_t CompositingReasons; 66 typedef uint64_t CompositingReasons;
66 67
67 68
68 } // namespace WebCore 69 } // namespace WebCore
69 70
70 #endif // CompositingReasons_h 71 #endif // CompositingReasons_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698