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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 | 264 |
265 void notifyIFramesOfCompositingChange(); | 265 void notifyIFramesOfCompositingChange(); |
266 | 266 |
267 Page* page() const; | 267 Page* page() const; |
268 | 268 |
269 GraphicsLayerFactory* graphicsLayerFactory() const; | 269 GraphicsLayerFactory* graphicsLayerFactory() const; |
270 ScrollingCoordinator* scrollingCoordinator() const; | 270 ScrollingCoordinator* scrollingCoordinator() const; |
271 | 271 |
272 // Whether a running transition or animation enforces the need for a composi
ting layer. | 272 // Whether a running transition or animation enforces the need for a composi
ting layer. |
273 bool requiresCompositingForAnimation(RenderObject*) const; | 273 bool requiresCompositingForAnimation(RenderObject*) const; |
| 274 // Whether a (not necessarily running) transition enforces the need for a co
mpositing layer. |
| 275 bool requiresCompositingForTransition(RenderObject*) const; |
274 bool requiresCompositingForTransform(RenderObject*) const; | 276 bool requiresCompositingForTransform(RenderObject*) const; |
275 bool requiresCompositingForVideo(RenderObject*) const; | 277 bool requiresCompositingForVideo(RenderObject*) const; |
276 bool requiresCompositingForCanvas(RenderObject*) const; | 278 bool requiresCompositingForCanvas(RenderObject*) const; |
277 bool requiresCompositingForPlugin(RenderObject*) const; | 279 bool requiresCompositingForPlugin(RenderObject*) const; |
278 bool requiresCompositingForFrame(RenderObject*) const; | 280 bool requiresCompositingForFrame(RenderObject*) const; |
279 bool requiresCompositingForBackfaceVisibilityHidden(RenderObject*) const; | 281 bool requiresCompositingForBackfaceVisibilityHidden(RenderObject*) const; |
280 bool requiresCompositingForFilters(RenderObject*) const; | 282 bool requiresCompositingForFilters(RenderObject*) const; |
281 bool requiresCompositingForBlending(RenderObject* renderer) const; | 283 bool requiresCompositingForBlending(RenderObject* renderer) const; |
282 bool requiresCompositingForScrollableFrame() const; | 284 bool requiresCompositingForScrollableFrame() const; |
283 bool requiresCompositingForPosition(RenderObject*, const RenderLayer*, Rende
rLayer::ViewportConstrainedNotCompositedReason* = 0) const; | 285 bool requiresCompositingForPosition(RenderObject*, const RenderLayer*, Rende
rLayer::ViewportConstrainedNotCompositedReason* = 0) const; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. | 354 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. |
353 double m_obligatoryBackingStoreBytes; | 355 double m_obligatoryBackingStoreBytes; |
354 double m_secondaryBackingStoreBytes; | 356 double m_secondaryBackingStoreBytes; |
355 #endif | 357 #endif |
356 }; | 358 }; |
357 | 359 |
358 | 360 |
359 } // namespace WebCore | 361 } // namespace WebCore |
360 | 362 |
361 #endif // RenderLayerCompositor_h | 363 #endif // RenderLayerCompositor_h |
OLD | NEW |