Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: cc/playback/position_image.h

Issue 1385733002: (not for review) nwayover (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/playback/display_list_raster_source.cc ('k') | cc/playback/raster_source.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_POSITION_IMAGE_H_ 5 #ifndef CC_PLAYBACK_POSITION_IMAGE_H_
6 #define CC_PLAYBACK_POSITION_IMAGE_H_ 6 #define CC_PLAYBACK_POSITION_IMAGE_H_
7 7
8 #include "third_party/skia/include/core/SkFilterQuality.h" 8 #include "third_party/skia/include/core/SkFilterQuality.h"
9 #include "third_party/skia/include/core/SkImage.h" 9 #include "third_party/skia/include/core/SkImage.h"
10 #include "third_party/skia/include/core/SkMatrix.h" 10 #include "third_party/skia/include/core/SkMatrix.h"
(...skipping 10 matching lines...) Expand all
21 image_rect(image_rect), 21 image_rect(image_rect),
22 matrix(matrix), 22 matrix(matrix),
23 filter_quality(filter_quality) {} 23 filter_quality(filter_quality) {}
24 24
25 const SkImage* image; 25 const SkImage* image;
26 SkRect image_rect; 26 SkRect image_rect;
27 SkMatrix matrix; 27 SkMatrix matrix;
28 SkFilterQuality filter_quality; 28 SkFilterQuality filter_quality;
29 }; 29 };
30 30
31 struct DecodedPositionImage {
32 DecodedPositionImage(const SkImage* image,
33 const SkSize& scale_adjustment,
34 SkFilterQuality filter_quality)
35 : image(image),
36 scale_adjustment(scale_adjustment),
37 filter_quality(filter_quality) {}
38
39 const SkImage* image;
40 SkSize scale_adjustment;
41 SkFilterQuality filter_quality;
42 };
43
31 } // namespace cc 44 } // namespace cc
32 45
33 #endif // CC_PLAYBACK_POSITION_IMAGE_H_ 46 #endif // CC_PLAYBACK_POSITION_IMAGE_H_
OLDNEW
« no previous file with comments | « cc/playback/display_list_raster_source.cc ('k') | cc/playback/raster_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698