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