| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 | 194 |
| 195 // Whether the layer could ever be composited. | 195 // Whether the layer could ever be composited. |
| 196 bool canBeComposited(const RenderLayer*) const; | 196 bool canBeComposited(const RenderLayer*) const; |
| 197 | 197 |
| 198 // FIXME: Move allocateOrClearCompositedLayerMapping to CompositingLayerAssi
gner once we've fixed | 198 // FIXME: Move allocateOrClearCompositedLayerMapping to CompositingLayerAssi
gner once we've fixed |
| 199 // the compositing chicken/egg issues. | 199 // the compositing chicken/egg issues. |
| 200 bool allocateOrClearCompositedLayerMapping(RenderLayer*, CompositingStateTra
nsitionType compositedLayerUpdate); | 200 bool allocateOrClearCompositedLayerMapping(RenderLayer*, CompositingStateTra
nsitionType compositedLayerUpdate); |
| 201 | 201 |
| 202 void updateDirectCompositingReasons(RenderLayer*); | 202 void updateDirectCompositingReasons(RenderLayer*); |
| 203 | 203 |
| 204 void setOverlayLayer(GraphicsLayer*); |
| 205 |
| 204 private: | 206 private: |
| 205 class OverlapMap; | 207 class OverlapMap; |
| 206 | 208 |
| 207 void assertNoUnresolvedDirtyBits(); | 209 void assertNoUnresolvedDirtyBits(); |
| 208 | 210 |
| 209 // Make updates to the layer based on viewport-constrained properties such a
s position:fixed. This can in turn affect | 211 // Make updates to the layer based on viewport-constrained properties such a
s position:fixed. This can in turn affect |
| 210 // compositing. | 212 // compositing. |
| 211 bool updateLayerIfViewportConstrained(RenderLayer*); | 213 bool updateLayerIfViewportConstrained(RenderLayer*); |
| 212 | 214 |
| 213 // GraphicsLayerClient implementation | 215 // GraphicsLayerClient implementation |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; | 304 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; |
| 303 OwnPtr<GraphicsLayer> m_layerForScrollCorner; | 305 OwnPtr<GraphicsLayer> m_layerForScrollCorner; |
| 304 #if USE(RUBBER_BANDING) | 306 #if USE(RUBBER_BANDING) |
| 305 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 307 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
| 306 #endif | 308 #endif |
| 307 }; | 309 }; |
| 308 | 310 |
| 309 } // namespace WebCore | 311 } // namespace WebCore |
| 310 | 312 |
| 311 #endif // RenderLayerCompositor_h | 313 #endif // RenderLayerCompositor_h |
| OLD | NEW |