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

Side by Side Diff: src/gpu/GrStencilAttachment.h

Issue 1217573002: remove SkInstCnt (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 5 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/GrPipeline.h ('k') | src/gpu/gl/GrGLCaps.h » ('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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef GrStencilAttachment_DEFINED 10 #ifndef GrStencilAttachment_DEFINED
11 #define GrStencilAttachment_DEFINED 11 #define GrStencilAttachment_DEFINED
12 12
13 #include "GrClip.h" 13 #include "GrClip.h"
14 #include "GrGpuResource.h" 14 #include "GrGpuResource.h"
15 15
16 class GrRenderTarget; 16 class GrRenderTarget;
17 class GrResourceKey; 17 class GrResourceKey;
18 18
19 class GrStencilAttachment : public GrGpuResource { 19 class GrStencilAttachment : public GrGpuResource {
20 public: 20 public:
21 SK_DECLARE_INST_COUNT(GrStencilAttachment); 21
22 22
23 virtual ~GrStencilAttachment() { 23 virtual ~GrStencilAttachment() {
24 // TODO: allow SB to be purged and detach itself from rts 24 // TODO: allow SB to be purged and detach itself from rts
25 } 25 }
26 26
27 int width() const { return fWidth; } 27 int width() const { return fWidth; }
28 int height() const { return fHeight; } 28 int height() const { return fHeight; }
29 int bits() const { return fBits; } 29 int bits() const { return fBits; }
30 int numSamples() const { return fSampleCnt; } 30 int numSamples() const { return fSampleCnt; }
31 31
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 int fSampleCnt; 72 int fSampleCnt;
73 73
74 int32_t fLastClipStackGenID; 74 int32_t fLastClipStackGenID;
75 SkIRect fLastClipStackRect; 75 SkIRect fLastClipStackRect;
76 SkIPoint fLastClipSpaceOffset; 76 SkIPoint fLastClipSpaceOffset;
77 77
78 typedef GrGpuResource INHERITED; 78 typedef GrGpuResource INHERITED;
79 }; 79 };
80 80
81 #endif 81 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrPipeline.h ('k') | src/gpu/gl/GrGLCaps.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698