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

Side by Side Diff: cc/test/test_tile_priorities.cc

Issue 367833003: cc: Start using raster/eviction iterators. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/test/test_tile_priorities.h ('k') | cc/trees/layer_tree_host_impl.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 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/test/test_tile_priorities.h" 5 #include "cc/test/test_tile_priorities.h"
6 6
7 namespace cc { 7 namespace cc {
8 8
9 TilePriorityForSoonBin::TilePriorityForSoonBin() 9 TilePriorityForSoonBin::TilePriorityForSoonBin()
10 : TilePriority(HIGH_RESOLUTION, SOON, 300.0) {} 10 : TilePriority(HIGH_RESOLUTION, SOON, 300.0) {}
11 11
12 TilePriorityForEventualBin::TilePriorityForEventualBin() 12 TilePriorityForEventualBin::TilePriorityForEventualBin()
13 : TilePriority(HIGH_RESOLUTION, EVENTUALLY, 315.0) {} 13 : TilePriority(HIGH_RESOLUTION, EVENTUALLY, 315.0) {}
14 14
15 TilePriorityForNowBin::TilePriorityForNowBin() 15 TilePriorityForNowBin::TilePriorityForNowBin()
16 : TilePriority(HIGH_RESOLUTION, NOW, 0) {} 16 : TilePriority(HIGH_RESOLUTION, NOW, 0) {}
17 17
18 TilePriorityRequiredForActivation::TilePriorityRequiredForActivation()
19 : TilePriority(HIGH_RESOLUTION, NOW, 0) {
20 required_for_activation = true;
21 }
22
23 TilePriorityLowRes::TilePriorityLowRes() 18 TilePriorityLowRes::TilePriorityLowRes()
24 : TilePriority(LOW_RESOLUTION, NOW, 0) {} 19 : TilePriority(LOW_RESOLUTION, NOW, 0) {}
25 20
26 } // namespace cc 21 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/test_tile_priorities.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698