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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 bool needsContentsCompositingLayer(const RenderLayer*) const; | 110 bool needsContentsCompositingLayer(const RenderLayer*) const; |
111 | 111 |
112 bool supportsFixedRootBackgroundCompositing() const; | 112 bool supportsFixedRootBackgroundCompositing() const; |
113 bool needsFixedRootBackgroundLayer(const RenderLayer*) const; | 113 bool needsFixedRootBackgroundLayer(const RenderLayer*) const; |
114 GraphicsLayer* fixedRootBackgroundLayer() const; | 114 GraphicsLayer* fixedRootBackgroundLayer() const; |
115 void setNeedsUpdateFixedBackground() { m_needsUpdateFixedBackground = true;
} | 115 void setNeedsUpdateFixedBackground() { m_needsUpdateFixedBackground = true;
} |
116 | 116 |
117 // Repaint the appropriate layers when the given RenderLayer starts or stops
being composited. | 117 // Repaint the appropriate layers when the given RenderLayer starts or stops
being composited. |
118 void repaintOnCompositingChange(RenderLayer*); | 118 void repaintOnCompositingChange(RenderLayer*); |
119 | 119 |
120 void repaintInCompositedAncestor(RenderLayer*, const LayoutRect&); | |
121 void repaintCompositedLayers(); | 120 void repaintCompositedLayers(); |
122 | 121 |
123 RenderLayer* rootRenderLayer() const; | 122 RenderLayer* rootRenderLayer() const; |
124 GraphicsLayer* rootGraphicsLayer() const; | 123 GraphicsLayer* rootGraphicsLayer() const; |
125 GraphicsLayer* scrollLayer() const; | 124 GraphicsLayer* scrollLayer() const; |
126 GraphicsLayer* containerLayer() const; | 125 GraphicsLayer* containerLayer() const; |
127 | 126 |
128 // We don't always have a root transform layer. This function lazily allocat
es one | 127 // We don't always have a root transform layer. This function lazily allocat
es one |
129 // and returns it as required. | 128 // and returns it as required. |
130 GraphicsLayer* ensureRootTransformLayer(); | 129 GraphicsLayer* ensureRootTransformLayer(); |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 #if USE(RUBBER_BANDING) | 268 #if USE(RUBBER_BANDING) |
270 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 269 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
271 #endif | 270 #endif |
272 | 271 |
273 bool m_inOverlayFullscreenVideo; | 272 bool m_inOverlayFullscreenVideo; |
274 }; | 273 }; |
275 | 274 |
276 } // namespace WebCore | 275 } // namespace WebCore |
277 | 276 |
278 #endif // RenderLayerCompositor_h | 277 #endif // RenderLayerCompositor_h |
OLD | NEW |