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

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

Issue 806653007: Fix up all the easy virtual ... SK_OVERRIDE cases. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 11 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/effects/SkPerlinNoiseShader.h ('k') | include/effects/SkPixelXorXfermode.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 /* 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 explicit SkPictureImageFilter(const SkPicture* picture, uint32_t uniqueID); 58 explicit SkPictureImageFilter(const SkPicture* picture, uint32_t uniqueID);
59 SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect, uint3 2_t uniqueID, 59 SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect, uint3 2_t uniqueID,
60 PictureResolution, SkPaint::FilterLevel); 60 PictureResolution, SkPaint::FilterLevel);
61 virtual ~SkPictureImageFilter(); 61 virtual ~SkPictureImageFilter();
62 /* Constructs an SkPictureImageFilter object from an SkReadBuffer. 62 /* Constructs an SkPictureImageFilter object from an SkReadBuffer.
63 * Note: If the SkPictureImageFilter object construction requires bitmap 63 * Note: If the SkPictureImageFilter object construction requires bitmap
64 * decoding, the decoder must be set on the SkReadBuffer parameter by calli ng 64 * decoding, the decoder must be set on the SkReadBuffer parameter by calli ng
65 * SkReadBuffer::setBitmapDecoder() before calling this constructor. 65 * SkReadBuffer::setBitmapDecoder() before calling this constructor.
66 * @param SkReadBuffer Serialized picture data. 66 * @param SkReadBuffer Serialized picture data.
67 */ 67 */
68 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; 68 void flatten(SkWriteBuffer&) const SK_OVERRIDE;
69 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, 69 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&,
70 SkBitmap* result, SkIPoint* offset) const SK_OVER RIDE; 70 SkBitmap* result, SkIPoint* offset) const SK_OVER RIDE;
71 71
72 private: 72 private:
73 73
74 74
75 void drawPictureAtDeviceResolution(Proxy*, SkBaseDevice*, const SkIRect& dev iceBounds, 75 void drawPictureAtDeviceResolution(Proxy*, SkBaseDevice*, const SkIRect& dev iceBounds,
76 const Context&) const; 76 const Context&) const;
77 void drawPictureAtLocalResolution(Proxy*, SkBaseDevice*, const SkIRect& devi ceBounds, 77 void drawPictureAtLocalResolution(Proxy*, SkBaseDevice*, const SkIRect& devi ceBounds,
78 const Context&) const; 78 const Context&) const;
79 79
80 const SkPicture* fPicture; 80 const SkPicture* fPicture;
81 SkRect fCropRect; 81 SkRect fCropRect;
82 PictureResolution fPictureResolution; 82 PictureResolution fPictureResolution;
83 SkPaint::FilterLevel fFilterLevel; 83 SkPaint::FilterLevel fFilterLevel;
84 typedef SkImageFilter INHERITED; 84 typedef SkImageFilter INHERITED;
85 }; 85 };
86 86
87 #endif 87 #endif
OLDNEW
« no previous file with comments | « include/effects/SkPerlinNoiseShader.h ('k') | include/effects/SkPixelXorXfermode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698