| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights
reserved. |
| 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 enum CompositingTrigger { | 27 enum CompositingTrigger { |
| 28 ThreeDTransformTrigger = 1 << 0, | 28 ThreeDTransformTrigger = 1 << 0, |
| 29 VideoTrigger = 1 << 1, | 29 VideoTrigger = 1 << 1, |
| 30 PluginTrigger = 1 << 2, | 30 PluginTrigger = 1 << 2, |
| 31 CanvasTrigger = 1 << 3, | 31 CanvasTrigger = 1 << 3, |
| 32 AnimationTrigger = 1 << 4, | 32 AnimationTrigger = 1 << 4, |
| 33 FilterTrigger = 1 << 5, | 33 FilterTrigger = 1 << 5, |
| 34 ScrollableInnerFrameTrigger = 1 << 6, | 34 ScrollableInnerFrameTrigger = 1 << 6, |
| 35 GPURasterizationTrigger = 1 << 7, | 35 GPURasterizationTrigger = 1 << 7, |
| 36 |
| 36 // FIXME: This is a temporary trigger for enabling the old, opt-in path for | 37 // FIXME: This is a temporary trigger for enabling the old, opt-in path for |
| 37 // accelerated overflow scroll. It should be removed once the "universal" | 38 // accelerated overflow scroll. It should be removed once the "universal" |
| 38 // path is ready (crbug.com/254111). | 39 // path is ready (crbug.com/254111). |
| 40 // Currently there is no way to enable this trigger, which means we can |
| 41 // remove it once we're confident in the current codepaths. |
| 39 LegacyOverflowScrollTrigger = 1 << 8, | 42 LegacyOverflowScrollTrigger = 1 << 8, |
| 43 |
| 40 OverflowScrollTrigger = 1 << 9, | 44 OverflowScrollTrigger = 1 << 9, |
| 41 ViewportConstrainedPositionedTrigger = 1 << 10, | 45 ViewportConstrainedPositionedTrigger = 1 << 10, |
| 42 AllCompositingTriggers = 0xFFFFFFFF, | 46 AllCompositingTriggers = 0xFFFFFFFF, |
| 43 }; | 47 }; |
| 44 | 48 |
| 45 typedef unsigned CompositingTriggerFlags; | 49 typedef unsigned CompositingTriggerFlags; |
| 46 | 50 |
| 47 } | 51 } |
| 48 | 52 |
| 49 #endif | 53 #endif |
| OLD | NEW |