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

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

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 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 unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | cc/trees/occlusion.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 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 <GLES2/gl2.h> 7 #include <GLES2/gl2.h>
8 #include <stddef.h>
8 #include <limits> 9 #include <limits>
9 10
10 #include "base/command_line.h" 11 #include "base/command_line.h"
11 #include "base/logging.h" 12 #include "base/logging.h"
12 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
13 #include "cc/proto/gfx_conversions.h" 14 #include "cc/proto/gfx_conversions.h"
14 #include "cc/proto/gpu_conversions.h" 15 #include "cc/proto/gpu_conversions.h"
15 #include "cc/proto/layer_tree_settings.pb.h" 16 #include "cc/proto/layer_tree_settings.pb.h"
16 #include "ui/gfx/buffer_types.h" 17 #include "ui/gfx/buffer_types.h"
17 18
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 timeout_and_draw_when_animation_checkerboards; 321 timeout_and_draw_when_animation_checkerboards;
321 scheduler_settings.using_synchronous_renderer_compositor = 322 scheduler_settings.using_synchronous_renderer_compositor =
322 using_synchronous_renderer_compositor; 323 using_synchronous_renderer_compositor;
323 scheduler_settings.throttle_frame_production = wait_for_beginframe_interval; 324 scheduler_settings.throttle_frame_production = wait_for_beginframe_interval;
324 scheduler_settings.background_frame_interval = 325 scheduler_settings.background_frame_interval =
325 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); 326 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate);
326 return scheduler_settings; 327 return scheduler_settings;
327 } 328 }
328 329
329 } // namespace cc 330 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | cc/trees/occlusion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698