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

Side by Side Diff: Source/core/rendering/CompositingState.h

Issue 88863002: Land layer squashing behind a flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: removed bogus asserts Created 7 years 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 | « Source/core/rendering/CompositingReasons.h ('k') | Source/core/rendering/RenderLayer.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 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 CompositingState_h 5 #ifndef CompositingState_h
6 #define CompositingState_h 6 #define CompositingState_h
7 7
8 namespace WebCore { 8 namespace WebCore {
9 9
10 enum CompositingState { 10 enum CompositingState {
11 // The layer paints into its enclosing composited ancestor. 11 // The layer paints into its enclosing composited ancestor.
12 NotComposited = 0, 12 NotComposited = 0,
13 13
14 // The layer is composited, but its contents still paint into enclosing comp osited ancestor. 14 // The layer is composited, but its contents still paint into enclosing comp osited ancestor.
15 // In this state, repaint invalidations must be sent to the enclosing compos ited ancestor. 15 // In this state, repaint invalidations must be sent to the enclosing compos ited ancestor.
16 // Typically this happens when a layer's properties need to be represented i n the compositor 16 // Typically this happens when a layer's properties need to be represented i n the compositor
17 // output data structures, but it doesn't actually have any other reasons to be composited. 17 // output data structures, but it doesn't actually have any other reasons to be composited.
18 HasOwnBackingButPaintsIntoAncestor = 1, 18 HasOwnBackingButPaintsIntoAncestor = 1,
19 19
20 PaintsIntoOwnBacking = 2, 20 PaintsIntoOwnBacking = 2,
21
22 // In this state, the RenderLayer subtree paints into a backing that is shar ed by
23 // several RenderLayer subtrees.
24 PaintsIntoGroupedBacking = 3
21 }; 25 };
22 26
23 } // namespace WebCore 27 } // namespace WebCore
24 28
25 #endif // CompositingState_h 29 #endif // CompositingState_h
OLDNEW
« no previous file with comments | « Source/core/rendering/CompositingReasons.h ('k') | Source/core/rendering/RenderLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698