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

Side by Side Diff: src/effects/GrCircleBlurFragmentProcessor.h

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/SkYUVPlanesCache.cpp ('k') | src/effects/GrCircleBlurFragmentProcessor.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 2015 Google Inc. 2 * Copyright 2015 Google Inc.
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 GrCircleBlurFragmentProcessor_DEFINED 8 #ifndef GrCircleBlurFragmentProcessor_DEFINED
9 #define GrCircleBlurFragmentProcessor_DEFINED 9 #define GrCircleBlurFragmentProcessor_DEFINED
10 10
11 #include "SkString.h" 11 #include "SkString.h"
12 #include "SkTypes.h" 12 #include "SkTypes.h"
13 13
14 #if SK_SUPPORT_GPU 14 #if SK_SUPPORT_GPU
15 15
16 #include "GrFragmentProcessor.h" 16 #include "GrFragmentProcessor.h"
17 #include "GrProcessorUnitTest.h" 17 #include "GrProcessorUnitTest.h"
18 18
19 class GrTextureProvider; 19 class GrTextureProvider;
20 20
21 // This FP handles the special case of a blurred circle. It uses a 1D 21 // This FP handles the special case of a blurred circle. It uses a 1D
22 // profile that is just rotated about the origin of the circle. 22 // profile that is just rotated about the origin of the circle.
23 class GrCircleBlurFragmentProcessor : public GrFragmentProcessor { 23 class GrCircleBlurFragmentProcessor : public GrFragmentProcessor {
24 public: 24 public:
25 ~GrCircleBlurFragmentProcessor() override {}; 25 ~GrCircleBlurFragmentProcessor() override {};
26 26
27 const char* name() const override { return "CircleBlur"; } 27 const char* name() const override { return "CircleBlur"; }
28 28
29 SkString dumpInfo() const override { 29 SkString dumpInfo() const override {
30 SkString str; 30 SkString str;
31 str.appendf("Rect [L: %.2f, T: %.2f, R: %.2f, B: %.2f], Sigma %.2f, Offs et: %.2f", 31 str.appendf("Rect [L: %.2f, T: %.2f, R: %.2f, B: %.2f], Sigma %.2f, Offs et: %.2f",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 float fOffset; 78 float fOffset;
79 GrTextureAccess fBlurProfileAccess; 79 GrTextureAccess fBlurProfileAccess;
80 80
81 GR_DECLARE_FRAGMENT_PROCESSOR_TEST; 81 GR_DECLARE_FRAGMENT_PROCESSOR_TEST;
82 82
83 typedef GrFragmentProcessor INHERITED; 83 typedef GrFragmentProcessor INHERITED;
84 }; 84 };
85 85
86 #endif 86 #endif
87 #endif 87 #endif
OLDNEW
« no previous file with comments | « src/core/SkYUVPlanesCache.cpp ('k') | src/effects/GrCircleBlurFragmentProcessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698