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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 bool requiresCompositingForScrollableFrame() const; | 328 bool requiresCompositingForScrollableFrame() const; |
329 bool requiresCompositingForPosition(RenderObject*, const RenderLayer*, Rende
rLayer::ViewportConstrainedNotCompositedReason* = 0) const; | 329 bool requiresCompositingForPosition(RenderObject*, const RenderLayer*, Rende
rLayer::ViewportConstrainedNotCompositedReason* = 0) const; |
330 bool requiresCompositingForOverflowScrolling(const RenderLayer*) const; | 330 bool requiresCompositingForOverflowScrolling(const RenderLayer*) const; |
331 bool requiresCompositingForIndirectReason(RenderObject*, bool hasCompositedD
escendants, bool has3DTransformedDescendants, RenderLayer::IndirectCompositingRe
ason&) const; | 331 bool requiresCompositingForIndirectReason(RenderObject*, bool hasCompositedD
escendants, bool has3DTransformedDescendants, RenderLayer::IndirectCompositingRe
ason&) const; |
332 | 332 |
333 void addViewportConstrainedLayer(RenderLayer*); | 333 void addViewportConstrainedLayer(RenderLayer*); |
334 | 334 |
335 FixedPositionViewportConstraints computeFixedViewportConstraints(RenderLayer
*) const; | 335 FixedPositionViewportConstraints computeFixedViewportConstraints(RenderLayer
*) const; |
336 StickyPositionViewportConstraints computeStickyViewportConstraints(RenderLay
er*) const; | 336 StickyPositionViewportConstraints computeStickyViewportConstraints(RenderLay
er*) const; |
337 | 337 |
338 bool requiresScrollLayer(RootLayerAttachment) const; | |
339 bool requiresHorizontalScrollbarLayer() const; | 338 bool requiresHorizontalScrollbarLayer() const; |
340 bool requiresVerticalScrollbarLayer() const; | 339 bool requiresVerticalScrollbarLayer() const; |
341 bool requiresScrollCornerLayer() const; | 340 bool requiresScrollCornerLayer() const; |
342 #if ENABLE(RUBBER_BANDING) | 341 #if ENABLE(RUBBER_BANDING) |
343 bool requiresOverhangAreasLayer() const; | 342 bool requiresOverhangAreasLayer() const; |
344 bool requiresContentShadowLayer() const; | 343 bool requiresContentShadowLayer() const; |
345 #endif | 344 #endif |
346 | 345 |
347 #if !LOG_DISABLED | 346 #if !LOG_DISABLED |
348 const char* logReasonsForCompositing(const RenderLayer*); | 347 const char* logReasonsForCompositing(const RenderLayer*); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. | 404 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. |
406 double m_obligatoryBackingStoreBytes; | 405 double m_obligatoryBackingStoreBytes; |
407 double m_secondaryBackingStoreBytes; | 406 double m_secondaryBackingStoreBytes; |
408 #endif | 407 #endif |
409 }; | 408 }; |
410 | 409 |
411 | 410 |
412 } // namespace WebCore | 411 } // namespace WebCore |
413 | 412 |
414 #endif // RenderLayerCompositor_h | 413 #endif // RenderLayerCompositor_h |
OLD | NEW |