OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 void updateImageContents(); | 265 void updateImageContents(); |
266 | 266 |
267 Color rendererBackgroundColor() const; | 267 Color rendererBackgroundColor() const; |
268 void updateBackgroundColor(); | 268 void updateBackgroundColor(); |
269 void updateContentsRect(); | 269 void updateContentsRect(); |
270 void updateAfterWidgetResize(); | 270 void updateAfterWidgetResize(); |
271 void updateCompositingReasons(); | 271 void updateCompositingReasons(); |
272 | 272 |
273 bool hasVisibleNonCompositingDescendantLayers() const; | 273 bool hasVisibleNonCompositingDescendantLayers() const; |
274 | 274 |
275 bool shouldClipCompositedBounds() const; | |
276 | |
277 void paintsIntoCompositedAncestorChanged(); | 275 void paintsIntoCompositedAncestorChanged(); |
278 | 276 |
279 void doPaintTask(GraphicsLayerPaintInfo&, GraphicsContext*, const IntRect& c
lip); | 277 void doPaintTask(GraphicsLayerPaintInfo&, GraphicsContext*, const IntRect& c
lip); |
280 | 278 |
281 RenderLayer& m_owningLayer; | 279 RenderLayer& m_owningLayer; |
282 | 280 |
283 // The hierarchy of layers that is maintained by the CompositedLayerMapping
looks like this: | 281 // The hierarchy of layers that is maintained by the CompositedLayerMapping
looks like this: |
284 // | 282 // |
285 // + m_ancestorClippingLayer [OPTIONAL] | 283 // + m_ancestorClippingLayer [OPTIONAL] |
286 // + m_graphicsLayer | 284 // + m_graphicsLayer |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 bool m_requiresOwnBackingStoreForAncestorReasons : 1; | 373 bool m_requiresOwnBackingStoreForAncestorReasons : 1; |
376 bool m_canCompositeFilters : 1; | 374 bool m_canCompositeFilters : 1; |
377 bool m_backgroundLayerPaintsFixedRootBackground : 1; | 375 bool m_backgroundLayerPaintsFixedRootBackground : 1; |
378 bool m_needToUpdateGraphicsLayer : 1; | 376 bool m_needToUpdateGraphicsLayer : 1; |
379 bool m_needToUpdateGraphicsLayerOfAllDecendants : 1; | 377 bool m_needToUpdateGraphicsLayerOfAllDecendants : 1; |
380 }; | 378 }; |
381 | 379 |
382 } // namespace WebCore | 380 } // namespace WebCore |
383 | 381 |
384 #endif // CompositedLayerMapping_h | 382 #endif // CompositedLayerMapping_h |
OLD | NEW |