cc: Added inline to Tile::IsReadyToDraw
[chromium-blink-merge.git] / cc / test / test_tile_priorities.cc
blobf83f9b9fee00adcd5a78f1acbc8b9635bffe926c
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.
5 #include "cc/test/test_tile_priorities.h"
7 namespace cc {
9 TilePriorityForSoonBin::TilePriorityForSoonBin()
10 : TilePriority(HIGH_RESOLUTION, 0.5, 300.0) {}
12 TilePriorityForEventualBin::TilePriorityForEventualBin()
13 : TilePriority(NON_IDEAL_RESOLUTION, 1.0, 315.0) {}
15 TilePriorityForNowBin::TilePriorityForNowBin()
16 : TilePriority(HIGH_RESOLUTION, 0, 0) {}
18 TilePriorityRequiredForActivation::TilePriorityRequiredForActivation()
19 : TilePriority(HIGH_RESOLUTION, 0, 0) {
20 required_for_activation = true;
23 } // namespace cc