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

Side by Side Diff: cc/trees/layer_tree_settings.cc

Issue 699073004: content: Add command line flag for native GPU memory buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gpu-memory-buffer-impl-unittests
Patch Set: rebase and use correct texture target Created 6 years, 1 month 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
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/trees/layer_tree_settings.h" 5 #include "cc/trees/layer_tree_settings.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // At 256x256 tiles, 128 tiles cover an area of 2048x4096 pixels. 60 // At 256x256 tiles, 128 tiles cover an area of 2048x4096 pixels.
61 max_tiles_for_interest_area(128), 61 max_tiles_for_interest_area(128),
62 skewport_target_time_multiplier(1.0f), 62 skewport_target_time_multiplier(1.0f),
63 skewport_extrapolation_limit_in_content_pixels(2000), 63 skewport_extrapolation_limit_in_content_pixels(2000),
64 max_unused_resource_memory_percentage(100), 64 max_unused_resource_memory_percentage(100),
65 max_memory_for_prepaint_percentage(100), 65 max_memory_for_prepaint_percentage(100),
66 highp_threshold_min(0), 66 highp_threshold_min(0),
67 strict_layer_property_change_checking(false), 67 strict_layer_property_change_checking(false),
68 use_one_copy(false), 68 use_one_copy(false),
69 use_zero_copy(false), 69 use_zero_copy(false),
70 use_image_external(false),
70 ignore_root_layer_flings(false), 71 ignore_root_layer_flings(false),
71 use_rgba_4444_textures(false), 72 use_rgba_4444_textures(false),
72 texture_id_allocation_chunk_size(64), 73 texture_id_allocation_chunk_size(64),
73 scheduled_raster_task_limit(32), 74 scheduled_raster_task_limit(32),
74 use_occlusion_for_tile_prioritization(false), 75 use_occlusion_for_tile_prioritization(false),
75 record_full_layer(false) { 76 record_full_layer(false) {
76 } 77 }
77 78
78 LayerTreeSettings::~LayerTreeSettings() {} 79 LayerTreeSettings::~LayerTreeSettings() {}
79 80
80 } // namespace cc 81 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698