| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 | 181 |
| 182 // GraphicsLayerClient implementation | 182 // GraphicsLayerClient implementation |
| 183 virtual void notifyAnimationStarted(const GraphicsLayer*, double) OVERRIDE {
} | 183 virtual void notifyAnimationStarted(const GraphicsLayer*, double) OVERRIDE {
} |
| 184 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL
ayerPaintingPhase, const IntRect&) OVERRIDE; | 184 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL
ayerPaintingPhase, const IntRect&) OVERRIDE; |
| 185 | 185 |
| 186 virtual bool isTrackingRepaints() const OVERRIDE; | 186 virtual bool isTrackingRepaints() const OVERRIDE; |
| 187 | 187 |
| 188 // Whether the given RL needs to paint into its own separate backing (and he
nce would need its own CompositedLayerMapping). | 188 // Whether the given RL needs to paint into its own separate backing (and he
nce would need its own CompositedLayerMapping). |
| 189 bool needsOwnBacking(const RenderLayer*) const; | 189 bool needsOwnBacking(const RenderLayer*) const; |
| 190 | 190 |
| 191 void updateWithoutAcceleratedCompositing(CompositingUpdateType); |
| 191 void updateIfNeeded(); | 192 void updateIfNeeded(); |
| 192 | 193 |
| 193 void computeCompositingRequirements(RenderLayer* ancestorLayer, RenderLayer*
, OverlapMap&, struct CompositingRecursionData&, bool& descendantHas3DTransform,
Vector<RenderLayer*>& unclippedDescendants, IntRect& absoluteDecendantBoundingB
ox); | 194 void computeCompositingRequirements(RenderLayer* ancestorLayer, RenderLayer*
, OverlapMap&, struct CompositingRecursionData&, bool& descendantHas3DTransform,
Vector<RenderLayer*>& unclippedDescendants, IntRect& absoluteDecendantBoundingB
ox); |
| 194 | 195 |
| 195 bool hasAnyAdditionalCompositedLayers(const RenderLayer* rootLayer) const; | 196 bool hasAnyAdditionalCompositedLayers(const RenderLayer* rootLayer) const; |
| 196 | 197 |
| 197 void ensureRootLayer(); | 198 void ensureRootLayer(); |
| 198 void destroyRootLayer(); | 199 void destroyRootLayer(); |
| 199 | 200 |
| 200 void attachRootLayer(RootLayerAttachment); | 201 void attachRootLayer(RootLayerAttachment); |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 #if USE(RUBBER_BANDING) | 254 #if USE(RUBBER_BANDING) |
| 254 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 255 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
| 255 #endif | 256 #endif |
| 256 | 257 |
| 257 bool m_inOverlayFullscreenVideo; | 258 bool m_inOverlayFullscreenVideo; |
| 258 }; | 259 }; |
| 259 | 260 |
| 260 } // namespace blink | 261 } // namespace blink |
| 261 | 262 |
| 262 #endif // RenderLayerCompositor_h | 263 #endif // RenderLayerCompositor_h |
| OLD | NEW |