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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; | 241 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; |
242 // Result is perspective origin in pixels. | 242 // Result is perspective origin in pixels. |
243 FloatPoint computePerspectiveOrigin(const IntRect& borderBox) const; | 243 FloatPoint computePerspectiveOrigin(const IntRect& borderBox) const; |
244 | 244 |
245 void updateSquashingLayerGeometry(const IntPoint& delta); | 245 void updateSquashingLayerGeometry(const IntPoint& delta); |
246 | 246 |
247 void updateOpacity(const RenderStyle*); | 247 void updateOpacity(const RenderStyle*); |
248 void updateTransform(const RenderStyle*); | 248 void updateTransform(const RenderStyle*); |
249 void updateLayerBlendMode(const RenderStyle*); | 249 void updateLayerBlendMode(const RenderStyle*); |
250 void updateIsRootForIsolatedGroup(); | 250 void updateIsRootForIsolatedGroup(); |
| 251 void updateHasGpuRasterizationHint(const RenderStyle*); |
251 // Return the opacity value that this layer should use for compositing. | 252 // Return the opacity value that this layer should use for compositing. |
252 float compositingOpacity(float rendererOpacity) const; | 253 float compositingOpacity(float rendererOpacity) const; |
253 | 254 |
254 bool isMainFrameRenderViewLayer() const; | 255 bool isMainFrameRenderViewLayer() const; |
255 | 256 |
256 bool paintsChildren() const; | 257 bool paintsChildren() const; |
257 | 258 |
258 // Returns true if this layer has content that needs to be rendered by paint
ing into the backing store. | 259 // Returns true if this layer has content that needs to be rendered by paint
ing into the backing store. |
259 bool containsPaintedContent() const; | 260 bool containsPaintedContent() const; |
260 // Returns true if the RenderLayer just contains an image that we can compos
ite directly. | 261 // Returns true if the RenderLayer just contains an image that we can compos
ite directly. |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 bool m_requiresOwnBackingStoreForAncestorReasons : 1; | 360 bool m_requiresOwnBackingStoreForAncestorReasons : 1; |
360 bool m_canCompositeFilters : 1; | 361 bool m_canCompositeFilters : 1; |
361 bool m_backgroundLayerPaintsFixedRootBackground : 1; | 362 bool m_backgroundLayerPaintsFixedRootBackground : 1; |
362 bool m_needToUpdateGeometry : 1; | 363 bool m_needToUpdateGeometry : 1; |
363 bool m_needToUpdateGeometryOfAllDecendants : 1; | 364 bool m_needToUpdateGeometryOfAllDecendants : 1; |
364 }; | 365 }; |
365 | 366 |
366 } // namespace WebCore | 367 } // namespace WebCore |
367 | 368 |
368 #endif // CompositedLayerMapping_h | 369 #endif // CompositedLayerMapping_h |
OLD | NEW |