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

Side by Side Diff: src/gpu/effects/GrTextureDomain.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/gpu/effects/GrPorterDuffXferProcessor.cpp ('k') | src/gpu/effects/GrTextureDomain.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 2012 Google Inc. 2 * Copyright 2012 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 GrTextureDomainEffect_DEFINED 8 #ifndef GrTextureDomainEffect_DEFINED
9 #define GrTextureDomainEffect_DEFINED 9 #define GrTextureDomainEffect_DEFINED
10 10
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 GrTextureDomain::Mode, 172 GrTextureDomain::Mode,
173 GrTextureParams::FilterMode filterM ode, 173 GrTextureParams::FilterMode filterM ode,
174 GrCoordSet = kLocal_GrCoordSet); 174 GrCoordSet = kLocal_GrCoordSet);
175 175
176 virtual ~GrTextureDomainEffect(); 176 virtual ~GrTextureDomainEffect();
177 177
178 const char* name() const override { return "TextureDomain"; } 178 const char* name() const override { return "TextureDomain"; }
179 179
180 SkString dumpInfo() const override { 180 SkString dumpInfo() const override {
181 SkString str; 181 SkString str;
182 str.appendf("Domain: [L: %.2f, T: %.2f, R: %.2f, B: %.2f] ", 182 str.appendf("Domain: [L: %.2f, T: %.2f, R: %.2f, B: %.2f] ",
183 fTextureDomain.domain().fLeft, fTextureDomain.domain().fTop, 183 fTextureDomain.domain().fLeft, fTextureDomain.domain().fTop,
184 fTextureDomain.domain().fRight, fTextureDomain.domain().fBot tom); 184 fTextureDomain.domain().fRight, fTextureDomain.domain().fBot tom);
185 str.append(INHERITED::dumpInfo()); 185 str.append(INHERITED::dumpInfo());
186 return str; 186 return str;
187 } 187 }
188 188
189 const GrTextureDomain& textureDomain() const { return fTextureDomain; } 189 const GrTextureDomain& textureDomain() const { return fTextureDomain; }
190 190
191 protected: 191 protected:
192 GrTextureDomain fTextureDomain; 192 GrTextureDomain fTextureDomain;
(...skipping 13 matching lines...) Expand all
206 bool onIsEqual(const GrFragmentProcessor&) const override; 206 bool onIsEqual(const GrFragmentProcessor&) const override;
207 207
208 void onComputeInvariantOutput(GrInvariantOutput* inout) const override; 208 void onComputeInvariantOutput(GrInvariantOutput* inout) const override;
209 209
210 GR_DECLARE_FRAGMENT_PROCESSOR_TEST; 210 GR_DECLARE_FRAGMENT_PROCESSOR_TEST;
211 211
212 typedef GrSingleTextureEffect INHERITED; 212 typedef GrSingleTextureEffect INHERITED;
213 }; 213 };
214 214
215 #endif 215 #endif
OLDNEW
« no previous file with comments | « src/gpu/effects/GrPorterDuffXferProcessor.cpp ('k') | src/gpu/effects/GrTextureDomain.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698