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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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*); | 195 void setOverlayLayer(GraphicsLayer*); |
196 | 196 |
| 197 static RenderVideo* findFullscreenVideoRenderer(Document&); |
| 198 |
197 private: | 199 private: |
198 class OverlapMap; | 200 class OverlapMap; |
199 | 201 |
200 #if ASSERT_ENABLED | 202 #if ASSERT_ENABLED |
201 void assertNoUnresolvedDirtyBits(); | 203 void assertNoUnresolvedDirtyBits(); |
202 #endif | 204 #endif |
203 | 205 |
204 // Make updates to the layer based on viewport-constrained properties such a
s position:fixed. This can in turn affect | 206 // Make updates to the layer based on viewport-constrained properties such a
s position:fixed. This can in turn affect |
205 // compositing. | 207 // compositing. |
206 bool updateLayerIfViewportConstrained(RenderLayer*); | 208 bool updateLayerIfViewportConstrained(RenderLayer*); |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; | 291 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; |
290 OwnPtr<GraphicsLayer> m_layerForScrollCorner; | 292 OwnPtr<GraphicsLayer> m_layerForScrollCorner; |
291 #if USE(RUBBER_BANDING) | 293 #if USE(RUBBER_BANDING) |
292 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 294 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
293 #endif | 295 #endif |
294 }; | 296 }; |
295 | 297 |
296 } // namespace WebCore | 298 } // namespace WebCore |
297 | 299 |
298 #endif // RenderLayerCompositor_h | 300 #endif // RenderLayerCompositor_h |
OLD | NEW |