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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 bool m_compositing; | 323 bool m_compositing; |
324 bool m_compositingLayersNeedRebuild; | 324 bool m_compositingLayersNeedRebuild; |
325 bool m_forceCompositingMode; | 325 bool m_forceCompositingMode; |
326 bool m_inPostLayoutUpdate; // true when it's OK to trust layout information
(e.g. layer sizes and positions) | 326 bool m_inPostLayoutUpdate; // true when it's OK to trust layout information
(e.g. layer sizes and positions) |
327 bool m_needsUpdateCompositingRequirementsState; | 327 bool m_needsUpdateCompositingRequirementsState; |
328 | 328 |
329 bool m_isTrackingRepaints; // Used for testing. | 329 bool m_isTrackingRepaints; // Used for testing. |
330 | 330 |
331 RootLayerAttachment m_rootLayerAttachment; | 331 RootLayerAttachment m_rootLayerAttachment; |
332 | 332 |
333 // Enclosing clipping layer for iframe content | 333 // Enclosing container layer, which clips for iframe content |
334 OwnPtr<GraphicsLayer> m_clipLayer; | 334 OwnPtr<GraphicsLayer> m_containerLayer; |
335 OwnPtr<GraphicsLayer> m_scrollLayer; | 335 OwnPtr<GraphicsLayer> m_scrollLayer; |
336 | 336 |
337 HashSet<RenderLayer*> m_viewportConstrainedLayers; | 337 HashSet<RenderLayer*> m_viewportConstrainedLayers; |
338 HashSet<RenderLayer*> m_viewportConstrainedLayersNeedingUpdate; | 338 HashSet<RenderLayer*> m_viewportConstrainedLayersNeedingUpdate; |
339 | 339 |
340 // This is used in updateCompositingRequirementsState to avoid full tree | 340 // This is used in updateCompositingRequirementsState to avoid full tree |
341 // walks while determining if layers have unclipped descendants. | 341 // walks while determining if layers have unclipped descendants. |
342 HashSet<RenderLayer*> m_outOfFlowPositionedLayers; | 342 HashSet<RenderLayer*> m_outOfFlowPositionedLayers; |
343 | 343 |
344 // Enclosing layer for overflow controls and the clipping layer | 344 // Enclosing layer for overflow controls and the clipping layer |
(...skipping 16 matching lines...) Expand all Loading... |
361 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. | 361 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. |
362 double m_obligatoryBackingStoreBytes; | 362 double m_obligatoryBackingStoreBytes; |
363 double m_secondaryBackingStoreBytes; | 363 double m_secondaryBackingStoreBytes; |
364 #endif | 364 #endif |
365 }; | 365 }; |
366 | 366 |
367 | 367 |
368 } // namespace WebCore | 368 } // namespace WebCore |
369 | 369 |
370 #endif // RenderLayerCompositor_h | 370 #endif // RenderLayerCompositor_h |
OLD | NEW |