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

Side by Side Diff: cc/output/renderer_settings.cc

Issue 1177383005: cc: Add command line for frame production throttle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hope to be final patch Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « cc/output/renderer_settings.h ('k') | cc/surfaces/onscreen_display_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/output/renderer_settings.h" 5 #include "cc/output/renderer_settings.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 10
11 namespace cc { 11 namespace cc {
12 12
13 RendererSettings::RendererSettings() 13 RendererSettings::RendererSettings()
14 : allow_antialiasing(true), 14 : allow_antialiasing(true),
15 force_antialiasing(false), 15 force_antialiasing(false),
16 force_blending_with_shaders(false), 16 force_blending_with_shaders(false),
17 partial_swap_enabled(false), 17 partial_swap_enabled(false),
18 finish_rendering_on_resize(false), 18 finish_rendering_on_resize(false),
19 should_clear_root_render_pass(true), 19 should_clear_root_render_pass(true),
20 disable_gpu_vsync(false), 20 disable_display_vsync(false),
21 refresh_rate(60.0), 21 refresh_rate(60.0),
22 highp_threshold_min(0), 22 highp_threshold_min(0),
23 use_rgba_4444_textures(false), 23 use_rgba_4444_textures(false),
24 texture_id_allocation_chunk_size(64) { 24 texture_id_allocation_chunk_size(64) {
25 } 25 }
26 26
27 RendererSettings::~RendererSettings() { 27 RendererSettings::~RendererSettings() {
28 } 28 }
29 29
30 } // namespace cc 30 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/renderer_settings.h ('k') | cc/surfaces/onscreen_display_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698