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

Side by Side Diff: src/core/SkMatrixImageFilter.h

Issue 1128823010: Revert of antialias matrix-image-filter to get smooth diagonals (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 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 | « src/core/SkDeviceImageFilterProxy.h ('k') | src/core/SkMatrixImageFilter.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 2014 The Android Open Source Project 2 * Copyright 2014 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 SkMatrixImageFilter_DEFINED 8 #ifndef SkMatrixImageFilter_DEFINED
9 #define SkMatrixImageFilter_DEFINED 9 #define SkMatrixImageFilter_DEFINED
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 SkFilterQuality, 50 SkFilterQuality,
51 SkImageFilter* input); 51 SkImageFilter* input);
52 void flatten(SkWriteBuffer&) const override; 52 void flatten(SkWriteBuffer&) const override;
53 53
54 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, 54 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&,
55 SkBitmap* result, SkIPoint* loc) const override; 55 SkBitmap* result, SkIPoint* loc) const override;
56 virtual bool onFilterBounds(const SkIRect& src, const SkMatrix&, 56 virtual bool onFilterBounds(const SkIRect& src, const SkMatrix&,
57 SkIRect* dst) const override; 57 SkIRect* dst) const override;
58 58
59 private: 59 private:
60 bool onMayDrawWithMatrix() const override { return true; }
61
62 SkMatrix fTransform; 60 SkMatrix fTransform;
63 SkFilterQuality fFilterQuality; 61 SkFilterQuality fFilterQuality;
64 typedef SkImageFilter INHERITED; 62 typedef SkImageFilter INHERITED;
65 }; 63 };
66 64
67 #endif 65 #endif
OLDNEW
« no previous file with comments | « src/core/SkDeviceImageFilterProxy.h ('k') | src/core/SkMatrixImageFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698