Roll leveldb from r73 to r75.
[chromium-blink-merge.git] / skia / ext / lazy_pixel_ref_utils.h
blob33fe039e1acb8e8baaca436f892f0d8377fd13d7
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.
5 #ifndef SKIA_EXT_LAZY_PIXEL_REF_UTILS_H_
6 #define SKIA_EXT_LAZY_PIXEL_REF_UTILS_H_
8 #include <vector>
10 #include "SkPicture.h"
11 #include "SkRect.h"
13 namespace skia {
15 class LazyPixelRef;
16 class SK_API LazyPixelRefUtils {
17 public:
19 struct PositionLazyPixelRef {
20 skia::LazyPixelRef* lazy_pixel_ref;
21 SkRect pixel_ref_rect;
24 static void GatherPixelRefs(
25 SkPicture* picture,
26 std::vector<PositionLazyPixelRef>* lazy_pixel_refs);
29 typedef std::vector<LazyPixelRefUtils::PositionLazyPixelRef> LazyPixelRefList;
31 } // namespace skia
33 #endif