forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fake_tile_manager_client.cc
38 lines (28 loc) · 971 Bytes
/
fake_tile_manager_client.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cc/test/fake_tile_manager_client.h"
#include <vector>
namespace cc {
FakeTileManagerClient::FakeTileManagerClient() {
}
FakeTileManagerClient::~FakeTileManagerClient() {
}
std::unique_ptr<RasterTilePriorityQueue>
FakeTileManagerClient::BuildRasterQueue(TreePriority tree_priority,
RasterTilePriorityQueue::Type type) {
return nullptr;
}
std::unique_ptr<EvictionTilePriorityQueue>
FakeTileManagerClient::BuildEvictionQueue(TreePriority tree_priority) {
return nullptr;
}
gfx::ColorSpace FakeTileManagerClient::GetRasterColorSpace() const {
return gfx::ColorSpace();
}
size_t FakeTileManagerClient::GetFrameIndexForImage(
const PaintImage& paint_image,
WhichTree tree) const {
return paint_image.frame_index();
}
} // namespace cc