| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 void updateFilters(const RenderStyle*); | 193 void updateFilters(const RenderStyle*); |
| 194 | 194 |
| 195 void setBlendMode(blink::WebBlendMode); | 195 void setBlendMode(blink::WebBlendMode); |
| 196 | 196 |
| 197 bool needsGraphicsLayerUpdate() { return m_pendingUpdateScope > GraphicsLaye
rUpdateNone; } | 197 bool needsGraphicsLayerUpdate() { return m_pendingUpdateScope > GraphicsLaye
rUpdateNone; } |
| 198 void setNeedsGraphicsLayerUpdate(GraphicsLayerUpdateScope scope) { m_pending
UpdateScope = std::max(static_cast<GraphicsLayerUpdateScope>(m_pendingUpdateScop
e), scope); } | 198 void setNeedsGraphicsLayerUpdate(GraphicsLayerUpdateScope scope) { m_pending
UpdateScope = std::max(static_cast<GraphicsLayerUpdateScope>(m_pendingUpdateScop
e), scope); } |
| 199 void clearNeedsGraphicsLayerUpdate() { m_pendingUpdateScope = GraphicsLayerU
pdateNone; } | 199 void clearNeedsGraphicsLayerUpdate() { m_pendingUpdateScope = GraphicsLayerU
pdateNone; } |
| 200 | 200 |
| 201 GraphicsLayerUpdater::UpdateType updateTypeForChildren(GraphicsLayerUpdater:
:UpdateType) const; | 201 GraphicsLayerUpdater::UpdateType updateTypeForChildren(GraphicsLayerUpdater:
:UpdateType) const; |
| 202 | 202 |
| 203 #if ASSERT_ENABLED | 203 #if ENABLE(ASSERT) |
| 204 void assertNeedsToUpdateGraphicsLayerBitsCleared() { ASSERT(m_pendingUpdate
Scope == GraphicsLayerUpdateNone); } | 204 void assertNeedsToUpdateGraphicsLayerBitsCleared() { ASSERT(m_pendingUpdate
Scope == GraphicsLayerUpdateNone); } |
| 205 #endif | 205 #endif |
| 206 | 206 |
| 207 virtual String debugName(const GraphicsLayer*) OVERRIDE; | 207 virtual String debugName(const GraphicsLayer*) OVERRIDE; |
| 208 | 208 |
| 209 LayoutSize contentOffsetInCompositingLayer() const; | 209 LayoutSize contentOffsetInCompositingLayer() const; |
| 210 | 210 |
| 211 LayoutPoint squashingOffsetFromTransformedAncestor() | 211 LayoutPoint squashingOffsetFromTransformedAncestor() |
| 212 { | 212 { |
| 213 return m_squashingLayerOffsetFromTransformedAncestor; | 213 return m_squashingLayerOffsetFromTransformedAncestor; |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 unsigned m_isMainFrameRenderViewLayer : 1; | 414 unsigned m_isMainFrameRenderViewLayer : 1; |
| 415 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; | 415 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; |
| 416 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; | 416 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; |
| 417 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 417 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 418 unsigned m_scrollingContentsAreEmpty : 1; | 418 unsigned m_scrollingContentsAreEmpty : 1; |
| 419 }; | 419 }; |
| 420 | 420 |
| 421 } // namespace WebCore | 421 } // namespace WebCore |
| 422 | 422 |
| 423 #endif // CompositedLayerMapping_h | 423 #endif // CompositedLayerMapping_h |
| OLD | NEW |