| 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 | 219 |
| 220 IntSize contentOffsetInCompostingLayer() const; | 220 IntSize contentOffsetInCompostingLayer() const; |
| 221 // Result is transform origin in pixels. | 221 // Result is transform origin in pixels. |
| 222 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; | 222 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; |
| 223 // Result is perspective origin in pixels. | 223 // Result is perspective origin in pixels. |
| 224 FloatPoint computePerspectiveOrigin(const IntRect& borderBox) const; | 224 FloatPoint computePerspectiveOrigin(const IntRect& borderBox) const; |
| 225 | 225 |
| 226 void updateOpacity(const RenderStyle*); | 226 void updateOpacity(const RenderStyle*); |
| 227 void updateTransform(const RenderStyle*); | 227 void updateTransform(const RenderStyle*); |
| 228 void updateLayerBlendMode(const RenderStyle*); | 228 void updateLayerBlendMode(const RenderStyle*); |
| 229 void updateIsRootForIsolatedGroup(); |
| 229 // Return the opacity value that this layer should use for compositing. | 230 // Return the opacity value that this layer should use for compositing. |
| 230 float compositingOpacity(float rendererOpacity) const; | 231 float compositingOpacity(float rendererOpacity) const; |
| 231 | 232 |
| 232 bool isMainFrameRenderViewLayer() const; | 233 bool isMainFrameRenderViewLayer() const; |
| 233 | 234 |
| 234 bool paintsBoxDecorations() const; | 235 bool paintsBoxDecorations() const; |
| 235 bool paintsChildren() const; | 236 bool paintsChildren() const; |
| 236 | 237 |
| 237 // Returns true if this compositing layer has no visible content. | 238 // Returns true if this compositing layer has no visible content. |
| 238 bool isSimpleContainerCompositingLayer() const; | 239 bool isSimpleContainerCompositingLayer() const; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 bool m_isMainFrameRenderViewLayer; | 336 bool m_isMainFrameRenderViewLayer; |
| 336 bool m_requiresOwnBackingStoreForIntrinsicReasons; | 337 bool m_requiresOwnBackingStoreForIntrinsicReasons; |
| 337 bool m_requiresOwnBackingStoreForAncestorReasons; | 338 bool m_requiresOwnBackingStoreForAncestorReasons; |
| 338 bool m_canCompositeFilters; | 339 bool m_canCompositeFilters; |
| 339 bool m_backgroundLayerPaintsFixedRootBackground; | 340 bool m_backgroundLayerPaintsFixedRootBackground; |
| 340 }; | 341 }; |
| 341 | 342 |
| 342 } // namespace WebCore | 343 } // namespace WebCore |
| 343 | 344 |
| 344 #endif // CompositedLayerMapping_h | 345 #endif // CompositedLayerMapping_h |
| OLD | NEW |