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