| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 | 185 |
| 186 // Whether the layer could ever be composited. | 186 // Whether the layer could ever be composited. |
| 187 bool canBeComposited(const RenderLayer*) const; | 187 bool canBeComposited(const RenderLayer*) const; |
| 188 | 188 |
| 189 // FIXME: Move allocateOrClearCompositedLayerMapping to CompositingLayerAssi
gner once we've fixed | 189 // FIXME: Move allocateOrClearCompositedLayerMapping to CompositingLayerAssi
gner once we've fixed |
| 190 // the compositing chicken/egg issues. | 190 // the compositing chicken/egg issues. |
| 191 bool allocateOrClearCompositedLayerMapping(RenderLayer*, CompositingStateTra
nsitionType compositedLayerUpdate); | 191 bool allocateOrClearCompositedLayerMapping(RenderLayer*, CompositingStateTra
nsitionType compositedLayerUpdate); |
| 192 | 192 |
| 193 void updateDirectCompositingReasons(RenderLayer*); | 193 void updateDirectCompositingReasons(RenderLayer*); |
| 194 | 194 |
| 195 void setOverlayLayer(GraphicsLayer*); |
| 196 |
| 195 private: | 197 private: |
| 196 class OverlapMap; | 198 class OverlapMap; |
| 197 | 199 |
| 198 void assertNoUnresolvedDirtyBits(); | 200 void assertNoUnresolvedDirtyBits(); |
| 199 | 201 |
| 200 // Make updates to the layer based on viewport-constrained properties such a
s position:fixed. This can in turn affect | 202 // Make updates to the layer based on viewport-constrained properties such a
s position:fixed. This can in turn affect |
| 201 // compositing. | 203 // compositing. |
| 202 bool updateLayerIfViewportConstrained(RenderLayer*); | 204 bool updateLayerIfViewportConstrained(RenderLayer*); |
| 203 | 205 |
| 204 // GraphicsLayerClient implementation | 206 // GraphicsLayerClient implementation |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; | 289 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; |
| 288 OwnPtr<GraphicsLayer> m_layerForScrollCorner; | 290 OwnPtr<GraphicsLayer> m_layerForScrollCorner; |
| 289 #if USE(RUBBER_BANDING) | 291 #if USE(RUBBER_BANDING) |
| 290 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 292 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
| 291 #endif | 293 #endif |
| 292 }; | 294 }; |
| 293 | 295 |
| 294 } // namespace WebCore | 296 } // namespace WebCore |
| 295 | 297 |
| 296 #endif // RenderLayerCompositor_h | 298 #endif // RenderLayerCompositor_h |
| OLD | NEW |