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_
10 #include "SkPicture.h"
16 class SK_API LazyPixelRefUtils
{
19 struct PositionLazyPixelRef
{
20 skia::LazyPixelRef
* lazy_pixel_ref
;
21 SkRect pixel_ref_rect
;
24 static void GatherPixelRefs(
26 std::vector
<PositionLazyPixelRef
>* lazy_pixel_refs
);
29 typedef std::vector
<LazyPixelRefUtils::PositionLazyPixelRef
> LazyPixelRefList
;