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

Side by Side Diff: include/effects/SkPictureImageFilter.h

Issue 1201983006: Clean up usage of SkSurfaceProps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 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 | « include/core/SkSurfaceProps.h ('k') | src/core/SkCanvas.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 The Android Open Source Project 2 * Copyright 2013 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPictureImageFilter_DEFINED 8 #ifndef SkPictureImageFilter_DEFINED
9 #define SkPictureImageFilter_DEFINED 9 #define SkPictureImageFilter_DEFINED
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 * SkReadBuffer::setBitmapDecoder() before calling this constructor. 69 * SkReadBuffer::setBitmapDecoder() before calling this constructor.
70 * @param SkReadBuffer Serialized picture data. 70 * @param SkReadBuffer Serialized picture data.
71 */ 71 */
72 void flatten(SkWriteBuffer&) const override; 72 void flatten(SkWriteBuffer&) const override;
73 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, 73 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&,
74 SkBitmap* result, SkIPoint* offset) const overrid e; 74 SkBitmap* result, SkIPoint* offset) const overrid e;
75 75
76 private: 76 private:
77 77
78 78
79 void drawPictureAtDeviceResolution(Proxy*, SkBaseDevice*, const SkIRect& dev iceBounds, 79 void drawPictureAtDeviceResolution(SkBaseDevice*, const SkIRect& deviceBound s,
80 const Context&) const; 80 const Context&) const;
81 void drawPictureAtLocalResolution(Proxy*, SkBaseDevice*, const SkIRect& devi ceBounds, 81 void drawPictureAtLocalResolution(Proxy*, SkBaseDevice*, const SkIRect& devi ceBounds,
82 const Context&) const; 82 const Context&) const;
83 83
84 const SkPicture* fPicture; 84 const SkPicture* fPicture;
85 SkRect fCropRect; 85 SkRect fCropRect;
86 PictureResolution fPictureResolution; 86 PictureResolution fPictureResolution;
87 SkFilterQuality fFilterQuality; 87 SkFilterQuality fFilterQuality;
88 typedef SkImageFilter INHERITED; 88 typedef SkImageFilter INHERITED;
89 }; 89 };
90 90
91 #endif 91 #endif
OLDNEW
« no previous file with comments | « include/core/SkSurfaceProps.h ('k') | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698