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

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

Issue 213773002: Make compositing updates 30.7% faster for calculator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix ASSERT Created 6 years, 9 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CompositingPropertyUpdater_h
6 #define CompositingPropertyUpdater_h
7
8 #include "core/rendering/RenderGeometryMap.h"
9
10 namespace WebCore {
11
12 class RenderLayer;
13
14 class CompositingPropertyUpdater {
15 public:
16 CompositingPropertyUpdater();
17 ~CompositingPropertyUpdater();
18
19 enum UpdateType {
20 DoNotForceUpdate,
21 ForceUpdate,
22 };
23
24 void updateAncestorDependentProperties(RenderLayer*, UpdateType = DoNotForce Update);
25
26 #if !ASSERT_DISABLED
27 static void assertNeedsToUpdateAncestorDependantPropertiesBitsCleared(Render Layer*);
28 #endif
29
30 private:
31 RenderGeometryMap m_geometryMap;
32 };
33
34 } // namespace WebCore
35
36 #endif // CompositingPropertyUpdater_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/compositing/CompositingPropertyUpdater.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698