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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 | 230 |
231 void adjustBoundsForSubPixelAccumulation(const RenderLayer* compositedAncest
or, IntRect& localCompositingBounds, IntRect& relativeCompositingBounds, IntPoin
t& delta); | 231 void adjustBoundsForSubPixelAccumulation(const RenderLayer* compositedAncest
or, IntRect& localCompositingBounds, IntRect& relativeCompositingBounds, IntPoin
t& delta); |
232 | 232 |
233 void setBackgroundLayerPaintsFixedRootBackground(bool); | 233 void setBackgroundLayerPaintsFixedRootBackground(bool); |
234 | 234 |
235 GraphicsLayerPaintingPhase paintingPhaseForPrimaryLayer() const; | 235 GraphicsLayerPaintingPhase paintingPhaseForPrimaryLayer() const; |
236 | 236 |
237 LayoutSize contentOffsetInCompostingLayer() const; | 237 LayoutSize contentOffsetInCompostingLayer() const; |
238 // Result is transform origin in pixels. | 238 // Result is transform origin in pixels. |
239 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; | 239 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; |
240 // Result is perspective origin in pixels. | |
241 FloatPoint computePerspectiveOrigin(const IntRect& borderBox) const; | |
242 | 240 |
243 void updateSquashingLayerGeometry(const IntPoint& delta); | 241 void updateSquashingLayerGeometry(const IntPoint& delta); |
244 | 242 |
245 void updateOpacity(const RenderStyle*); | 243 void updateOpacity(const RenderStyle*); |
246 void updateTransform(const RenderStyle*); | 244 void updateTransform(const RenderStyle*); |
247 void updateLayerBlendMode(const RenderStyle*); | 245 void updateLayerBlendMode(const RenderStyle*); |
248 void updateIsRootForIsolatedGroup(); | 246 void updateIsRootForIsolatedGroup(); |
249 void updateHasGpuRasterizationHint(const RenderStyle*); | 247 void updateHasGpuRasterizationHint(const RenderStyle*); |
250 // Return the opacity value that this layer should use for compositing. | 248 // Return the opacity value that this layer should use for compositing. |
251 float compositingOpacity(float rendererOpacity) const; | 249 float compositingOpacity(float rendererOpacity) const; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 bool m_requiresOwnBackingStoreForAncestorReasons : 1; | 368 bool m_requiresOwnBackingStoreForAncestorReasons : 1; |
371 bool m_canCompositeFilters : 1; | 369 bool m_canCompositeFilters : 1; |
372 bool m_backgroundLayerPaintsFixedRootBackground : 1; | 370 bool m_backgroundLayerPaintsFixedRootBackground : 1; |
373 bool m_needToUpdateGraphicsLayer : 1; | 371 bool m_needToUpdateGraphicsLayer : 1; |
374 bool m_needToUpdateGraphicsLayerOfAllDecendants : 1; | 372 bool m_needToUpdateGraphicsLayerOfAllDecendants : 1; |
375 }; | 373 }; |
376 | 374 |
377 } // namespace WebCore | 375 } // namespace WebCore |
378 | 376 |
379 #endif // CompositedLayerMapping_h | 377 #endif // CompositedLayerMapping_h |
OLD | NEW |