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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 168 |
169 void updateDirectCompositingReasons(RenderLayer*); | 169 void updateDirectCompositingReasons(RenderLayer*); |
170 | 170 |
171 void setOverlayLayer(GraphicsLayer*); | 171 void setOverlayLayer(GraphicsLayer*); |
172 | 172 |
173 bool inOverlayFullscreenVideo() const { return m_inOverlayFullscreenVideo; } | 173 bool inOverlayFullscreenVideo() const { return m_inOverlayFullscreenVideo; } |
174 | 174 |
175 private: | 175 private: |
176 class OverlapMap; | 176 class OverlapMap; |
177 | 177 |
178 #if ASSERT_ENABLED | 178 #if ENABLE(ASSERT) |
179 void assertNoUnresolvedDirtyBits(); | 179 void assertNoUnresolvedDirtyBits(); |
180 #endif | 180 #endif |
181 | 181 |
182 // Make updates to the layer based on viewport-constrained properties such a
s position:fixed. This can in turn affect | 182 // Make updates to the layer based on viewport-constrained properties such a
s position:fixed. This can in turn affect |
183 // compositing. | 183 // compositing. |
184 bool updateLayerIfViewportConstrained(RenderLayer*); | 184 bool updateLayerIfViewportConstrained(RenderLayer*); |
185 | 185 |
186 // GraphicsLayerClient implementation | 186 // GraphicsLayerClient implementation |
187 virtual void notifyAnimationStarted(const GraphicsLayer*, double) OVERRIDE {
} | 187 virtual void notifyAnimationStarted(const GraphicsLayer*, double) OVERRIDE {
} |
188 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL
ayerPaintingPhase, const IntRect&) OVERRIDE; | 188 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL
ayerPaintingPhase, const IntRect&) OVERRIDE; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 #if USE(RUBBER_BANDING) | 259 #if USE(RUBBER_BANDING) |
260 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 260 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
261 #endif | 261 #endif |
262 | 262 |
263 bool m_inOverlayFullscreenVideo; | 263 bool m_inOverlayFullscreenVideo; |
264 }; | 264 }; |
265 | 265 |
266 } // namespace WebCore | 266 } // namespace WebCore |
267 | 267 |
268 #endif // RenderLayerCompositor_h | 268 #endif // RenderLayerCompositor_h |
OLD | NEW |