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

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

Issue 343463004: Move occlusion info to TilePriority. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « cc/test/test_tile_priorities.h ('k') | no next file » | 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, false, SOON, 300.0) {
11 }
11 12
12 TilePriorityForEventualBin::TilePriorityForEventualBin() 13 TilePriorityForEventualBin::TilePriorityForEventualBin()
13 : TilePriority(HIGH_RESOLUTION, EVENTUALLY, 315.0) {} 14 : TilePriority(HIGH_RESOLUTION, false, EVENTUALLY, 315.0) {
15 }
14 16
15 TilePriorityForNowBin::TilePriorityForNowBin() 17 TilePriorityForUnoccludedNowBin::TilePriorityForUnoccludedNowBin()
16 : TilePriority(HIGH_RESOLUTION, NOW, 0) {} 18 : TilePriority(HIGH_RESOLUTION, false, NOW, 0) {
19 }
17 20
18 TilePriorityRequiredForActivation::TilePriorityRequiredForActivation() 21 TilePriorityUnoccludedRequiredForActivation::
19 : TilePriority(HIGH_RESOLUTION, NOW, 0) { 22 TilePriorityUnoccludedRequiredForActivation()
23 : TilePriority(HIGH_RESOLUTION, false, NOW, 0) {
20 required_for_activation = true; 24 required_for_activation = true;
21 } 25 }
22 26
23 TilePriorityLowRes::TilePriorityLowRes() 27 TilePriorityUnoccludedLowRes::TilePriorityUnoccludedLowRes()
24 : TilePriority(LOW_RESOLUTION, NOW, 0) {} 28 : TilePriority(LOW_RESOLUTION, false, NOW, 0) {
29 }
25 30
26 } // namespace cc 31 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/test_tile_priorities.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698