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

Unified Diff: cc/trees/layer_tree_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/trees/layer_tree_settings.h
diff --git a/cc/trees/layer_tree_settings.h b/cc/trees/layer_tree_settings.h
index 74a3b0c85bbe942c2150fbee97a490d6ab79e97a..f403222f81a113bf96dc77aa6160570fc3873201 100644
--- a/cc/trees/layer_tree_settings.h
+++ b/cc/trees/layer_tree_settings.h
@@ -8,19 +8,18 @@
#include "base/basictypes.h"
#include "cc/base/cc_export.h"
#include "cc/debug/layer_tree_debug_state.h"
+#include "cc/output/renderer_settings.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/geometry/size.h"
namespace cc {
-class CC_EXPORT LayerTreeSettings {
+class CC_EXPORT LayerTreeSettings : public RendererSettings {
jamesr 2014/10/27 05:11:37 can you make this embed a RendererSettings instead
public:
LayerTreeSettings();
~LayerTreeSettings();
bool impl_side_painting;
- bool allow_antialiasing;
- bool force_antialiasing;
bool throttle_frame_production;
bool single_thread_proxy_scheduler;
bool begin_frame_scheduling_enabled;
@@ -29,11 +28,9 @@ class CC_EXPORT LayerTreeSettings {
bool disable_hi_res_timer_tasks_on_battery;
bool report_overscroll_only_for_scrollable_axes;
bool per_tile_painting_enabled;
- bool partial_swap_enabled;
bool accelerated_animation_enabled;
bool can_use_lcd_text;
bool use_distance_field_text;
- bool should_clear_root_render_pass;
bool gpu_rasterization_enabled;
bool gpu_rasterization_forced;
bool create_low_res_tiling;
@@ -57,7 +54,6 @@ class CC_EXPORT LayerTreeSettings {
float top_controls_height;
float top_controls_show_threshold;
float top_controls_hide_threshold;
- double refresh_rate;
size_t max_partial_texture_updates;
gfx::Size default_tile_size;
gfx::Size max_untiled_layer_size;
@@ -70,13 +66,10 @@ class CC_EXPORT LayerTreeSettings {
int skewport_extrapolation_limit_in_content_pixels;
size_t max_unused_resource_memory_percentage;
size_t max_memory_for_prepaint_percentage;
- int highp_threshold_min;
bool strict_layer_property_change_checking;
bool use_one_copy;
bool use_zero_copy;
bool ignore_root_layer_flings;
- bool use_rgba_4444_textures;
- size_t texture_id_allocation_chunk_size;
size_t scheduled_raster_task_limit;
bool use_occlusion_for_tile_prioritization;
bool record_full_layer;

Powered by Google App Engine
This is Rietveld 408576698