OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 bool hasAcceleratedCompositing() const { return m_hasAcceleratedCompositing;
} | 82 bool hasAcceleratedCompositing() const { return m_hasAcceleratedCompositing;
} |
83 bool layerSquashingEnabled() const; | 83 bool layerSquashingEnabled() const; |
84 | 84 |
85 bool legacyOrCurrentAcceleratedCompositingForOverflowScrollEnabled() const; | 85 bool legacyOrCurrentAcceleratedCompositingForOverflowScrollEnabled() const; |
86 bool legacyAcceleratedCompositingForOverflowScrollEnabled() const; | 86 bool legacyAcceleratedCompositingForOverflowScrollEnabled() const; |
87 | 87 |
88 bool acceleratedCompositingForOverflowScrollEnabled() const; | 88 bool acceleratedCompositingForOverflowScrollEnabled() const; |
89 | 89 |
90 bool canRender3DTransforms() const; | 90 bool canRender3DTransforms() const; |
91 | 91 |
| 92 void updateForceCompositingMode(); |
| 93 |
92 // Copy the accelerated compositing related flags from Settings | 94 // Copy the accelerated compositing related flags from Settings |
93 void cacheAcceleratedCompositingFlags(); | 95 void updateAcceleratedCompositingSettings(); |
94 | 96 |
95 // Called when the layer hierarchy needs to be updated (compositing layers h
ave been | 97 // Called when the layer hierarchy needs to be updated (compositing layers h
ave been |
96 // created, destroyed or re-parented). | 98 // created, destroyed or re-parented). |
97 void setCompositingLayersNeedRebuild(); | 99 void setCompositingLayersNeedRebuild(); |
98 | 100 |
99 // Updating properties required for determining if compositing is necessary. | 101 // Updating properties required for determining if compositing is necessary. |
100 void updateCompositingRequirementsState(); | 102 void updateCompositingRequirementsState(); |
101 void setNeedsUpdateCompositingRequirementsState() { m_needsUpdateCompositing
RequirementsState = true; } | 103 void setNeedsUpdateCompositingRequirementsState() { m_needsUpdateCompositing
RequirementsState = true; } |
102 | 104 |
103 // Used to indicate that a compositing update will be needed for the next fr
ame that gets drawn. | 105 // Used to indicate that a compositing update will be needed for the next fr
ame that gets drawn. |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; | 343 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; |
342 OwnPtr<GraphicsLayer> m_layerForScrollCorner; | 344 OwnPtr<GraphicsLayer> m_layerForScrollCorner; |
343 #if USE(RUBBER_BANDING) | 345 #if USE(RUBBER_BANDING) |
344 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 346 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
345 #endif | 347 #endif |
346 }; | 348 }; |
347 | 349 |
348 } // namespace WebCore | 350 } // namespace WebCore |
349 | 351 |
350 #endif // RenderLayerCompositor_h | 352 #endif // RenderLayerCompositor_h |
OLD | NEW |