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

Side by Side Diff: cc/managed_tile_state.cc

Issue 12472028: Part 1 of cc/ directory shuffles: base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/base/math_util.h"
5 #include "cc/managed_tile_state.h" 6 #include "cc/managed_tile_state.h"
6 #include "cc/math_util.h"
7 7
8 namespace cc { 8 namespace cc {
9 9
10 ManagedTileState::ManagedTileState() 10 ManagedTileState::ManagedTileState()
11 : can_use_gpu_memory(false), 11 : can_use_gpu_memory(false),
12 need_to_gather_pixel_refs(true), 12 need_to_gather_pixel_refs(true),
13 gpu_memmgr_stats_bin(NEVER_BIN), 13 gpu_memmgr_stats_bin(NEVER_BIN),
14 raster_state(IDLE_STATE), 14 raster_state(IDLE_STATE),
15 resolution(NON_IDEAL_RESOLUTION), 15 resolution(NON_IDEAL_RESOLUTION),
16 time_to_needed_in_seconds(std::numeric_limits<float>::infinity()), 16 time_to_needed_in_seconds(std::numeric_limits<float>::infinity()),
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 state->SetBoolean("is_picture_pile_analyzed", picture_pile_analyzed); 73 state->SetBoolean("is_picture_pile_analyzed", picture_pile_analyzed);
74 state->SetBoolean("is_cheap_to_raster", 74 state->SetBoolean("is_cheap_to_raster",
75 picture_pile_analysis.is_cheap_to_raster); 75 picture_pile_analysis.is_cheap_to_raster);
76 state->SetBoolean("is_transparent", picture_pile_analysis.is_transparent); 76 state->SetBoolean("is_transparent", picture_pile_analysis.is_transparent);
77 state->SetBoolean("is_solid_color", picture_pile_analysis.is_solid_color); 77 state->SetBoolean("is_solid_color", picture_pile_analysis.is_solid_color);
78 return state.PassAs<base::Value>(); 78 return state.PassAs<base::Value>();
79 } 79 }
80 80
81 } // namespace cc 81 } // namespace cc
82 82
OLDNEW
« cc/cc.gyp ('K') | « cc/managed_memory_policy.h ('k') | cc/math_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698