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

Unified Diff: Source/core/rendering/compositing/CompositingLayerAssigner.h

Issue 331203003: Improve the compositing reasons when squashing fails (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/rendering/compositing/CompositingLayerAssigner.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/compositing/CompositingLayerAssigner.h
diff --git a/Source/core/rendering/compositing/CompositingLayerAssigner.h b/Source/core/rendering/compositing/CompositingLayerAssigner.h
index 0cfb1112fdc6e73fce5eead742a6a1f79ff65a90..ccc283d3e2048bea9c2af9d7f6ec8457aa8255e9 100644
--- a/Source/core/rendering/compositing/CompositingLayerAssigner.h
+++ b/Source/core/rendering/compositing/CompositingLayerAssigner.h
@@ -79,7 +79,7 @@ private:
void assignLayersToBackingsInternal(RenderLayer*, SquashingState&, bool& layersChanged, Vector<RenderLayer*>& layersNeedingRepaint);
void assignLayersToBackingsForReflectionLayer(RenderLayer* reflectionLayer, bool& layersChanged, Vector<RenderLayer*>& layersNeedingRepaint);
- bool canSquashIntoCurrentSquashingOwner(const RenderLayer*, const SquashingState&);
+ CompositingReasons getReasonsPreventingSquashing(const RenderLayer*, const SquashingState&);
bool squashingWouldExceedSparsityTolerance(const RenderLayer* candidate, const SquashingState&);
bool updateSquashingAssignment(RenderLayer*, SquashingState&, CompositingStateTransitionType, Vector<RenderLayer*>& layersNeedingRepaint);
bool needsOwnBacking(const RenderLayer*) const;
« no previous file with comments | « no previous file | Source/core/rendering/compositing/CompositingLayerAssigner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698