| 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 | 237 |
| 238 void setBackgroundLayerPaintsFixedRootBackground(bool); | 238 void setBackgroundLayerPaintsFixedRootBackground(bool); |
| 239 | 239 |
| 240 GraphicsLayerPaintingPhase paintingPhaseForPrimaryLayer() const; | 240 GraphicsLayerPaintingPhase paintingPhaseForPrimaryLayer() const; |
| 241 | 241 |
| 242 // Result is transform origin in pixels. | 242 // Result is transform origin in pixels. |
| 243 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; | 243 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; |
| 244 | 244 |
| 245 void updateOpacity(const RenderStyle*); | 245 void updateOpacity(const RenderStyle*); |
| 246 void updateTransform(const RenderStyle*); | 246 void updateTransform(const RenderStyle*); |
| 247 void updateLayerBlendMode(const RenderStyle*); | |
| 248 void updateIsRootForIsolatedGroup(); | |
| 249 // Return the opacity value that this layer should use for compositing. | 247 // Return the opacity value that this layer should use for compositing. |
| 250 float compositingOpacity(float rendererOpacity) const; | 248 float compositingOpacity(float rendererOpacity) const; |
| 251 | 249 |
| 252 bool paintsChildren() const; | 250 bool paintsChildren() const; |
| 253 | 251 |
| 254 // Returns true if this layer has content that needs to be rendered by paint
ing into the backing store. | 252 // Returns true if this layer has content that needs to be rendered by paint
ing into the backing store. |
| 255 bool containsPaintedContent() const; | 253 bool containsPaintedContent() const; |
| 256 // Returns true if the RenderLayer just contains an image that we can compos
ite directly. | 254 // Returns true if the RenderLayer just contains an image that we can compos
ite directly. |
| 257 bool isDirectlyCompositedImage() const; | 255 bool isDirectlyCompositedImage() const; |
| 258 void updateImageContents(); | 256 void updateImageContents(); |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 | 381 |
| 384 unsigned m_pendingUpdateScope : 2; | 382 unsigned m_pendingUpdateScope : 2; |
| 385 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; | 383 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; |
| 386 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; | 384 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; |
| 387 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 385 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 388 }; | 386 }; |
| 389 | 387 |
| 390 } // namespace blink | 388 } // namespace blink |
| 391 | 389 |
| 392 #endif // CompositedLayerMapping_h | 390 #endif // CompositedLayerMapping_h |
| OLD | NEW |