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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 GraphicsLayer* updateLayerForTopOverhangArea(bool wantsLayer); | 224 GraphicsLayer* updateLayerForTopOverhangArea(bool wantsLayer); |
225 GraphicsLayer* updateLayerForBottomOverhangArea(bool wantsLayer); | 225 GraphicsLayer* updateLayerForBottomOverhangArea(bool wantsLayer); |
226 #endif | 226 #endif |
227 | 227 |
228 void updateViewportConstraintStatus(RenderLayer*); | 228 void updateViewportConstraintStatus(RenderLayer*); |
229 void removeViewportConstrainedLayer(RenderLayer*); | 229 void removeViewportConstrainedLayer(RenderLayer*); |
230 | 230 |
231 void resetTrackedRepaintRects(); | 231 void resetTrackedRepaintRects(); |
232 void setTracksRepaints(bool); | 232 void setTracksRepaints(bool); |
233 | 233 |
234 void reportMemoryUsage(MemoryObjectInfo*) const; | |
235 void setShouldReevaluateCompositingAfterLayout() { m_reevaluateCompositingAf
terLayout = true; } | 234 void setShouldReevaluateCompositingAfterLayout() { m_reevaluateCompositingAf
terLayout = true; } |
236 | 235 |
237 bool viewHasTransparentBackground(Color* backgroundColor = 0) const; | 236 bool viewHasTransparentBackground(Color* backgroundColor = 0) const; |
238 | 237 |
239 CompositingReasons reasonsForCompositing(const RenderLayer*) const; | 238 CompositingReasons reasonsForCompositing(const RenderLayer*) const; |
240 | 239 |
241 private: | 240 private: |
242 class OverlapMap; | 241 class OverlapMap; |
243 | 242 |
244 // GraphicsLayerClient implementation | 243 // GraphicsLayerClient implementation |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. | 384 int m_secondaryCompositedLayerCount; // count of layers that have to be comp
osited because of stacking or overlap. |
386 double m_obligatoryBackingStoreBytes; | 385 double m_obligatoryBackingStoreBytes; |
387 double m_secondaryBackingStoreBytes; | 386 double m_secondaryBackingStoreBytes; |
388 #endif | 387 #endif |
389 }; | 388 }; |
390 | 389 |
391 | 390 |
392 } // namespace WebCore | 391 } // namespace WebCore |
393 | 392 |
394 #endif // RenderLayerCompositor_h | 393 #endif // RenderLayerCompositor_h |
OLD | NEW |