| 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 SKIA_EXT_LAZY_PIXEL_REF_UTILS_H_ | |
| 6 #define SKIA_EXT_LAZY_PIXEL_REF_UTILS_H_ | |
| 7 | |
| 8 #include <vector> | |
| 9 | |
| 10 #include "SkPicture.h" | |
| 11 #include "SkRect.h" | |
| 12 | |
| 13 namespace skia { | |
| 14 | |
| 15 class LazyPixelRef; | |
| 16 class SK_API LazyPixelRefUtils { | |
| 17 public: | |
| 18 | |
| 19 struct PositionLazyPixelRef { | |
| 20 skia::LazyPixelRef* lazy_pixel_ref; | |
| 21 SkRect pixel_ref_rect; | |
| 22 }; | |
| 23 | |
| 24 static void GatherPixelRefs( | |
| 25 SkPicture* picture, | |
| 26 std::vector<PositionLazyPixelRef>* lazy_pixel_refs); | |
| 27 }; | |
| 28 | |
| 29 typedef std::vector<LazyPixelRefUtils::PositionLazyPixelRef> LazyPixelRefList; | |
| 30 | |
| 31 } // namespace skia | |
| 32 | |
| 33 #endif | |
| OLD | NEW |