| OLD | NEW |
| 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 blink { | 8 namespace blink { |
| 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 PaintsIntoOwnBacking = 1, | 14 PaintsIntoOwnBacking = 1, |
| 15 | 15 |
| 16 // In this state, the RenderLayer subtree paints into a backing that is shar
ed by | 16 // In this state, the Layer subtree paints into a backing that is shared by |
| 17 // several RenderLayer subtrees. | 17 // several Layer subtrees. |
| 18 PaintsIntoGroupedBacking = 2 | 18 PaintsIntoGroupedBacking = 2 |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 } // namespace blink | 21 } // namespace blink |
| 22 | 22 |
| 23 #endif // CompositingState_h | 23 #endif // CompositingState_h |
| OLD | NEW |