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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 bool requiresCompositingForAnimation(RenderObject*) const; | 277 bool requiresCompositingForAnimation(RenderObject*) const; |
278 // Whether a (not necessarily running) transition enforces the need for a co
mpositing layer. | 278 // Whether a (not necessarily running) transition enforces the need for a co
mpositing layer. |
279 bool requiresCompositingForTransition(RenderObject*) const; | 279 bool requiresCompositingForTransition(RenderObject*) const; |
280 bool requiresCompositingForTransform(RenderObject*) const; | 280 bool requiresCompositingForTransform(RenderObject*) const; |
281 bool requiresCompositingForVideo(RenderObject*) const; | 281 bool requiresCompositingForVideo(RenderObject*) const; |
282 bool requiresCompositingForCanvas(RenderObject*) const; | 282 bool requiresCompositingForCanvas(RenderObject*) const; |
283 bool requiresCompositingForPlugin(RenderObject*) const; | 283 bool requiresCompositingForPlugin(RenderObject*) const; |
284 bool requiresCompositingForFrame(RenderObject*) const; | 284 bool requiresCompositingForFrame(RenderObject*) const; |
285 bool requiresCompositingForBackfaceVisibilityHidden(RenderObject*) const; | 285 bool requiresCompositingForBackfaceVisibilityHidden(RenderObject*) const; |
286 bool requiresCompositingForFilters(RenderObject*) const; | 286 bool requiresCompositingForFilters(RenderObject*) const; |
287 bool requiresCompositingForBlending(RenderObject* renderer) const; | |
288 bool requiresCompositingForOverflowScrollingParent(const RenderLayer*) const
; | 287 bool requiresCompositingForOverflowScrollingParent(const RenderLayer*) const
; |
289 bool requiresCompositingForOutOfFlowClipping(const RenderLayer*) const; | 288 bool requiresCompositingForOutOfFlowClipping(const RenderLayer*) const; |
290 bool requiresCompositingForScrollableFrame() const; | 289 bool requiresCompositingForScrollableFrame() const; |
291 bool requiresCompositingForPosition(RenderObject*, const RenderLayer*, Rende
rLayer::ViewportConstrainedNotCompositedReason* = 0) const; | 290 bool requiresCompositingForPosition(RenderObject*, const RenderLayer*, Rende
rLayer::ViewportConstrainedNotCompositedReason* = 0) const; |
292 bool requiresCompositingForOverflowScrolling(const RenderLayer*) const; | 291 bool requiresCompositingForOverflowScrolling(const RenderLayer*) const; |
293 | 292 |
294 void addViewportConstrainedLayer(RenderLayer*); | 293 void addViewportConstrainedLayer(RenderLayer*); |
295 | 294 |
296 FixedPositionViewportConstraints computeFixedViewportConstraints(RenderLayer
*) const; | 295 FixedPositionViewportConstraints computeFixedViewportConstraints(RenderLayer
*) const; |
297 StickyPositionViewportConstraints computeStickyViewportConstraints(RenderLay
er*) const; | 296 StickyPositionViewportConstraints computeStickyViewportConstraints(RenderLay
er*) const; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. | 360 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. |
362 double m_obligatoryBackingStoreBytes; | 361 double m_obligatoryBackingStoreBytes; |
363 double m_secondaryBackingStoreBytes; | 362 double m_secondaryBackingStoreBytes; |
364 #endif | 363 #endif |
365 }; | 364 }; |
366 | 365 |
367 | 366 |
368 } // namespace WebCore | 367 } // namespace WebCore |
369 | 368 |
370 #endif // RenderLayerCompositor_h | 369 #endif // RenderLayerCompositor_h |
OLD | NEW |