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 12 matching lines...) Expand all Loading... |
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 CompositedLayerMapping_h | 26 #ifndef CompositedLayerMapping_h |
27 #define CompositedLayerMapping_h | 27 #define CompositedLayerMapping_h |
28 | 28 |
29 #include "core/rendering/RenderLayer.h" | 29 #include "core/rendering/RenderLayer.h" |
30 #include "core/rendering/compositing/GraphicsLayerUpdater.h" | 30 #include "core/rendering/compositing/GraphicsLayerUpdater.h" |
31 #include "platform/geometry/FloatPoint.h" | 31 #include "platform/geometry/FloatPoint.h" |
32 #include "platform/geometry/FloatPoint3D.h" | 32 #include "platform/geometry/FloatPoint3D.h" |
| 33 #include "platform/graphics/BitmapImage.h" |
33 #include "platform/graphics/GraphicsLayer.h" | 34 #include "platform/graphics/GraphicsLayer.h" |
34 #include "platform/graphics/GraphicsLayerClient.h" | 35 #include "platform/graphics/GraphicsLayerClient.h" |
35 | 36 |
36 namespace WebCore { | 37 namespace WebCore { |
37 | 38 |
38 class RenderLayerCompositor; | 39 class RenderLayerCompositor; |
39 | 40 |
40 // A GraphicsLayerPaintInfo contains all the info needed to paint a partial subt
ree of RenderLayers into a GraphicsLayer. | 41 // A GraphicsLayerPaintInfo contains all the info needed to paint a partial subt
ree of RenderLayers into a GraphicsLayer. |
41 struct GraphicsLayerPaintInfo { | 42 struct GraphicsLayerPaintInfo { |
42 RenderLayer* renderLayer; | 43 RenderLayer* renderLayer; |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 bool m_canCompositeFilters : 1; | 405 bool m_canCompositeFilters : 1; |
405 bool m_backgroundLayerPaintsFixedRootBackground : 1; | 406 bool m_backgroundLayerPaintsFixedRootBackground : 1; |
406 bool m_needToUpdateGraphicsLayer : 1; | 407 bool m_needToUpdateGraphicsLayer : 1; |
407 bool m_needToUpdateGraphicsLayerOfAllDecendants : 1; | 408 bool m_needToUpdateGraphicsLayerOfAllDecendants : 1; |
408 bool m_scrollingContentsAreEmpty : 1; | 409 bool m_scrollingContentsAreEmpty : 1; |
409 }; | 410 }; |
410 | 411 |
411 } // namespace WebCore | 412 } // namespace WebCore |
412 | 413 |
413 #endif // CompositedLayerMapping_h | 414 #endif // CompositedLayerMapping_h |
OLD | NEW |