Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: Source/core/rendering/compositing/RenderLayerCompositor.h

Issue 466193002: Disentangle blend mode from updateDescendantDependentFlags (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698