Florin Malita | 4aa4441 | 2017-12-19 12:21:02 -0500 | [diff] [blame^] | 1 | /* |
2 | * Copyright 2017 Google Inc. | ||||
3 | * | ||||
4 | * Use of this source code is governed by a BSD-style license that can be | ||||
5 | * found in the LICENSE file. | ||||
6 | */ | ||||
7 | |||||
8 | #include "SkSGInvalidationController.h" | ||||
9 | |||||
10 | #include "SkRect.h" | ||||
11 | |||||
12 | namespace sksg { | ||||
13 | |||||
14 | InvalidationController::InvalidationController() {} | ||||
15 | |||||
16 | void InvalidationController::inval(const SkRect& r) { | ||||
17 | fRects.push(r); | ||||
18 | } | ||||
19 | |||||
20 | } // namespace sksg |