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

Unified Diff: cc/output/renderer_settings.h

Issue 675083002: Add cc::RendererSettings for use in with cc::Display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: cc/output/renderer_settings.h
diff --git a/cc/output/renderer_settings.h b/cc/output/renderer_settings.h
new file mode 100644
index 0000000000000000000000000000000000000000..eb5625ed56ae7382dec667ee0198979c36d32e1b
--- /dev/null
+++ b/cc/output/renderer_settings.h
@@ -0,0 +1,30 @@
+// 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 CC_OUTPUT_RENDERER_SETTINGS_H_
+#define CC_OUTPUT_RENDERER_SETTINGS_H_
+
+#include "base/basictypes.h"
+#include "cc/base/cc_export.h"
+
+namespace cc {
+
+class CC_EXPORT RendererSettings {
+ public:
+ RendererSettings();
+ ~RendererSettings();
+
+ bool allow_antialiasing;
+ bool force_antialiasing;
+ bool partial_swap_enabled;
+ bool should_clear_root_render_pass;
+ double refresh_rate;
+ int highp_threshold_min;
+ bool use_rgba_4444_textures;
+ size_t texture_id_allocation_chunk_size;
+};
+
+} // namespace cc
+
+#endif // CC_OUTPUT_RENDERER_SETTINGS_H_

Powered by Google App Engine
This is Rietveld 408576698