OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_PLAYBACK_DECODED_DRAW_IMAGE_H_ | 5 #ifndef CC_TILES_DECODED_DRAW_IMAGE_H_ |
6 #define CC_PLAYBACK_DECODED_DRAW_IMAGE_H_ | 6 #define CC_TILES_DECODED_DRAW_IMAGE_H_ |
7 | 7 |
8 #include <cfloat> | 8 #include <cfloat> |
9 #include <cmath> | 9 #include <cmath> |
10 | 10 |
11 #include "cc/base/cc_export.h" | 11 #include "cc/cc_export.h" |
12 #include "third_party/skia/include/core/SkFilterQuality.h" | 12 #include "third_party/skia/include/core/SkFilterQuality.h" |
13 #include "third_party/skia/include/core/SkImage.h" | 13 #include "third_party/skia/include/core/SkImage.h" |
14 #include "third_party/skia/include/core/SkRefCnt.h" | 14 #include "third_party/skia/include/core/SkRefCnt.h" |
15 #include "third_party/skia/include/core/SkSize.h" | 15 #include "third_party/skia/include/core/SkSize.h" |
16 | 16 |
17 namespace cc { | 17 namespace cc { |
18 | 18 |
19 class CC_EXPORT DecodedDrawImage { | 19 class CC_EXPORT DecodedDrawImage { |
20 public: | 20 public: |
21 DecodedDrawImage(sk_sp<const SkImage> image, | 21 DecodedDrawImage(sk_sp<const SkImage> image, |
(...skipping 21 matching lines...) Expand all Loading... |
43 private: | 43 private: |
44 sk_sp<const SkImage> image_; | 44 sk_sp<const SkImage> image_; |
45 const SkSize src_rect_offset_; | 45 const SkSize src_rect_offset_; |
46 const SkSize scale_adjustment_; | 46 const SkSize scale_adjustment_; |
47 const SkFilterQuality filter_quality_; | 47 const SkFilterQuality filter_quality_; |
48 bool at_raster_decode_; | 48 bool at_raster_decode_; |
49 }; | 49 }; |
50 | 50 |
51 } // namespace cc | 51 } // namespace cc |
52 | 52 |
53 #endif // CC_PLAYBACK_DECODED_DRAW_IMAGE_H_ | 53 #endif // CC_TILES_DECODED_DRAW_IMAGE_H_ |
OLD | NEW |