1 // Copyright 2012 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.
14 static bool perTilePaintingEnabled();
15 static bool partialSwapEnabled();
16 static bool acceleratedAnimationEnabled();
18 // These setters should only be used on the main thread before the layer
19 // renderer is initialized.
20 static void setPerTilePaintingEnabled(bool);
21 static void setPartialSwapEnabled(bool);
22 static void setAcceleratedAnimationEnabled(bool);
24 // These settings are meant to be set only once, and only read thereafter.
25 // This function is only for resetting settings in tests.
29 } // namespace WebCore
31 #endif // CCSettings_h