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

Side by Side Diff: src/gpu/GrStencilAttachment.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/GrStencil.cpp ('k') | src/gpu/GrStencilAttachment.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
2 /* 1 /*
3 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
4 * 3 *
5 * 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
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
8 7
9 8
10 #ifndef GrStencilAttachment_DEFINED 9 #ifndef GrStencilAttachment_DEFINED
11 #define GrStencilAttachment_DEFINED 10 #define GrStencilAttachment_DEFINED
12 11
13 #include "GrClip.h" 12 #include "GrClip.h"
14 #include "GrGpuResource.h" 13 #include "GrGpuResource.h"
15 14
16 class GrRenderTarget; 15 class GrRenderTarget;
17 class GrResourceKey; 16 class GrResourceKey;
18 17
19 class GrStencilAttachment : public GrGpuResource { 18 class GrStencilAttachment : public GrGpuResource {
20 public: 19 public:
21 20
22 21
23 virtual ~GrStencilAttachment() { 22 virtual ~GrStencilAttachment() {
24 // TODO: allow SB to be purged and detach itself from rts 23 // TODO: allow SB to be purged and detach itself from rts
25 } 24 }
26 25
27 int width() const { return fWidth; } 26 int width() const { return fWidth; }
28 int height() const { return fHeight; } 27 int height() const { return fHeight; }
29 int bits() const { return fBits; } 28 int bits() const { return fBits; }
30 int numSamples() const { return fSampleCnt; } 29 int numSamples() const { return fSampleCnt; }
31 30
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 int fSampleCnt; 71 int fSampleCnt;
73 72
74 int32_t fLastClipStackGenID; 73 int32_t fLastClipStackGenID;
75 SkIRect fLastClipStackRect; 74 SkIRect fLastClipStackRect;
76 SkIPoint fLastClipSpaceOffset; 75 SkIPoint fLastClipSpaceOffset;
77 76
78 typedef GrGpuResource INHERITED; 77 typedef GrGpuResource INHERITED;
79 }; 78 };
80 79
81 #endif 80 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrStencil.cpp ('k') | src/gpu/GrStencilAttachment.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698