| 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 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef RenderLayerCompositor_h | 26 #ifndef RenderLayerCompositor_h |
| 27 #define RenderLayerCompositor_h | 27 #define RenderLayerCompositor_h |
| 28 | 28 |
| 29 #include "core/page/ChromeClient.h" | 29 #include "core/page/ChromeClient.h" |
| 30 #include "core/rendering/RenderLayer.h" | 30 #include "core/rendering/RenderLayer.h" |
| 31 #include "core/rendering/compositing/CompositingReasonFinder.h" | 31 #include "core/rendering/compositing/CompositingReasonFinder.h" |
| 32 #include "core/rendering/compositing/GraphicsLayerUpdater.h" | |
| 33 #include "platform/graphics/GraphicsLayerClient.h" | 32 #include "platform/graphics/GraphicsLayerClient.h" |
| 34 #include "wtf/HashMap.h" | 33 #include "wtf/HashMap.h" |
| 35 | 34 |
| 36 namespace WebCore { | 35 namespace WebCore { |
| 37 | 36 |
| 38 class FixedPositionViewportConstraints; | 37 class FixedPositionViewportConstraints; |
| 39 class GraphicsLayer; | 38 class GraphicsLayer; |
| 40 class RenderEmbeddedObject; | 39 class RenderEmbeddedObject; |
| 41 class RenderLayerStackingNode; | 40 class RenderLayerStackingNode; |
| 42 class RenderPart; | 41 class RenderPart; |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 OwnPtr<GraphicsLayer> m_rootTransformLayer; | 333 OwnPtr<GraphicsLayer> m_rootTransformLayer; |
| 335 | 334 |
| 336 CompositingReasonFinder m_compositingReasonFinder; | 335 CompositingReasonFinder m_compositingReasonFinder; |
| 337 | 336 |
| 338 bool m_hasAcceleratedCompositing; | 337 bool m_hasAcceleratedCompositing; |
| 339 bool m_showRepaintCounter; | 338 bool m_showRepaintCounter; |
| 340 | 339 |
| 341 // FIXME: This should absolutely not be mutable. | 340 // FIXME: This should absolutely not be mutable. |
| 342 mutable bool m_needsToRecomputeCompositingRequirements; | 341 mutable bool m_needsToRecomputeCompositingRequirements; |
| 343 bool m_needsToUpdateLayerTreeGeometry; | 342 bool m_needsToUpdateLayerTreeGeometry; |
| 344 GraphicsLayerUpdater::UpdateType m_pendingUpdateType; | |
| 345 | 343 |
| 346 bool m_compositing; | 344 bool m_compositing; |
| 347 bool m_compositingLayersNeedRebuild; | 345 bool m_compositingLayersNeedRebuild; |
| 348 bool m_forceCompositingMode; | 346 bool m_forceCompositingMode; |
| 349 bool m_needsUpdateCompositingRequirementsState; | 347 bool m_needsUpdateCompositingRequirementsState; |
| 350 | 348 |
| 351 bool m_isTrackingRepaints; // Used for testing. | 349 bool m_isTrackingRepaints; // Used for testing. |
| 352 | 350 |
| 353 RootLayerAttachment m_rootLayerAttachment; | 351 RootLayerAttachment m_rootLayerAttachment; |
| 354 | 352 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 372 OwnPtr<GraphicsLayer> m_layerForScrollCorner; | 370 OwnPtr<GraphicsLayer> m_layerForScrollCorner; |
| 373 #if USE(RUBBER_BANDING) | 371 #if USE(RUBBER_BANDING) |
| 374 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 372 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
| 375 #endif | 373 #endif |
| 376 }; | 374 }; |
| 377 | 375 |
| 378 | 376 |
| 379 } // namespace WebCore | 377 } // namespace WebCore |
| 380 | 378 |
| 381 #endif // RenderLayerCompositor_h | 379 #endif // RenderLayerCompositor_h |
| OLD | NEW |