| OLD | NEW |
| (Empty) |
| 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 #ifndef CC_TEST_IMPL_SIDE_PAINTING_SETTINGS_H_ | |
| 6 #define CC_TEST_IMPL_SIDE_PAINTING_SETTINGS_H_ | |
| 7 | |
| 8 #include "cc/trees/layer_tree_settings.h" | |
| 9 | |
| 10 namespace cc { | |
| 11 | |
| 12 class ImplSidePaintingSettings : public LayerTreeSettings { | |
| 13 public: | |
| 14 ImplSidePaintingSettings() { | |
| 15 impl_side_painting = true; | |
| 16 } | |
| 17 | |
| 18 explicit ImplSidePaintingSettings(int interest_rect_tiles) { | |
| 19 impl_side_painting = true; | |
| 20 max_tiles_for_interest_area = interest_rect_tiles; | |
| 21 } | |
| 22 }; | |
| 23 | |
| 24 } // namespace cc | |
| 25 | |
| 26 #endif // CC_TEST_IMPL_SIDE_PAINTING_SETTINGS_H_ | |
| OLD | NEW |