1 // Copyright 2015 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_PIXEL_REF_UTILS_H_
6 #define SKIA_EXT_PIXEL_REF_UTILS_H_
10 #include "SkPicture.h"
15 class SK_API DiscardableImageUtils
{
17 struct PositionImage
{
21 SkFilterQuality filter_quality
;
24 static void GatherDiscardableImages(SkPicture
* picture
,
25 std::vector
<PositionImage
>* images
);
28 using PositionImage
= DiscardableImageUtils::PositionImage
;
29 using DiscardableImageList
= std::vector
<PositionImage
>;