| 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 bool requiresCompositingForAnimation(RenderObject*) const; | 285 bool requiresCompositingForAnimation(RenderObject*) const; |
| 286 // Whether a (not necessarily running) transition enforces the need for a co
mpositing layer. | 286 // Whether a (not necessarily running) transition enforces the need for a co
mpositing layer. |
| 287 bool requiresCompositingForTransition(RenderObject*) const; | 287 bool requiresCompositingForTransition(RenderObject*) const; |
| 288 bool requiresCompositingForTransform(RenderObject*) const; | 288 bool requiresCompositingForTransform(RenderObject*) const; |
| 289 bool requiresCompositingForVideo(RenderObject*) const; | 289 bool requiresCompositingForVideo(RenderObject*) const; |
| 290 bool requiresCompositingForCanvas(RenderObject*) const; | 290 bool requiresCompositingForCanvas(RenderObject*) const; |
| 291 bool requiresCompositingForPlugin(RenderObject*) const; | 291 bool requiresCompositingForPlugin(RenderObject*) const; |
| 292 bool requiresCompositingForFrame(RenderObject*) const; | 292 bool requiresCompositingForFrame(RenderObject*) const; |
| 293 bool requiresCompositingForBackfaceVisibilityHidden(RenderObject*) const; | 293 bool requiresCompositingForBackfaceVisibilityHidden(RenderObject*) const; |
| 294 bool requiresCompositingForFilters(RenderObject*) const; | 294 bool requiresCompositingForFilters(RenderObject*) const; |
| 295 bool requiresCompositingForBlending(RenderObject* renderer) const; | |
| 296 bool requiresCompositingForOverflowScrollingParent(const RenderLayer*) const
; | 295 bool requiresCompositingForOverflowScrollingParent(const RenderLayer*) const
; |
| 297 bool requiresCompositingForOutOfFlowClipping(const RenderLayer*) const; | 296 bool requiresCompositingForOutOfFlowClipping(const RenderLayer*) const; |
| 298 bool requiresCompositingForScrollableFrame() const; | 297 bool requiresCompositingForScrollableFrame() const; |
| 299 bool requiresCompositingForPosition(RenderObject*, const RenderLayer*, Rende
rLayer::ViewportConstrainedNotCompositedReason* = 0) const; | 298 bool requiresCompositingForPosition(RenderObject*, const RenderLayer*, Rende
rLayer::ViewportConstrainedNotCompositedReason* = 0) const; |
| 300 bool requiresCompositingForOverflowScrolling(const RenderLayer*) const; | 299 bool requiresCompositingForOverflowScrolling(const RenderLayer*) const; |
| 301 | 300 |
| 302 void addViewportConstrainedLayer(RenderLayer*); | 301 void addViewportConstrainedLayer(RenderLayer*); |
| 303 | 302 |
| 304 FixedPositionViewportConstraints computeFixedViewportConstraints(RenderLayer
*) const; | 303 FixedPositionViewportConstraints computeFixedViewportConstraints(RenderLayer
*) const; |
| 305 StickyPositionViewportConstraints computeStickyViewportConstraints(RenderLay
er*) const; | 304 StickyPositionViewportConstraints computeStickyViewportConstraints(RenderLay
er*) const; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. | 368 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. |
| 370 double m_obligatoryBackingStoreBytes; | 369 double m_obligatoryBackingStoreBytes; |
| 371 double m_secondaryBackingStoreBytes; | 370 double m_secondaryBackingStoreBytes; |
| 372 #endif | 371 #endif |
| 373 }; | 372 }; |
| 374 | 373 |
| 375 | 374 |
| 376 } // namespace WebCore | 375 } // namespace WebCore |
| 377 | 376 |
| 378 #endif // RenderLayerCompositor_h | 377 #endif // RenderLayerCompositor_h |
| OLD | NEW |