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

Unified Diff: sky/engine/core/rendering/compositing/CompositingInputsUpdater.h

Issue 758373002: Remove most of the old compositing code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
Index: sky/engine/core/rendering/compositing/CompositingInputsUpdater.h
diff --git a/sky/engine/core/rendering/compositing/CompositingInputsUpdater.h b/sky/engine/core/rendering/compositing/CompositingInputsUpdater.h
deleted file mode 100644
index 10289cbbc7b163a8fca93cf9eac1ed8160ddc3b3..0000000000000000000000000000000000000000
--- a/sky/engine/core/rendering/compositing/CompositingInputsUpdater.h
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SKY_ENGINE_CORE_RENDERING_COMPOSITING_COMPOSITINGINPUTSUPDATER_H_
-#define SKY_ENGINE_CORE_RENDERING_COMPOSITING_COMPOSITINGINPUTSUPDATER_H_
-
-#include "sky/engine/core/rendering/RenderGeometryMap.h"
-
-namespace blink {
-
-class RenderLayer;
-
-class CompositingInputsUpdater {
-public:
- explicit CompositingInputsUpdater(RenderLayer* rootRenderLayer);
- ~CompositingInputsUpdater();
-
- void update();
-
-#if ENABLE(ASSERT)
- static void assertNeedsCompositingInputsUpdateBitsCleared(RenderLayer*);
-#endif
-
-private:
- enum UpdateType {
- DoNotForceUpdate,
- ForceUpdate,
- };
-
- struct AncestorInfo {
- AncestorInfo()
- : ancestorStackingContext(0)
- , enclosingCompositedLayer(0)
- , lastScrollingAncestor(0)
- , hasAncestorWithClipOrOverflowClip(false)
- , hasAncestorWithClipPath(false)
- {
- }
-
- RenderLayer* ancestorStackingContext;
- RenderLayer* enclosingCompositedLayer;
- // Notice that lastScrollingAncestor isn't the same thing as
- // ancestorScrollingLayer. The former is just the nearest scrolling
- // along the RenderLayer::parent() chain. The latter is the layer that
- // actually controls the scrolling of this layer, which we find on the
- // containing block chain.
- RenderLayer* lastScrollingAncestor;
- bool hasAncestorWithClipOrOverflowClip;
- bool hasAncestorWithClipPath;
- };
-
- void updateRecursive(RenderLayer*, UpdateType, AncestorInfo);
-
- RenderGeometryMap m_geometryMap;
- RenderLayer* m_rootRenderLayer;
-};
-
-} // namespace blink
-
-#endif // SKY_ENGINE_CORE_RENDERING_COMPOSITING_COMPOSITINGINPUTSUPDATER_H_

Powered by Google App Engine
This is Rietveld 408576698