• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #include "cc/test/test_tile_priorities.h"
6 
7 namespace cc {
8 
TilePriorityForSoonBin()9 TilePriorityForSoonBin::TilePriorityForSoonBin()
10     : TilePriority(HIGH_RESOLUTION, 0.5, 300.0) {}
11 
TilePriorityForEventualBin()12 TilePriorityForEventualBin::TilePriorityForEventualBin()
13     : TilePriority(HIGH_RESOLUTION, 2.0, 315.0) {}
14 
TilePriorityForNowBin()15 TilePriorityForNowBin::TilePriorityForNowBin()
16     : TilePriority(HIGH_RESOLUTION, 0, 0) {}
17 
TilePriorityRequiredForActivation()18 TilePriorityRequiredForActivation::TilePriorityRequiredForActivation()
19     : TilePriority(HIGH_RESOLUTION, 0, 0) {
20   required_for_activation = true;
21 }
22 
23 }  // namespace cc
24