blob: 1ea7e7837d7789b83eb1d6b66fbdf97962e0ee43 (
plain)
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
|
// 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.
#ifndef CC_TEST_IMPL_SIDE_PAINTING_SETTINGS_H_
#define CC_TEST_IMPL_SIDE_PAINTING_SETTINGS_H_
#include "cc/trees/layer_tree_settings.h"
namespace cc {
class ImplSidePaintingSettings : public LayerTreeSettings {
public:
ImplSidePaintingSettings() {
impl_side_painting = true;
}
explicit ImplSidePaintingSettings(int interest_rect_tiles) {
impl_side_painting = true;
max_tiles_for_interest_area = interest_rect_tiles;
}
};
} // namespace cc
#endif // CC_TEST_IMPL_SIDE_PAINTING_SETTINGS_H_
|