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" |
32 #include "platform/graphics/GraphicsLayerClient.h" | 33 #include "platform/graphics/GraphicsLayerClient.h" |
33 #include "wtf/HashMap.h" | 34 #include "wtf/HashMap.h" |
34 | 35 |
35 namespace WebCore { | 36 namespace WebCore { |
36 | 37 |
37 class FixedPositionViewportConstraints; | 38 class FixedPositionViewportConstraints; |
38 class GraphicsLayer; | 39 class GraphicsLayer; |
39 class RenderEmbeddedObject; | 40 class RenderEmbeddedObject; |
40 class RenderLayerStackingNode; | 41 class RenderLayerStackingNode; |
41 class RenderPart; | 42 class RenderPart; |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 OwnPtr<GraphicsLayer> m_rootTransformLayer; | 334 OwnPtr<GraphicsLayer> m_rootTransformLayer; |
334 | 335 |
335 CompositingReasonFinder m_compositingReasonFinder; | 336 CompositingReasonFinder m_compositingReasonFinder; |
336 | 337 |
337 bool m_hasAcceleratedCompositing; | 338 bool m_hasAcceleratedCompositing; |
338 bool m_showRepaintCounter; | 339 bool m_showRepaintCounter; |
339 | 340 |
340 // FIXME: This should absolutely not be mutable. | 341 // FIXME: This should absolutely not be mutable. |
341 mutable bool m_needsToRecomputeCompositingRequirements; | 342 mutable bool m_needsToRecomputeCompositingRequirements; |
342 bool m_needsToUpdateLayerTreeGeometry; | 343 bool m_needsToUpdateLayerTreeGeometry; |
| 344 GraphicsLayerUpdater::UpdateType m_pendingUpdateType; |
343 | 345 |
344 bool m_compositing; | 346 bool m_compositing; |
345 bool m_compositingLayersNeedRebuild; | 347 bool m_compositingLayersNeedRebuild; |
346 bool m_forceCompositingMode; | 348 bool m_forceCompositingMode; |
347 bool m_needsUpdateCompositingRequirementsState; | 349 bool m_needsUpdateCompositingRequirementsState; |
348 | 350 |
349 bool m_isTrackingRepaints; // Used for testing. | 351 bool m_isTrackingRepaints; // Used for testing. |
350 | 352 |
351 RootLayerAttachment m_rootLayerAttachment; | 353 RootLayerAttachment m_rootLayerAttachment; |
352 | 354 |
(...skipping 17 matching lines...) Expand all Loading... |
370 OwnPtr<GraphicsLayer> m_layerForScrollCorner; | 372 OwnPtr<GraphicsLayer> m_layerForScrollCorner; |
371 #if USE(RUBBER_BANDING) | 373 #if USE(RUBBER_BANDING) |
372 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 374 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
373 #endif | 375 #endif |
374 }; | 376 }; |
375 | 377 |
376 | 378 |
377 } // namespace WebCore | 379 } // namespace WebCore |
378 | 380 |
379 #endif // RenderLayerCompositor_h | 381 #endif // RenderLayerCompositor_h |
OLD | NEW |