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

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

Issue 220163006: Begin simplifying CompositedLayerMapping::updateAfterLayout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 enum UpdateLayerCompositingStateOptions { 106 enum UpdateLayerCompositingStateOptions {
107 Normal, 107 Normal,
108 UseChickenEggHacks, // Use this to trigger temporary chicken-egg hacks. See crbug.com/339892. 108 UseChickenEggHacks, // Use this to trigger temporary chicken-egg hacks. See crbug.com/339892.
109 }; 109 };
110 110
111 // Update the compositing dirty bits, based on the compositing-impacting pro perties of the layer. 111 // Update the compositing dirty bits, based on the compositing-impacting pro perties of the layer.
112 // (At the moment, it also has some legacy compatibility hacks.) 112 // (At the moment, it also has some legacy compatibility hacks.)
113 void updateLayerCompositingState(RenderLayer*, UpdateLayerCompositingStateOp tions = Normal); 113 void updateLayerCompositingState(RenderLayer*, UpdateLayerCompositingStateOp tions = Normal);
114 114
115 // Update the geometry for compositing children of compositingAncestor. 115 // Update the geometry for compositing children of compositingAncestor.
116 void updateCompositingDescendantGeometry(RenderLayerStackingNode* compositin gAncestor, RenderLayer*, bool compositedChildrenOnly); 116 void updateCompositingDescendantGeometry(RenderLayerStackingNode* compositin gAncestor, RenderLayer*);
117 117
118 // Whether layer's compositedLayerMapping needs a GraphicsLayer to do clippi ng by an ancestor (non-stacking-context parent with overflow). 118 // Whether layer's compositedLayerMapping needs a GraphicsLayer to do clippi ng by an ancestor (non-stacking-context parent with overflow).
119 bool clippedByAncestor(const RenderLayer*) const; 119 bool clippedByAncestor(const RenderLayer*) const;
120 // Whether layer's compositedLayerMapping needs a GraphicsLayer to clip z-or der children of the given RenderLayer. 120 // Whether layer's compositedLayerMapping needs a GraphicsLayer to clip z-or der children of the given RenderLayer.
121 bool clipsCompositingDescendants(const RenderLayer*) const; 121 bool clipsCompositingDescendants(const RenderLayer*) const;
122 122
123 // Whether the given layer needs an extra 'contents' layer. 123 // Whether the given layer needs an extra 'contents' layer.
124 bool needsContentsCompositingLayer(const RenderLayer*) const; 124 bool needsContentsCompositingLayer(const RenderLayer*) const;
125 125
126 bool supportsFixedRootBackgroundCompositing() const; 126 bool supportsFixedRootBackgroundCompositing() const;
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 OwnPtr<GraphicsLayer> m_layerForScrollCorner; 359 OwnPtr<GraphicsLayer> m_layerForScrollCorner;
360 #if USE(RUBBER_BANDING) 360 #if USE(RUBBER_BANDING)
361 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; 361 OwnPtr<GraphicsLayer> m_layerForOverhangShadow;
362 #endif 362 #endif
363 }; 363 };
364 364
365 365
366 } // namespace WebCore 366 } // namespace WebCore
367 367
368 #endif // RenderLayerCompositor_h 368 #endif // RenderLayerCompositor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698