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

Side by Side Diff: webkit/renderer/compositor_bindings/web_compositing_reasons.cc

Issue 23530026: CSS Blending: Mix-blend-mode shouldn't force the creation of a composited layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Completely remove blending compositing flag 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
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/port.h" 6 #include "base/port.h"
7 #include "cc/layers/compositing_reasons.h" 7 #include "cc/layers/compositing_reasons.h"
8 #include "third_party/WebKit/public/platform/WebCompositingReasons.h" 8 #include "third_party/WebKit/public/platform/WebCompositingReasons.h"
9 9
10 #define COMPILE_ASSERT_MATCHING_UINT64(cc_name, webkit_name) \ 10 #define COMPILE_ASSERT_MATCHING_UINT64(cc_name, webkit_name) \
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 COMPILE_ASSERT_MATCHING_UINT64( 53 COMPILE_ASSERT_MATCHING_UINT64(
54 cc::kCompositingReasonPositionSticky, 54 cc::kCompositingReasonPositionSticky,
55 WebKit::CompositingReasonPositionSticky); 55 WebKit::CompositingReasonPositionSticky);
56 56
57 COMPILE_ASSERT_MATCHING_UINT64( 57 COMPILE_ASSERT_MATCHING_UINT64(
58 cc::kCompositingReasonOverflowScrollingTouch, 58 cc::kCompositingReasonOverflowScrollingTouch,
59 WebKit::CompositingReasonOverflowScrollingTouch); 59 WebKit::CompositingReasonOverflowScrollingTouch);
60 60
61 COMPILE_ASSERT_MATCHING_UINT64( 61 COMPILE_ASSERT_MATCHING_UINT64(
62 cc::kCompositingReasonBlending,
63 WebKit::CompositingReasonBlending);
64
65 COMPILE_ASSERT_MATCHING_UINT64(
66 cc::kCompositingReasonAssumedOverlap, 62 cc::kCompositingReasonAssumedOverlap,
67 WebKit::CompositingReasonAssumedOverlap); 63 WebKit::CompositingReasonAssumedOverlap);
68 64
69 COMPILE_ASSERT_MATCHING_UINT64( 65 COMPILE_ASSERT_MATCHING_UINT64(
70 cc::kCompositingReasonOverlap, 66 cc::kCompositingReasonOverlap,
71 WebKit::CompositingReasonOverlap); 67 WebKit::CompositingReasonOverlap);
72 68
73 COMPILE_ASSERT_MATCHING_UINT64( 69 COMPILE_ASSERT_MATCHING_UINT64(
74 cc::kCompositingReasonNegativeZIndexChildren, 70 cc::kCompositingReasonNegativeZIndexChildren,
75 WebKit::CompositingReasonNegativeZIndexChildren); 71 WebKit::CompositingReasonNegativeZIndexChildren);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 cc::kCompositingReasonLayerForMask, 138 cc::kCompositingReasonLayerForMask,
143 WebKit::CompositingReasonLayerForMask); 139 WebKit::CompositingReasonLayerForMask);
144 140
145 COMPILE_ASSERT_MATCHING_UINT64( 141 COMPILE_ASSERT_MATCHING_UINT64(
146 cc::kCompositingReasonOverflowScrollingParent, 142 cc::kCompositingReasonOverflowScrollingParent,
147 WebKit::CompositingReasonOverflowScrollingParent); 143 WebKit::CompositingReasonOverflowScrollingParent);
148 144
149 COMPILE_ASSERT_MATCHING_UINT64( 145 COMPILE_ASSERT_MATCHING_UINT64(
150 cc::kCompositingReasonOutOfFlowClipping, 146 cc::kCompositingReasonOutOfFlowClipping,
151 WebKit::CompositingReasonOutOfFlowClipping); 147 WebKit::CompositingReasonOutOfFlowClipping);
OLDNEW
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698