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

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

Issue 1037793002: C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: git cl web Created 5 years, 9 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 explicit SkPictureImageFilter(const SkPicture* picture); 62 explicit SkPictureImageFilter(const SkPicture* picture);
63 SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect, 63 SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect,
64 PictureResolution, SkFilterQuality); 64 PictureResolution, SkFilterQuality);
65 virtual ~SkPictureImageFilter(); 65 virtual ~SkPictureImageFilter();
66 /* Constructs an SkPictureImageFilter object from an SkReadBuffer. 66 /* Constructs an SkPictureImageFilter object from an SkReadBuffer.
67 * Note: If the SkPictureImageFilter object construction requires bitmap 67 * Note: If the SkPictureImageFilter object construction requires bitmap
68 * decoding, the decoder must be set on the SkReadBuffer parameter by calli ng 68 * decoding, the decoder must be set on the SkReadBuffer parameter by calli ng
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 SK_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 SK_OVER RIDE; 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(Proxy*, SkBaseDevice*, const SkIRect& dev iceBounds,
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/effects/SkPerlinNoiseShader.h ('k') | include/effects/SkPixelXorXfermode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698