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

Unified Diff: cc/layer_tree_settings.h

Issue 11529003: [cc] Route LayerImpl::layerTreeHostImpl() calls through LayerTreeImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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 | « cc/layer_tree_impl.cc ('k') | cc/layer_tree_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_settings.h
diff --git a/cc/layer_tree_settings.h b/cc/layer_tree_settings.h
new file mode 100644
index 0000000000000000000000000000000000000000..06c8b8c672d3eae0c8173eace327e54620287800
--- /dev/null
+++ b/cc/layer_tree_settings.h
@@ -0,0 +1,41 @@
+// Copyright 2011 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 CC_LAYER_TREE_SETTINGS_H_
+#define CC_LAYER_TREE_SETTINGS_H_
+
+#include "base/basictypes.h"
+#include "cc/cc_export.h"
+#include "cc/layer_tree_debug_state.h"
+#include "ui/gfx/size.h"
+
+namespace cc {
+
+class CC_EXPORT LayerTreeSettings {
+ public:
+ LayerTreeSettings();
+ ~LayerTreeSettings();
+
+ bool acceleratePainting;
+ bool implSidePainting;
+ bool renderVSyncEnabled;
+ bool perTilePaintingEnabled;
+ bool partialSwapEnabled;
+ bool acceleratedAnimationEnabled;
+ bool pageScalePinchZoomEnabled;
+ bool backgroundColorInsteadOfCheckerboard;
+ bool showOverdrawInTracing;
+ double refreshRate;
+ size_t maxPartialTextureUpdates;
+ size_t numRasterThreads;
+ gfx::Size defaultTileSize;
+ gfx::Size maxUntiledLayerSize;
+ gfx::Size minimumOcclusionTrackingSize;
+
+ LayerTreeDebugState initialDebugState;
+};
+
+} // namespace cc
+
+#endif // CC_LAYER_TREE_SETTINGS_H_
« no previous file with comments | « cc/layer_tree_impl.cc ('k') | cc/layer_tree_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698