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

Side by Side Diff: src/gpu/GrPLSGeometryProcessor.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/GrOvalRenderer.cpp ('k') | src/gpu/GrPaint.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 2016 Google Inc. 2 * Copyright 2016 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 GrPLSGeometryProcessor_DEFINED 8 #ifndef GrPLSGeometryProcessor_DEFINED
9 #define GrPLSGeometryProcessor_DEFINED 9 #define GrPLSGeometryProcessor_DEFINED
10 10
11 #include "GrGeometryProcessor.h" 11 #include "GrGeometryProcessor.h"
12 12
13 /** 13 /**
14 * A minor extension to GrGeometryProcessor that adds bounds tracking for pixel local storage 14 * A minor extension to GrGeometryProcessor that adds bounds tracking for pixel local storage
15 * purposes. 15 * purposes.
16 */ 16 */
17 class GrPLSGeometryProcessor : public GrGeometryProcessor { 17 class GrPLSGeometryProcessor : public GrGeometryProcessor {
18 public: 18 public:
19 GrPixelLocalStorageState getPixelLocalStorageState() const override { 19 GrPixelLocalStorageState getPixelLocalStorageState() const override {
20 return GrPixelLocalStorageState::kDraw_GrPixelLocalStorageState; 20 return GrPixelLocalStorageState::kDraw_GrPixelLocalStorageState;
21 } 21 }
22 22
23 const SkRect& getBounds() const { 23 const SkRect& getBounds() const {
24 return fBounds; 24 return fBounds;
25 } 25 }
26 26
27 void setBounds(SkRect& bounds) { 27 void setBounds(SkRect& bounds) {
28 fBounds = bounds; 28 fBounds = bounds;
29 } 29 }
30 30
31 private: 31 private:
32 SkRect fBounds; 32 SkRect fBounds;
33 }; 33 };
34 34
35 #endif 35 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrOvalRenderer.cpp ('k') | src/gpu/GrPaint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698