| 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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 bool m_compositing; | 321 bool m_compositing; |
| 322 bool m_compositingLayersNeedRebuild; | 322 bool m_compositingLayersNeedRebuild; |
| 323 bool m_forceCompositingMode; | 323 bool m_forceCompositingMode; |
| 324 bool m_inPostLayoutUpdate; // true when it's OK to trust layout information
(e.g. layer sizes and positions) | 324 bool m_inPostLayoutUpdate; // true when it's OK to trust layout information
(e.g. layer sizes and positions) |
| 325 | 325 |
| 326 bool m_isTrackingRepaints; // Used for testing. | 326 bool m_isTrackingRepaints; // Used for testing. |
| 327 | 327 |
| 328 RootLayerAttachment m_rootLayerAttachment; | 328 RootLayerAttachment m_rootLayerAttachment; |
| 329 | 329 |
| 330 // Enclosing clipping layer for iframe content | 330 // Enclosing clipping layer for iframe content |
| 331 OwnPtr<GraphicsLayer> m_clipLayer; | 331 OwnPtr<GraphicsLayer> m_innerViewportClipLayer; |
| 332 OwnPtr<GraphicsLayer> m_scrollLayer; | 332 OwnPtr<GraphicsLayer> m_innerViewportScrollLayer; |
| 333 | 333 |
| 334 HashSet<RenderLayer*> m_viewportConstrainedLayers; | 334 HashSet<RenderLayer*> m_viewportConstrainedLayers; |
| 335 HashSet<RenderLayer*> m_viewportConstrainedLayersNeedingUpdate; | 335 HashSet<RenderLayer*> m_viewportConstrainedLayersNeedingUpdate; |
| 336 | 336 |
| 337 // Enclosing layer for overflow controls and the clipping layer | 337 // Enclosing layer for overflow controls and the clipping layer |
| 338 OwnPtr<GraphicsLayer> m_overflowControlsHostLayer; | 338 OwnPtr<GraphicsLayer> m_overflowControlsHostLayer; |
| 339 | 339 |
| 340 // Layers for pinch virtual viewport layers |
| 341 OwnPtr<GraphicsLayer> m_pageScaleLayer; |
| 342 OwnPtr<GraphicsLayer> m_outerViewportClipLayer; |
| 343 OwnPtr<GraphicsLayer> m_outerViewportScrollLayer; |
| 344 |
| 340 // Layers for overflow controls | 345 // Layers for overflow controls |
| 341 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar; | 346 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar; |
| 342 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; | 347 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; |
| 343 OwnPtr<GraphicsLayer> m_layerForScrollCorner; | 348 OwnPtr<GraphicsLayer> m_layerForScrollCorner; |
| 344 #if ENABLE(RUBBER_BANDING) | 349 #if ENABLE(RUBBER_BANDING) |
| 345 OwnPtr<GraphicsLayer> m_layerForOverhangAreas; | 350 OwnPtr<GraphicsLayer> m_layerForOverhangAreas; |
| 346 OwnPtr<GraphicsLayer> m_contentShadowLayer; | 351 OwnPtr<GraphicsLayer> m_contentShadowLayer; |
| 347 OwnPtr<GraphicsLayer> m_layerForTopOverhangArea; | 352 OwnPtr<GraphicsLayer> m_layerForTopOverhangArea; |
| 348 OwnPtr<GraphicsLayer> m_layerForBottomOverhangArea; | 353 OwnPtr<GraphicsLayer> m_layerForBottomOverhangArea; |
| 349 #endif | 354 #endif |
| 350 | 355 |
| 351 #if !LOG_DISABLED | 356 #if !LOG_DISABLED |
| 352 int m_rootLayerUpdateCount; | 357 int m_rootLayerUpdateCount; |
| 353 int m_obligateCompositedLayerCount; // count of layer that have to be compos
ited. | 358 int m_obligateCompositedLayerCount; // count of layer that have to be compos
ited. |
| 354 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. | 359 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. |
| 355 double m_obligatoryBackingStoreBytes; | 360 double m_obligatoryBackingStoreBytes; |
| 356 double m_secondaryBackingStoreBytes; | 361 double m_secondaryBackingStoreBytes; |
| 357 #endif | 362 #endif |
| 358 }; | 363 }; |
| 359 | 364 |
| 360 | 365 |
| 361 } // namespace WebCore | 366 } // namespace WebCore |
| 362 | 367 |
| 363 #endif // RenderLayerCompositor_h | 368 #endif // RenderLayerCompositor_h |
| OLD | NEW |