| 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 | 251 |
| 252 GraphicsLayerPaintingPhase paintingPhaseForPrimaryLayer() const; | 252 GraphicsLayerPaintingPhase paintingPhaseForPrimaryLayer() const; |
| 253 | 253 |
| 254 // Result is transform origin in pixels. | 254 // Result is transform origin in pixels. |
| 255 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; | 255 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; |
| 256 | 256 |
| 257 void updateOpacity(const RenderStyle*); | 257 void updateOpacity(const RenderStyle*); |
| 258 void updateTransform(const RenderStyle*); | 258 void updateTransform(const RenderStyle*); |
| 259 void updateLayerBlendMode(const RenderStyle*); | 259 void updateLayerBlendMode(const RenderStyle*); |
| 260 void updateIsRootForIsolatedGroup(); | 260 void updateIsRootForIsolatedGroup(); |
| 261 void updateScrollBlocksOn(const RenderStyle*); |
| 261 // Return the opacity value that this layer should use for compositing. | 262 // Return the opacity value that this layer should use for compositing. |
| 262 float compositingOpacity(float rendererOpacity) const; | 263 float compositingOpacity(float rendererOpacity) const; |
| 263 | 264 |
| 264 bool paintsChildren() const; | 265 bool paintsChildren() const; |
| 265 | 266 |
| 266 // Returns true if this layer has content that needs to be rendered by paint
ing into the backing store. | 267 // Returns true if this layer has content that needs to be rendered by paint
ing into the backing store. |
| 267 bool containsPaintedContent() const; | 268 bool containsPaintedContent() const; |
| 268 // Returns true if the RenderLayer just contains an image that we can compos
ite directly. | 269 // Returns true if the RenderLayer just contains an image that we can compos
ite directly. |
| 269 bool isDirectlyCompositedImage() const; | 270 bool isDirectlyCompositedImage() const; |
| 270 void updateImageContents(); | 271 void updateImageContents(); |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 unsigned m_pendingUpdateScope : 2; | 412 unsigned m_pendingUpdateScope : 2; |
| 412 unsigned m_isMainFrameRenderViewLayer : 1; | 413 unsigned m_isMainFrameRenderViewLayer : 1; |
| 413 | 414 |
| 414 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 415 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 415 unsigned m_scrollingContentsAreEmpty : 1; | 416 unsigned m_scrollingContentsAreEmpty : 1; |
| 416 }; | 417 }; |
| 417 | 418 |
| 418 } // namespace blink | 419 } // namespace blink |
| 419 | 420 |
| 420 #endif // CompositedLayerMapping_h | 421 #endif // CompositedLayerMapping_h |
| OLD | NEW |